摘要:
string citysql = "select * from soncity;select * from partytype"; ds= DbHelperSQL.Query(citysql); s1.DataSource = ds.Tables[0].DefaultView; s1.DataTextField = "sonname"; s1.DataBind(); s2.DataSource =... 阅读全文
摘要:
(1) string SQL_Select = "select id, ItemName from DDLItem order by id desc"; //构造一个SqlDataAdapter SqlDataAdapter myAdapter = new SqlDataAdapter( SQL_Select, Conn); //开始读取数据 Conn.Open(); DataSet dataSe... 阅读全文