跪求ASP.NET+SQL Server 源码

来源:百度知道 编辑:UC知道 时间:2024/06/28 09:57:40
一套或者多套都可以..要尽量简介精辟点的.
后台操作尽量别太复杂..
最好是把下载的地址给详细点...
在线等答复...可追加悬赏...

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

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

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

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

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);