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 !

Download large bacpac (sandbox database) to DEV environment much faster

As the LCS website gets slower and slower and the database backups get bigger and bigger.  Use AZCopy to download objects out of LCS asset l...