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
175
Loading WinGrid from a Select statement saved in a table.
posted

Please point me in the right Direction,

I want to know if it is possible to load a grid, with data resulting from a select statement saved in a SQL table. Do you guys have an example I can use? How can I pass parameters to the query?

Thanks

Parents
  • 469350
    Suggested Answer
    Offline posted

    The grid binds to an object on the client side like a DataSet or DataTable. It sounds like you are asking how to load your data from a DataBase into DotNet. the grid is not involved in that process - that's a general DotNet issue and it depends on your database and such.

    You should check out Microsoft documentation on the DataAdapter classes. That's what most people use to retrieve data from a database and put it into a DataSet, I think.

     

Reply Children