01 2010 档案
摘要:新建用户控件pageno.ascx[代码]后台pageno.ascx.cs [代码]BLL层PageList.cs[代码]DAL层PageList.cs[代码]Default.aspx[代码]Default.aspx.cs代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighl...
阅读全文
摘要:/// <summary> /// 用户登录即为每个用户创建文件夹,userid从session获取,即登录用户ID /// </summary> protected void CreateFlord() { path = "../../uploads/Picture/" + userid; imgpath = Server.MapPath(path).ToString()...
阅读全文
摘要:Response.Write("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>");//解决弹出提示框后字体变大的BUGResponse.Write("<script>alert(...
阅读全文
摘要:<asp:TextBox ID="txtIntegralPay" runat="server" CssClass="inputtext" onkeypress="return event.keyCode>=48&&event.keyCode<=57||event.keyCode==46" onpaste="return !clipboardData.getData...
阅读全文
摘要:有时候在编辑页面用户做修改后,可能会有刷新、关闭等误操作造成当前页面信息的丢失,何不先提醒一下用户呢?代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<%@PageLanguage="C#"AutoEventWireup="true"Code...
阅读全文