摘要:
private void Button1_Click(object sender, System.EventArgs e) { DataSet ds = new DataSet(); string filepath = Server.MapPath("test.xml"); ds.ReadXml(fil... 阅读全文
摘要:
//从数据库生成DataSet public DataSet CreateDataSet() { //创建到Sql server数据库的连接 SqlConnection conn = new SqlConnection("server=.;database=test;uid=sa;pwd=sa"); Sq... 阅读全文