摘要:
如果你是根据参数来插入数据的话可以用此方法 protected void Page_PreInit(object sender, EventArgs e) { if (Request.QueryString["id"] != null) { SqlCommand cmd = new SqlCommand("insert i... 阅读全文
摘要:
GetEmu(CustomerKind.Normal); public enum CustomerKind { Normal = 90, Vip = 80, SuperVip = 70, InActive = 100 } //一种是用来判断 public void GetEmu(CustomerKind c) { ... 阅读全文
摘要:
AspShowMsg.InnerHtml = ShowMsgDiv("hello world"); public static string ShowMsgDiv(string str) { StringBuilder Msg = new StringBuilder(); Msg.Append(""); ... 阅读全文