从数据库中列出表单 [英] List in a form from database
问题描述
我正在使用sql server 2008和asp.net 3.5
I am using sql server 2008 and asp.net 3.5
我有一张类似于
I have a table like
名称 DOb
City 状态
电子邮件 传真
MOb Zip
描述
Name DOb City State Email Fax MOb Zip Description
我想将所有这些数据从数据库列表为asp表格
I want to list all this data from database to am asp form
使用存储过程向数据库输入数据
Using stored procedure to enter data to database
aPls给我asp.net和C#代码,用于列出从数据库到asp表单的项目,使用Gridview列出
aPls give me the asp.net and C# code to list the items from database to to asp form using Gridview to list
推荐答案
您可以参考:
http://msdn.microsoft.com/en-us/library/orm-9780596518455-02-04.aspx (保存和检索数据)。
You can refer : http://msdn.microsoft.com/en-us/library/orm-9780596518455-02-04.aspx (Saving and Retrieving Data).
我们有一个专门的asp.net http://forums.asp论坛。 net /
We have a specialized forum for asp.net http://forums.asp.net/
这篇关于从数据库中列出表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!