摘要: if (FileUp.PostedFile.ContentType == "image/pjpeg" || FileUp.PostedFile.ContentType == "image/gif" || FileUp.PostedFile.ContentType == "image/bmp") //设置上传文件类型加上FileUp.PostedFile.ContentType=="applicat... 阅读全文
posted @ 2010-05-25 09:00 Кёνīи 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 一、 弹出窗口的基本属性设置<SCRIPT LANGUAGE="javascript"> <!-- window.open ('page.html', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no,... 阅读全文
posted @ 2010-05-25 08:57 Кёνīи 阅读(913) 评论(0) 推荐(0) 编辑
摘要: 1 DataSet.Table[0].Rows[ i ][ j ]其中i 代表第 i 行数, j代表第 j 列数2 DataSet.Table[0].Rows[ i ].ItemArray[ j ] 其中i 代表第 i 行数, j代表第 j 列数3 DataSet.Tables[0].Columns.Count 取得表的总列数4 DataSet.Tables[0].Rows.Count 取得表的总... 阅读全文
posted @ 2010-05-25 08:54 Кёνīи 阅读(3462) 评论(0) 推荐(0) 编辑
摘要: 检测时间([0-1]?[0-9]|2[0-3]):([0-5][0-9])以下是备忘:1.检查日期:(1[0-2]|0?[1-9])[-./](0?[1-9]|[12][0-9]|3[01])[-./](dddd))2.检查数字:([-+]?[0-9]+.?[0-9]+)3.检查URL:((http|ftp)://)?(((([d]+.)+){3}[d]+(/[w./]+)?)|([a-z]w*(... 阅读全文
posted @ 2010-05-25 08:51 Кёνīи 阅读(4964) 评论(1) 推荐(2) 编辑
摘要: asp.net 对xml文件的读写,添加,修改,删除操作 下面有代码调试正确 using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; us... 阅读全文
posted @ 2010-05-25 08:39 Кёνīи 阅读(598) 评论(0) 推荐(0) 编辑
摘要: 快速预览:GridView无代码分页排序GridView选中,编辑,取消,删除GridView正反双向排序GridView和下拉菜单DropDownList结合GridView和CheckBox结合鼠标移到GridView某一行时改变该行的背景色方法一鼠标移到GridView某一行时改变该行的背景色方法二GridView实现删除时弹出确认对话框GridView实现自动编号GridView实现自定义... 阅读全文
posted @ 2010-05-25 08:35 Кёνīи 阅读(109) 评论(0) 推荐(0) 编辑