随笔分类 -  .Net/C#

摘要:http://dev.csdn.net/article/72/72837.shtmhttp://www.NoahWeb.com/ 阅读全文
posted @ 2005-07-07 10:48 Elaine Shi 阅读(243) 评论(0) 推荐(0) 编辑
摘要:小写转大写金额存储过程[SQL SERVER]一、写一个程序,语言不限,打印出100的阶乘(即1*2*3*…*100)。答案: /// <summary> /// 定义每个数组存储的最大值 /// </summary> const int UNIT=100; /// <summary> /// 定义数组的最大位置 /// </summary> static int count=1; /// <summary> /// 阶乘方法 /// </summary> /// <param name="n"& 阅读全文
posted @ 2005-07-04 11:38 Elaine Shi 阅读(1144) 评论(1) 推荐(0) 编辑
摘要:装了vs.net2005 b2后再装vs.net2003出现不能调试的问题,在IIS里选择属性"asp.net设置",把asp.net版本设成1.1的即可。而后设断点时又出现: 当前不出命中断点。还没有为该文档加载任何符号。(感动,总算找到了这句错误的英文:The breakpoint will not currently be hit. No symbols have been loaded for this document)采用http://www.cnblogs.com/noblepaul/archive/2004/11/07/61244.aspx?Pending= 阅读全文
posted @ 2005-07-04 11:10 Elaine Shi 阅读(776) 评论(0) 推荐(0) 编辑
摘要:上次把C++中面向对象的几章草草的看了,前几天面试的问题全在里面,现在不禁脸红。瞅瞅自己什么水平什么文化,简直就一现代文盲。汗颜 前天把(下简称手册)捞出来看,买了一年的书。现在才翻,脑子不用就会坏,一点都没错。 我看书一向是喜欢第一遍扫,第二遍才细看的,所以大处着眼,小处着手嘛。 OO里很基本的东东: 类相关 constructor destructor 继承 inheritence 多态 p... 阅读全文
posted @ 2005-01-23 05:54 Elaine Shi 阅读(529) 评论(0) 推荐(0) 编辑
摘要:http://dev.csdn.net/develop/article/28/28369.shtm http://developer.ccidnet.com/pub/disp/Article?columnID=323&articleID=43788&pageNO=3 阅读全文
posted @ 2005-01-22 23:04 Elaine Shi 阅读(462) 评论(0) 推荐(0) 编辑
摘要:C#程序员面试(一)答案文章发表: xianfengsoft发表日期: 2004-07-30阅读次数: 274 前提:状态栏面板sbpFilePath已经设定为自绘样式.当有如下代码段1被执行一次以后: 代码段1: privatevoidtreeviewArchives_AfterSelect(objectsender,System.Windows.Forms.TreeViewEventArgse) { if(e.Node.Text!="") { try {this.richtexebox.LoadFile(Application.StartupPath+e.Node.Te 阅读全文
posted @ 2005-01-22 22:55 Elaine Shi 阅读(763) 评论(0) 推荐(0) 编辑
摘要:http://www.kehui.net/html/article/26/26000.html今天google了一下 接口 c#, 就看到这篇文章,想起前不久的一道面试题,竟然与之一样。 那天回来vs.net了一下.涉及到一个陌生的IComparer参数,原来这就是一种interface.我看见网上有人问IComparer接口的使用,于是写了个小例子,和大家一块分享。有不足之处,望不吝指正 1、建一个结构雇员的结构 private struct Eployee{ public string name; public int age; public string sex; } 2、新建3... 阅读全文
posted @ 2005-01-22 22:24 Elaine Shi 阅读(782) 评论(1) 推荐(0) 编辑
摘要:今天晚上看了一个半小时的OO,那个叫一头汗呐,红脸的说。偶对OO一窍不通,只是在工作中依稀对OO有点点了解。自知一点都不系统。 今天把3年前买的清华出的C++教程拿出来,把OO,和继承多态几章翻看了一遍。算是有个初步的了解。多重继承还没看。休息一会:) 1. virtual关键字: 是专用来解决函数的多态性的,又称什么late binding,所谓滞后绑定。汗颜吖,不过大抵知道是一种编码的方法,多... 阅读全文
posted @ 2005-01-21 20:54 Elaine Shi 阅读(458) 评论(1) 推荐(0) 编辑
摘要:Blogs http://dotnetjunkies.com/weblog/ http://blog.joycode.com/ Forum http://dotnetjunkies.com/community.aspx http://www.asp.net/Forums/default.aspx?tabindex=0&tabid=1 Ariticle & Tips http://msdn.microsoft.com/msdnmag/ (Msdn) http://msdn.microsoft.com/msdnmag/find/tech.aspx?phrase=.NET http: 阅读全文
posted @ 2005-01-05 19:09 Elaine Shi 阅读(524) 评论(0) 推荐(0) 编辑
摘要:http://www.dnnchina.net/ http://www.asp.net/Forums/ShowForum.aspx?tabindex=1&ForumID=90 阅读全文
posted @ 2005-01-04 11:13 Elaine Shi 阅读(394) 评论(0) 推荐(0) 编辑
摘要:A listing of Datagrid articles from other resource sites: Article TitleURLA Better Method to Adding New Rows to a Datagrid http://www.superdotnet.com/Article.aspx?ArticleID=149A Remedy for DataGrid Vertigo http://www.dotnetjunkies.com/Tutorial/FE4B4BFD-3A9A-48CE-A41B-646D66293610.dcikA Truly Excel-l 阅读全文
posted @ 2004-12-31 16:02 Elaine Shi 阅读(697) 评论(0) 推荐(0) 编辑
摘要:aspnet_regiis.exe是在IIS上安装asp.net的程序 >net stop w3svcaspnet_regiis.exe所在目录:>aspnet_regiis.exe /i 阅读全文
posted @ 2004-12-29 14:45 Elaine Shi 阅读(628) 评论(0) 推荐(0) 编辑
摘要:UML基础:http://www-900.ibm.com/developerWorks/cn/rational/r-uml/ 世界经理人UML专区:http://it.icxo.com/top_view.html?smallclassid=9855 http://www.uml.org.cn/ rational http://www-900.ibm.com/developerWorks/cn/ra... 阅读全文
posted @ 2004-12-28 09:44 Elaine Shi 阅读(740) 评论(0) 推荐(0) 编辑
摘要:如果取出web.config的自定义值: 用 在c#里,使用: private string strkeyName2= ConfigurationSettings.AppSettings["keyName2"]; 来提取 web.config是一种规定格式的xml文件! 阅读全文
posted @ 2004-12-21 08:14 Elaine Shi 阅读(628) 评论(0) 推荐(0) 编辑