Home > Net >  Consult: retrieve data from the gridview
Consult: retrieve data from the gridview

Time:03-27

Of new inquired:
When using DEVexpress controls the Gridcontrol in development, need to retrieve data from the gridview, access to information found that the code is:
Entity class object name=the gridview. GetRow (1) the as entity class
Failure has been in the process of the transformation, should be the problem of entity class, where the inside of the entity class field should be like column names in the gridview or what format, as well as the column name or tried and database field, the transformation in the past, not always ask bosses

CodePudding user response:

MessageBox. Show (the gridview. GetRow (1) the GetType (), ToString ());
You print type
  •  Tags:  
  • C#
  • Related