Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
how to bound datatable to datasource in wingrid
posted

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

 

Parents
No Data
Reply
  • 4940
    Verified Answer
    Offline posted

    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();

    YourDataTableMethod would return to the DataTable that would get assigned to the DataSource property.

Children
No Data