开发者

How to convert a recordset into a table in C#

开发者 https://www.devze.com 2023-02-04 06:23 出处:网络
I have a stored procedure which returns a recordset. How can I show that recordset data in a table on开发者_开发百科 a site on C#? A hint or a tutorial link would be appreciated.

I have a stored procedure which returns a recordset. How can I show that recordset data in a table on开发者_开发百科 a site on C#? A hint or a tutorial link would be appreciated.

Thank you.


There are many, many ways to do this, depending on your technology. Assuming you're using Visual Studio, the quickest (quick and dirty) might be to drag an ObjectDataSource or SqlDataSource onto the design surface and bind a component directly to it.

Here's a sample link: http://msdn.microsoft.com/en-us/library/aa479341.aspx

0

上一篇:

:下一篇

精彩评论

暂无评论...
验证码 换一张
取 消