Saturday, January 28, 2012

Get and Set values implicitly in web control in EP

DataSetViewRow  row;

row = AxDatasource.GetDataSet().DataSetViews["DataSetViewName"].GetCurrentRecord();

// Get old value
row.GetFieldValue("FieldName");

// Set new value
row.BeginEdit();
row.SetFieldValue("FieldName", NewValue);
row.EndEdit();

No comments:

Post a Comment

I will appreciate your comments !

How to enable new Microsoft teams - Public Preview!

New Microsoft Teams is just AWESOME, quick but useful post below shows how you have this preview feature to make your life EASY!  Open Micr...