hi
in my project i am using wingrid in a method i am returning datatable . i want to bind that table to datasource how can i do ????
i want like i want to bind the the datasource to datatable if possible send code to bind datatable to datasource
Are you trying to ask how you bind the DataTable to the WinGrid? If this is what you're looking for you can easily do that by using the line of code below:
this.ultraGrid1.DataSource = YourDataTableMethod();
this
YourDataTableMethod would return to the DataTable that would get assigned to the DataSource property.
Hi Ravi,
I'm afraid I do not understand your question.
To bind the grid to a data source, you simply set the DataSource and possibly the DataMember property of the grid. To set both at once, you should use the SetDataBinding method.