随笔分类 -  .net 2.0

GridView导出Excel研究
摘要:GridView导出Excel 阅读全文
posted @ 2006-08-24 20:27 stswordman 阅读(59354) 评论(46) 推荐(11) 编辑
ASP.NET 2.0 - Enter Key - Default Submit Button
摘要:网页开发中最烦人的事情之一就是为表单处理"Enter key" ,"Enter key"已经成为用户提交表单的偏好。虽然我们为用户提供了提交按钮,但是最简单也是最直接的方式仍然是:输入文字,然后回车完成提交ASP.NET 2.0中为此提供了很好的解决方法。只需要将"defaultbutton"属性指定到想要引发事件的按钮控件的ID上就可以了。在表单级别和面板级别( 标记)均可以指定"de... 阅读全文
posted @ 2006-08-23 00:16 stswordman 阅读(6793) 评论(3) 推荐(1) 编辑
如何使用户控件应用主题
摘要:如何使用户控件,服务器控件应用主题 阅读全文
posted @ 2006-08-18 08:52 stswordman 阅读(2992) 评论(3) 推荐(0) 编辑
Highlighting Rows with TextBox OnFocus
摘要:Highlighting Rows with TextBox OnFocus 阅读全文
posted @ 2006-08-04 08:43 stswordman 阅读(493) 评论(0) 推荐(0) 编辑
Change GridView RowColor OnMouseClick
摘要:Change GridView RowColor OnMouseClick 阅读全文
posted @ 2006-08-04 08:32 stswordman 阅读(584) 评论(0) 推荐(0) 编辑
Changing GridView Row Color OnMouseOver
摘要: 文章介绍了鼠标在GridView控件的行间移动时改变行间颜色的技术 阅读全文
posted @ 2006-08-04 00:06 stswordman 阅读(741) 评论(2) 推荐(0) 编辑
使用DataTable.ReadXml时抛出异常
摘要:代码如下private DataSet GetDataSet(){//////}DataSet ds=GetDataSet();ds.WriteXml("1.xml");DataTable dt=new DataTable();dt.ReadXml("1.xml");代码在执行到dt.ReadXml("1.xml");时抛出了异常:DataTable does not support schema... 阅读全文
posted @ 2006-08-01 23:22 stswordman 阅读(4013) 评论(3) 推荐(0) 编辑
创建自定义配置结
摘要:介绍了在ASP.NET 2.0中如何创建自定义的配置结 阅读全文
posted @ 2006-07-20 21:06 stswordman 阅读(558) 评论(0) 推荐(0) 编辑
GridView 隐藏列问题
摘要:文章主要讲述了ASP.NET2.0中GridView控件的隐藏列的问题 阅读全文
posted @ 2006-07-12 17:53 stswordman 阅读(6733) 评论(10) 推荐(0) 编辑
httpRuntime 元素(ASP.NET 设置架构)
摘要:http://msdn2.microsoft.com/zh-CN/library/e1f13641.aspx 配置 ASP.NET HTTP 运行时设置,以确定如何处理对 ASP.NET 应用程序的请求 属性和元素 以下几节描述了属性、子元素和父元素。 属性 属性 ... 阅读全文
posted @ 2006-07-10 22:09 stswordman 阅读(4264) 评论(0) 推荐(0) 编辑
Always set the "applicationName" property when configuring ASP.NET 2.0 Membership and other Providers
摘要:Always set the "applicationName" property when configuring ASP.NET 2.0 Membership and other Providers 转载 I helped out a few folks last night on the ASP.NET Forums with this problem, so I thought it mi... 阅读全文
posted @ 2006-05-09 12:35 stswordman 阅读(477) 评论(0) 推荐(0) 编辑
DetailsView的OnItemInserted的一些问题
摘要:当我执行insert操作后对OnItemInserted事件设置了断点 protected void DetailsView1_ItemInserted(object sender, DetailsViewInsertedEventArgs e) { //e.AffectedRows Response.Write("A:"+e.Affect... 阅读全文
posted @ 2006-05-09 12:16 stswordman 阅读(446) 评论(0) 推荐(0) 编辑