ASP.NET(C#)

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2005年3月19日

摘要: using System; using System.Runtime.InteropServices; class shoutdown{ [StructLayout(LayoutKind.Sequential, Pack=1)] internal struct TokPriv1Luid { public int Count; public long... 阅读全文
posted @ 2005-03-19 15:15 battlerstar 阅读(3734) 评论(0) 推荐(0) 编辑

2005年3月18日

摘要: using System; using System.Xml; public class Sample { public static void Main() { // Create the XmlDocument. XmlDocument doc = new XmlDocument(); doc.LoadXml("wrench"); // Add a price... 阅读全文
posted @ 2005-03-18 14:25 battlerstar 阅读(787) 评论(0) 推荐(0) 编辑

2005年3月17日

摘要: /*将选中的当前页面,变为突出显示颜色*/ if(e.Item.ItemType==ListItemType.Pager) { Label lblPage; TableCell pager = (TableCell)e.Item.Controls[0]; for(int i=0;i<pager.Controls.Count;i++) ... 阅读全文
posted @ 2005-03-17 19:23 battlerstar 阅读(555) 评论(0) 推荐(0) 编辑

摘要: WebForm4 -----------------... 阅读全文
posted @ 2005-03-17 14:08 battlerstar 阅读(1264) 评论(0) 推荐(0) 编辑

2005年3月16日

摘要: 我们在ASP中能够通过cookie、查询字符串、应用程序、对话等轻易地解决这些问题。现在到了ASP.NET环境中,我们仍然可以使用这些功能,只是它们的种类更多了,功能也更强大了。 管理互联网网页主要有二种不同的方法:客户端和服务器端。 1、客户端的状态管理: 在客户端、服务器之间的多次请求-应答期间,服务器上不保存信息,信息将被存储在网页或用户的计算机上。 A... 阅读全文
posted @ 2005-03-16 23:43 battlerstar 阅读(489) 评论(0) 推荐(0) 编辑

摘要: 1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 ... 阅读全文
posted @ 2005-03-16 23:40 battlerstar 阅读(424) 评论(0) 推荐(0) 编辑

摘要: 有的时候我们需要邦定很复杂的DataGrid,我们知道DataGrid,DataList等控件都有Template列,我们可以通过动态的邦定模版列来实现,复杂逻辑的邦定。由于Page继承TemplateControl,所以在Page对象里面就可以使用TemplateControl类里面的方法LoadTemplate,我们可以利用这个方法加载指定路径用户控件来实现丰富的表示(顺便提一下还有一个L... 阅读全文
posted @ 2005-03-16 12:27 battlerstar 阅读(630) 评论(0) 推荐(0) 编辑

2005年3月15日

摘要: 要是做技术,最好的就是上大公司,国内的大型企业,象华为中兴肯定是首选,能学 到很多东西。华为虽然累,但是,年轻人不能怕累,要是到老了,还需要去打拼,那才是 真的累啊。 在外企,我想他们主要就是技术支持和销售,但是技术是学不到的,当然不能一概而 论,我指的是象爱立信和诺基亚,真正的研发不会在中国做的,学到的也不如在华为多, 其它的中兴我不是很了解,我想应该也不错啊。 一个人都有一技... 阅读全文
posted @ 2005-03-15 08:13 battlerstar 阅读(466) 评论(1) 推荐(0) 编辑

2005年3月11日

摘要: 原文:http://elwin.blogchina.com/blog/article_84602.1080323.html 姓名: 日期: 1. 填空: (1)面向对象的语言具有________性、_________性、________性。 (2)能用foreach遍历访问的对象需要实现 ________________接... 阅读全文
posted @ 2005-03-11 15:22 battlerstar 阅读(7693) 评论(3) 推荐(0) 编辑

2005年3月5日

摘要: 微软开发中心 http://www.microsoft.com/china/msdn/developercenter 阅读全文
posted @ 2005-03-05 16:29 battlerstar 阅读(402) 评论(0) 推荐(0) 编辑