跪求ASP.NET+SQL Server 源码

2025-05-17 20:33:14
推荐回答(4个)
回答(1):

网上多的是啊,
http://www.mycodes.net/sort/175_1.htm

在这个站上有ASP的 PHP的 JSP的 CGI的 .net的,总之什么样的都有,可是下载的。

回答(2):

动软代码生成器可以直接生成这样的代码的

回答(3):

www.51aspx.net
上面全是asp.net+sqlserver c#相关的源代码!

回答(4):

string ss = "server=localhost;uid=sa;password=cyb8621;database=web";
SqlConnection conn = new SqlConnection(ss);
string mySelectQuery = "select photo_path,content from photo order by insert_time desc";
SqlCommand myCommand = new SqlCommand(mySelectQuery, conn);
conn.Open();
SqlDataAdapter Adapter = new SqlDataAdapter();
Adapter.SelectCommand = myCommand;
DataSet myDs = new DataSet();
Adapter.Fill(myDs);