摘要: 如果你是根据参数来插入数据的话可以用此方法 protected void Page_PreInit(object sender, EventArgs e) { if (Request.QueryString["id"] != null) { SqlCommand cmd = new SqlCommand("insert i... 阅读全文
posted @ 2008-06-13 17:03 思然 阅读(266) 评论(0) 推荐(0) 编辑
摘要: GetEmu(CustomerKind.Normal); public enum CustomerKind { Normal = 90, Vip = 80, SuperVip = 70, InActive = 100 } //一种是用来判断 public void GetEmu(CustomerKind c) { ... 阅读全文
posted @ 2008-06-13 13:55 思然 阅读(176) 评论(0) 推荐(0) 编辑
摘要: AspShowMsg.InnerHtml = ShowMsgDiv("hello world"); public static string ShowMsgDiv(string str) { StringBuilder Msg = new StringBuilder(); Msg.Append(""); ... 阅读全文
posted @ 2008-06-13 11:46 思然 阅读(509) 评论(0) 推荐(0) 编辑