refreshing a databound grid

What is the proper way to get the databoundgrid to reread a datatable after the datatable is re-refrenced to an indentical structured datatable with different metadata.

For instance ...

Datatable = datatable1
Me.GridDataBoundGrid1.DataSource = datatable
Datatable=Datatable2



3 Replies

HA haneefm Syncfusion Team May 2, 2007 09:16 PM UTC

Hi Marc,

Here is a KB article that shows you "How do I efficiently directly modify the underlying DataSource when it is bound to the DataBoundGrid?".
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=99

Best regards,
Haneef


MA Marc May 3, 2007 12:01 AM UTC

The knowledge base mentions grid.BeginUpdate but beginupdate is not a member of griddataboundgrid.



HA haneefm Syncfusion Team May 3, 2007 03:20 PM UTC

Hi Marc,

Please try the attached sample and let me know if this helps.
GDBG_Changetables.zip

Also refer to the below forum thread for more details.
http://www.syncfusion.com/support/forums/message.aspx?&MessageID=40341

Best regards,
Haneef.

Loader.
Up arrow icon