07 2016 档案
摘要:if (ds.Tables[0].Rows.Count != 0) { var list = GetJsonString(ds.Tables[0]); jsonStr = "{'jsonStr':'" + list + "','result':'1'}"; } public string GetJs
阅读全文
摘要:/// <summary> /// 服务器端产生客户端脚本的封装类 /// </summary> public class jsHint { public jsHint() { // // TODO: 在此处添加构造函数逻辑 // } /// <summary> /// 弹出提示信息 /// </s
阅读全文
摘要:一般处理程序代码: XmlDocument xmldoc = new XmlDocument(); xmldoc.AppendChild(xmldoc.CreateXmlDeclaration("1.0", "UTF-8", null)); XmlElement firstElement = xml
阅读全文
摘要:private void btnadd_Click(object sender, EventArgs e) { int fileCount = 0; foreach (Control c in this.flowLayoutPanel1.Controls) { i...
阅读全文
摘要:private void write_listview(DataSet ds) { DataTable dt = ds.Tables[0]; dataGridView1.DataSource = dt.DefaultView; for (int i = 0; i 0) ...
阅读全文