很久前写的一个简单邮件发送类分享给大家: 1 using System; 2 using
System.Data; 3 using System.Configuration; 4 using System.Web; 5 using
System.Web.Security; 6 using Syste...
分类:
Web程序 时间:
2014-05-15 14:35:44
阅读次数:
387
1. 在web.config文件中的<system.web>加入以下设置2.
添加一个页面,页面名称为Defalut.aspx在后台Defalut.aspx.cs页面写以下代码:protected void
Page_Load(object sender, EventArgs e){ AjaxPr....
分类:
Web程序 时间:
2014-05-15 12:04:12
阅读次数:
264
好好学习c#代码,学了怎么调用类using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace robot{
class Program { static...
分类:
其他好文 时间:
2014-05-15 10:45:07
阅读次数:
263
try catch finally 语句中
如果try中有返回语句,如果在fianlly代码块中有对这个值修改的话,并不影响其放回值public class Test { public static
void main(String[] string){ System.out.p...
分类:
其他好文 时间:
2014-05-15 10:38:40
阅读次数:
209
public class Test { public static void
main(String[] string){ int i = Integer.MAX_VALUE; System.out.println(i); ...
分类:
其他好文 时间:
2014-05-15 10:13:33
阅读次数:
224
public class Test{ public static void
main(String args[]){ int i[]= new int[1]; System.out.println(i.equals(0));
}}//false...
分类:
其他好文 时间:
2014-05-15 10:03:08
阅读次数:
216
public class Test { public static void
main(String[] string){ int[] i = new int[10];
System.out.println(i.equals(null)); }...
分类:
其他好文 时间:
2014-05-15 09:54:00
阅读次数:
250
String s="32"; int i=Integer.parseInt(s);
System.out.println(i);这样没有问题 String s="3g"; int i=Integer.parseInt(s); Sy...
分类:
其他好文 时间:
2014-05-15 09:23:50
阅读次数:
234
using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace MegreSort{ class Program { static void
Main(s...
分类:
其他好文 时间:
2014-05-15 09:21:59
阅读次数:
171
做乙方的,免不了一个月去客户那里巡检一次。无非就是翻翻日志,排排错啥的。直接说场景需求吧:每月一次翻日志(三十天内),范围是application和system(也许更多),事件类型只看Error和Warning。多日志名环境,使用WMIobject来干,-filter后面接的语句是WQL标准,运算符按..
分类:
其他好文 时间:
2014-05-15 08:52:42
阅读次数:
1243