By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,563 Members | 1,023 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,563 IT Pros & Developers. It's quick & easy.

executing stored procedure and viewing in datagrid

P: 4
hi!!
i want to view a set of record in datagrid.i am using store procedure
i am able to execute the stored procedure . the only problem is getting those records/data on a datagrid
need help.
Sep 29 '06 #1
Share this Question
Share on Google+
1 Reply


P: 14
hi!!
i want to view a set of record in datagrid.i am using store procedure
i am able to execute the stored procedure . the only problem is getting those records/data on a datagrid
need help.

Hi..

I have assumed that you can get the data in dataset named 'oDS' from the stored procedure.

Now you have to code as below:

dgDataGrid.DataSource = oDS;
dgDataGrid.DataBind();

That's all.

-Ankit
Sep 29 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.