03 2012 档案

摘要:if exists (select * from sysobjects where id = OBJECT_ID('[Admin_Menu]') and OBJECTPROPERTY(id, 'IsUserTable') = 1) DROP TABLE [Admin_Menu] CREATE TAB... 阅读全文
posted @ 2012-03-28 20:49 panpeng 阅读(1143) 评论(0) 推荐(0)
摘要:LBCRM.BLL.Client bll = new LBCRM.BLL.Client(); LBCRM.Model.Client model = new LBCRM.Model.Client(); model.Client_Name = txtCustomerName.Text.Trim(); model.Client_Addr = txtCustomerAddress.Text.Trim(); model.Client_Phone = txtCustomerPhone.Text.Trim(); model.Client_Fax = txtCustomerFax.Text.Trim(); . 阅读全文
posted @ 2012-03-28 20:41 panpeng 阅读(163) 评论(0) 推荐(0)
摘要:Response.Write("<script>alert('评论信息不能为空');</script>");public partial class _Default : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { if (TextBox1.Text == "admin" && 阅读全文
posted @ 2012-03-28 20:36 panpeng 阅读(171) 评论(0) 推荐(0)
摘要:INSERT INTO dbo.ParameterItem ([UpdateId] ,[ItemID],[ParameterId],[ItemDesc],[ItemNo],[ItemValue],[CreateDate],[UpdateDate]) VALUES ('3','22222222-2222-2222-2222-222222222225','22222222-2222-2222-2222-222222222229','1','1','快速食品',getdate(),getdate()) 阅读全文
posted @ 2012-03-28 13:48 panpeng 阅读(377) 评论(0) 推荐(0)
摘要:"INSERT INTO [td_Account] ([AccountName],[Password],[AccountType],[RegisteredDate],[LastLoginDate],[IsBlocked],[ChattingBlocked],[MGameEventType],[Con... 阅读全文
posted @ 2012-03-28 07:35 panpeng 阅读(205) 评论(0) 推荐(0)
摘要:Page.ClientScript.RegisterStartupScript(typeof(Page), "", "alert('删除成功!');", true); 阅读全文
posted @ 2012-03-23 17:02 panpeng 阅读(145) 评论(0) 推荐(0)
摘要:今天做开发一个需求,最近3天的新闻后面加一个NEW图标,经过研究完成. 代码如下:DateTime dttt = DateTime.Now; //string dttt12 = dttt.ToString("yyyy-MM-dd"); if ((DateDiff(Convert.ToDateTime(timeFormat.ToString()), dttt).Days) <= 3) style1 = style1.Replace("$newimg", "<img src=images/gif-0246.gif />" 阅读全文
posted @ 2012-03-01 10:39 panpeng 阅读(255) 评论(0) 推荐(0)