2008年9月1日
摘要: C# 发送电子邮件(含附件)用到的类 system.web.mail 阅读全文
posted @ 2008-09-01 17:07 forever of Provence 阅读(10648) 评论(6) 推荐(0) 编辑
  2008年8月21日
摘要: http://www.cnblogs.com/Jinglecat/archive/2007/07/05/806460.html 方法一: step1: 设置你的GridView的DataKeyNames为re_id <asp:GridView ID= "GridView1 " runat= "server " DataKeyNames= "re_id " ... step2: 在Ro... 阅读全文
posted @ 2008-08-21 14:37 forever of Provence 阅读(961) 评论(0) 推荐(0) 编辑
摘要: gridview 选中行 /*功能:当选中某行时,获得应行上的“用户名称”和“工号”的两个字段的值*/ /*关键就是这里的实现喽*/ protected void GridView_user_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName == "ib_sel") { string name = e.CommandArgument.ToString(); Control cmdSource = e.CommandSource as Control; GridView gridv = sender as GridView; GridViewRow row = cmdSource.NamingContainer as GridViewRow; int rowIndex = row.Row 阅读全文
posted @ 2008-08-21 14:23 forever of Provence 阅读(2779) 评论(0) 推荐(0) 编辑
  2008年8月14日
摘要: "提取字符串中为数字的字符串"#region "提取字符串中为数字的字符串" /**//// /// 提取字符串中为数字的字符串 /// /// /// public string IsNum(String str) ...{ string ss=""; for (int i = 0; i < str.... 阅读全文
posted @ 2008-08-14 14:55 forever of Provence 阅读(3842) 评论(0) 推荐(0) 编辑
  2008年8月1日
摘要: 问题描述: http错误404-文件或目录未找到 问题原因: 我遇到的情况是,先按装了.NET,后装的IIS;不确定其他原因也会不会产生类似错误。(如果有,希望大家能贴出更多的原因,方便遇到同样错误的人找到问题的根源) 解决方法: 首先,要重新注册IIS : 开始--Microsoft Visual Studio 2005--Visual ... 阅读全文
posted @ 2008-08-01 17:13 forever of Provence 阅读(18189) 评论(2) 推荐(1) 编辑
  2008年6月6日
摘要: 怀揣美丽心情, 洋溢希望笑容, 醉倒博客园中, 愿普心灵净土, 感受.NET魅力。 阅读全文
posted @ 2008-06-06 22:11 forever of Provence 阅读(182) 评论(0) 推荐(0) 编辑