随笔分类 - .NET技术
摘要:[代码]
阅读全文
摘要:[代码]实例:实现效果如下:using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using Sy...
阅读全文
摘要:.Net下动态报表生成实现 ,实现自定制报表样式,对复杂表格处理
阅读全文
摘要:rdlc报表动态生公共类
阅读全文
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1.gridview行绑定删除事件protectedvoidGridView1_RowDataBound(objectsender,GridViewRowEventArgse){inti;//执行循环,保证每条数据都可以更新for(i=0;i<GridView1.Rows.Count;i++){//首先判断是否是数据行if(e.Row.RowType==DataControlRow
阅读全文
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->获取GridView中RowCommand的当前索引行 前台添加一模版列,里面添加一个LinkButton 前台 (如果在后台代码中用e.CommandArgument取值的话前台代码就必须在按...
阅读全文
摘要:web.config配置数据库的两种方法
阅读全文
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; using System.Collections; using System.Configuration; using System.Data; using Syst...
阅读全文
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usingSystem;usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.HtmlControls;usingSystem.Web.UI.WebCo
阅读全文
摘要:TreeVeiw动态绑定制作菜单
阅读全文
摘要:code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; using System.Collections; using System.Configuration; using System.Data; using Syst...
阅读全文
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//xml写入publicpartialclassXML应用_XML写入:System.Web.UI.Page{protectedvoidPage_Load(objectsender,EventArgse){}protectedvoidbtnSubmit_Click(objectsender,System.EventArgse){DataSetds=newDataSet("my
阅读全文
摘要:用来检测或是处理字符,随机生成数字等的一个通用类文件:
阅读全文
摘要:HttpModule通过在某些事件中注册,把自己插入ASP.NET请求处理管道。当这些事件发生的时候,ASP.NET调用对相应的HTTP模块,这样该模块就能处理请求了。HttpHandler是HTTP请求的处理中心,真正地对客户端请求的服务器页面做出编译和执行,并将处理过后的信息附加在HTTP请求信息流中再次返回到HttpModule中。
阅读全文
摘要:public static readonly string pictureUrl = ConfigurationManager.AppSettings["WEBPICTURE"]; //网上报名照片存放址 public static readonly string StupictureUrl = ConfigurationManager.AppSe...
阅读全文
浙公网安备 33010602011771号