0

This is the below solution using i am binding datasource. but tblData1 may change at runtime. Fields in tblData1 can be increase or decrease at run time so how can i refresh the gridview with new structure of the class.

 XPInstantFeedbackSource instantDS = new XPInstantFeedbackSource(typeof(tblData1));
 instantDS.ResolveSession += instantDS_ResolveSession;
 instantDS.DismissSession += instantDS_DismissSession;
 gridView1.GridControl.DataSource = instantDS;
Marko Juvančič
  • 5,792
  • 1
  • 25
  • 41
cpVariyani
  • 159
  • 1
  • 2
  • 12

1 Answers1

0

Use

gridView1.GridControl.RefreshDataSource();
Marko Juvančič
  • 5,792
  • 1
  • 25
  • 41