LLBLGenProDataSource2 and Stored Procedures

Posts   
 
    
ianvink
User
Posts: 394
Joined: 15-Dec-2006
# Posted on: 21-Feb-2008 19:16:54   

Using Adapter/C#/ .NET 3.5/VS 2008

I have a stored procedure which returns a table of values based on parameters.

I would like to use the LLBLGenProDataSource2 as the datasource to a data grid.

How can I get the data from a stored procedure call into something that the LLBLGenProDataSource2 can use so that the Datagrid can show the data.

No updates of course. Just simple displays of the result.

Ian

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 22-Feb-2008 10:08:47   

You don't need the LLBLGenProDataSource if there is no updates. Just bind the grid to the dataTable.