会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ASP.NET(C#)
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
上一页
1
···
13
14
15
16
17
18
19
下一页
2005年3月3日
GDI+的例子
摘要: tuxiang
阅读全文
posted @ 2005-03-03 16:24 battlerstar
阅读(448)
评论(0)
推荐(0)
编辑
读写XML文件
摘要: c:\xmlPerson.xml 文件 zhanshan Doctor cs: XmlDocument doc = new XmlDocument(); doc.Load("c:\\xmlPerson.xml"); MessageBox.Show(doc.DocumentElement.Name); Messag...
阅读全文
posted @ 2005-03-03 16:10 battlerstar
阅读(1470)
评论(1)
推荐(0)
编辑
使用正则表达式Regex,对验证数据的输入
摘要: 验证数据输入 Regex rx = new Regex(@"^\d{5}-\d{4}$"); string zip = "90210-1234"; Match m = rx.Match(zip); if (m.Success) { MessageBox.Show("Numerically, " + zip + l " is a valid zip code."); }
阅读全文
posted @ 2005-03-03 15:27 battlerstar
阅读(478)
评论(0)
推荐(0)
编辑
计算未来的某一天的间隔
摘要: 举例:计算未来的某一天 DateTime dt = DateTime.Now.Date; DateTime dtChristmas = new DateTime(dt.Year, 12, 25); TimeSpan daysTillChristmas = dtChristmas.Subtract(dt); lMessageBox.Show("There are " + d...
阅读全文
posted @ 2005-03-03 15:23 battlerstar
阅读(411)
评论(0)
推荐(0)
编辑
2005年3月2日
更新应用程序块
摘要: http://www.cnblogs.com/tonyqus/archive/2005/02.html 技术网站:http://blog.blueidea.com/category/dotnet/
阅读全文
posted @ 2005-03-02 16:21 battlerstar
阅读(368)
评论(0)
推荐(0)
编辑
面试题目
摘要: 1.net 里面的三层结构. 数据访问层,业务层,表示层(可能叫法上有些不同) 2.NET内值对象. .NET的公共类型系统CTS可以分为两大类,引用类型和值类型,引用类型分配在堆中,值类型分配在栈中; 对于值类型的变量或常量我们一般不称之为对象,题目竟然将其称做值对象,可见出题的人本身就概念不清;设计上,对象的概念是伴随类而出现的,类的实例我们才称之为对象 3.一个页面调用另一...
阅读全文
posted @ 2005-03-02 13:11 battlerstar
阅读(1107)
评论(0)
推荐(0)
编辑
2005年2月28日
asp.net 中显示各类文件
摘要: 在pageload事件下 Response.ContenType = "Application/pdf"; string FilePath = MapPath("acrobat.paf"); Response.WriteFile(FilePath); Response.End(); 如果为其他文件类型 ContenType = Text/html ...
阅读全文
posted @ 2005-02-28 09:16 battlerstar
阅读(443)
评论(0)
推荐(0)
编辑
2005年2月23日
使用ASP.NET(C#)查询和显示 Excel 数据
摘要: 创建示例 Excel 工作表 1. 启动 Microsoft Excel,然后创建一个新的工作表。 2. 将以下信息添加到新工作表中以创建一个简单的 Excel 数据库: ...
阅读全文
posted @ 2005-02-23 09:00 battlerstar
阅读(1409)
评论(0)
推荐(0)
编辑
2005年1月29日
DataGrid集锦
摘要: 关于datagrid的打印 http://www.chinaaspx.com/article/csharp/295.htm C#中为DataGrid添加下拉列表框 http://www.cnblogs.com/icesnaker/archive/2004/09/21/45015.aspx DataGrid也玩分页 http://dev.csdn.net/article/32/...
阅读全文
posted @ 2005-01-29 13:01 battlerstar
阅读(2536)
评论(0)
推荐(0)
编辑
2005年1月27日
计数器
摘要: // 在此处放置用户代码以初始化页面 //计数器初始化为0 int iCount=0; //存放计数器的文件 string strPath=Server.MapPath("count.txt"); //准备打开文件 StreamReader ReadFile; try { //打开文件 ReadFile=Fi...
阅读全文
posted @ 2005-01-27 16:27 battlerstar
阅读(533)
评论(0)
推荐(0)
编辑
上一页
1
···
13
14
15
16
17
18
19
下一页