Vigo Vigo

Vigo Vigo

  • NA
  • 3
  • 1.4k

Devexpress - How to save only the checked records? C#

Jan 25 2014 1:07 AM
Hi community. i have a problem...

I have a table called "Details", this table has a column called "invoice", this column is of data type "bit"
The records in this table are displayed in a gridview. I have a button called "btnSaveAll" obviously this button saves all changes in the records of this table, the problem occurs in certain occasions you need not save all, only some records, for this reason I have that column called "invoice".
How I can save only records with column "invoice" in checked?.
I mention the user decide the record that want to save
I am working with dataset and TableAdapters.
Please, helps, THANKS
Button Save ALL
private void btnSaveAll_Click(object sender, EventArgs e)
{
DetailsTableAdapter.Adapter.Update(DSDataSet.Details);
}
somebody help me please... THANKS