摘要:
if (!IsPostBack) { CommFun.IsAdmin(); } commfun.cs中 public static void IsAdmin() { //查看是否为超级管理员 if (HttpContext.Cu... 阅读全文
摘要:
string strqry = ""; strqry = "select * From bigclassname "; DBFun.FillDwList(DropDownList1, "Select * from bigclassname"); DropDownList1.Items.Add(new... 阅读全文
摘要:
//编辑 protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e) { this.GridView1.EditIndex = e.NewEditIndex; dataBind(); } //取消 protected void G... 阅读全文