摘要: 安装:C:cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727D:cd E:\VictualerService\VictualerService\bin\Debug 注释:路径C:InstallUtil VictualerService.exe //应用程序名称net start VictualerService卸载:net stop VictualerServiceC:cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727D:cd E:\VictualerService\VictualerService\b 阅读全文
posted @ 2012-02-02 15:51 tongle 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 手机:^0{0,1}1[3|4|5|6|7|8|9][0-9]{9}$固定电话:^((0\d{2,3})-)(\d{7,8})(-(\d{3,}))?$邮箱:^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$邮编:^[0-9]{6}$正整数:^\+?[1-9][0-9]*$日期:^((\d{2}(([02468][048])|([13579][26]))[\-\/\s]?((((0?[13578])|(1[02]))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(3[01])))|( 阅读全文
posted @ 2012-02-02 15:33 tongle 阅读(150) 评论(0) 推荐(0) 编辑
摘要: string strUserName = ""//邮箱用户名 string strPassword = ""//邮箱密码 string strSmtpServer = ""//邮箱服务器 string strFrom = ""//发送人邮箱地址 string ccEmail = ""//抄送邮箱地址 SmtpClient mail = new SmtpClient(); //发送方式 mail.DeliveryMethod = SmtpDeliveryMethod.Network; //smtp 阅读全文
posted @ 2012-02-02 15:26 tongle 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 快速预览:GridView无代码分页排序GridView选中,编辑,取消,删除GridView正反双向排序GridView和下拉菜单DropDownList结合GridView和CheckBox结合鼠标移到GridView某一行时改变该行的背景色方法一鼠标移到GridView某一行时改变该行的背景色方法二GridView实现删除时弹出确认对话框GridView实现自动编号GridView实现自定义时间货币等字符串格式GridView实现用“...”代替超长字符串GridView一般换行与强制换行GridView显示隐藏某一列GridView弹出新页面/弹出新窗口GridView固定表头(不用j 阅读全文
posted @ 2012-02-02 15:01 tongle 阅读(483) 评论(0) 推荐(0) 编辑
摘要: RGB值RGB值RGB值黑色0 00#000000黄色2552550#FFFF00浅灰蓝色176224230#B0E0E6象牙黑413633#292421香蕉色22720787#E3CF57品蓝65105225#4169E1灰色192192192#C0C0C0镉黄25515318#FF9912石板蓝10690205#6A5ACD冷灰128138135#808A87dougello23514285#EB8E55天蓝135206235#87CEEB石板灰112128105#708069forum gold255227132#FFE384暖灰色128128105#808069金黄色2552150#F 阅读全文
posted @ 2012-02-02 14:55 tongle 阅读(130027) 评论(1) 推荐(5) 编辑
摘要: js 触发事件大全事件浏览器支持解说一般事件onclickIE3、N2鼠标点击时触发此事件ondblclickIE4、N4鼠标双击时触发此事件onmousedownIE4、N4按下鼠标时触发此事件onmouseupIE4、N4鼠标按下后松开鼠标时触发此事件onmouseoverIE3、N2当鼠标移动到某对象范围的上方时触发此事件onmousemoveIE4、N4鼠标移动时触发此事件onmouseoutIE4、N3当鼠标离开某对象范围时触发此事件onkeypressIE4、N4当键盘上的某个键被按下并且释放时触发此事件.onkeydownIE4、N4当键盘上某个按键被按下时触发此事件onkeyu 阅读全文
posted @ 2012-02-02 14:53 tongle 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 提交的方法:public void getRequestToken() { OAuthBase oAuth = new OAuthBase();//需要引用DLL string apiKey = "";//申请的App Key string apiKeySecret = "";//申请的App Secret string appReturnUrl = "";//返回的url string requestTokenUri = "http://api.t.sina.com.cn/oauth/request_token" 阅读全文
posted @ 2012-02-01 17:34 tongle 阅读(2957) 评论(3) 推荐(1) 编辑
摘要: <asp:GridView ID="gvProduct" runat="server" Width="780px" AutoGenerateColumns="false" > <Columns> <asp:TemplateField HeaderText="商品名称"> <ItemTemplate> <%# Eval("ProductName")%> </ItemTemplate> </asp:Te 阅读全文
posted @ 2012-02-01 17:09 tongle 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 下载地址:DataGridView单元格合并和二维表头.rar 阅读全文
posted @ 2012-02-01 17:01 tongle 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 下载地址:Gridview实例.rar 阅读全文
posted @ 2012-02-01 16:57 tongle 阅读(190) 评论(0) 推荐(0) 编辑