BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Hello,my Problem is simple. I use a sfDatagrid that i bind to a BindingSource with an underlaying TableAdapter (ADO.NET to SqlServer; but only for selection!).I fill the Grid and add an additional 'Checkbox-Column' in code.Now i use an second select to look for the rows where i want to set the checkstate in Code.As far as i read, i should use a Statement like this:foreach (var record in sf_DataGrid.View.Records)
{
var Akt_Row = record.Data;
int iID = (int) ((System.Data.DataRowView)Akt_Row ).Row.ItemArray[0];
if (iID == ii)
{
((System.Data.DataRowView)Akt_Row ).Row.ItemArray[6] = 1; --Column with the Checkbox!
}
}The Statement is running with no error, but also with no result!What is my fault?Should i use an other Grid?Should i use an other DataSource since i only Need a simple int ID, string Name structure from the database with an additional Checkbox that i set in Code?ThanksPatric