上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 69 下一页
摘要: 获取SQLSERVER2005 的连接字符串的另类方法,这个方法是我的一个很牛比的同事告诉我的。很使用,而且很方面。1 新建一个.txt文件2 改名:aa.udl 或 aa.UDL .后缀名为 udl .3 双击 aa.udl ------> 提供程序: 选择SQL Server版本:Micorsoft OLE DB Provider for SQL Server4 下一步 :连接(1)选择或输入服务器名称:写如你要连接的数据库服务器名称。 (2) 选择登录服务器的信息 (3)选择服务器上的一个使用的数据库。 ----> 测试连接 ------> 成功 (4)确定 (5)右击 阅读全文
posted @ 2012-07-22 20:57 沐雪架构师 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 在做邮件服务的时候遇到一个问题: 服务器端有个方法参数是个List<T> 类型。当在客户端传参数的时候 ,你即使传个List<T>类型的参数,也还是提示参数类型错误。相关解决方法:http://www.cnblogs.com/wizardwu/archive/2009/08/09/1542102.html 阅读全文
posted @ 2012-07-22 20:56 沐雪架构师 阅读(170) 评论(0) 推荐(0) 编辑
摘要: using System.Runtime.Serialization;同时手动添加引用。添加 System.Runtime.Serialization;dll文件到项目引用中。引用:http://topic.csdn.net/u/20091202/20/4c8e516e-544d-449c-a1a0-b4a51b0a3dc6.html因为我也出现过这种情况。 阅读全文
posted @ 2012-07-22 20:53 沐雪架构师 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 我在用WCF 做邮件服务的时候,客户端在发送完 命令后,需要加 service.Close();不然 在连续10次发送信息到WCF服务器,滴10次以后就发不出去了。MyEmailSend.EmailSendServiceClient service = new EmailServiceClient.MyEmailSend.EmailSendServiceClient(); string from = "pp@163.com"; string fromName = "冰点"; string to = "pd@gmail.com"; // 阅读全文
posted @ 2012-07-22 20:52 沐雪架构师 阅读(184) 评论(0) 推荐(0) 编辑
摘要: http://www.dotneteye.net/index.aspx 阅读全文
posted @ 2012-07-22 20:51 沐雪架构师 阅读(110) 评论(0) 推荐(0) 编辑
摘要: C# 不支持动态数组,用 ArrayList 可以实现动态数组的功能。ArrayList 的名称空间是 System.Collections。ArrayList 元素类型和数组不同,ArrayList 的各个元素的类型可以不同。声明对象//声明 ArrayList 有三种重载方法,较常用的有两种ArrayList al = new ArrayList();ArrayList al = new ArrayList(3);上例中,参数值 3 表示容量,即可以容纳多少个元素。Capacity 与 CountArrayList 具有 Capacity 和 Count 属性,分别表示容量和数量。Capa 阅读全文
posted @ 2012-07-22 20:51 沐雪架构师 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 不抽烟的程序员http://www.cnblogs.com/CharlesLiu/archive/2010/03/09/1667041.htmlhttp://www.cnblogs.com/jillzhang/archive/2008/02/16/1070907.htmlhttp://team.cnblogs.com/wcfs/微软的入门教程http://msdn.microsoft.com/zh-cn/library/ms734712.aspx我的WCF之旅(1):http://www.cnblogs.com/artech/archive/2007/02/26/656901.htmlWCF技 阅读全文
posted @ 2012-07-22 20:50 沐雪架构师 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1 C#Windows服务程序之添加安装程序图解http://developer.51cto.com/art/200908/144060.htm2 C#Windows服务程序的快速开发http://developer.51cto.com/art/200908/144084.htm3 C#windows服务中的Timer控件的使用http://developer.51cto.com/art/200908/144002.htm 阅读全文
posted @ 2012-07-22 20:32 沐雪架构师 阅读(152) 评论(0) 推荐(0) 编辑
摘要: http://www.ibm.com/developerworks/cn/web/wa-speedweb/?S_TACT=105AGX63&S_CMP=DEVCOM&ca=ddc 阅读全文
posted @ 2012-07-22 20:32 沐雪架构师 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 由于GridView的数据源是后台CS文件中代码绑定的。所以程序运行时,点击分页数后没有反应。解决办法如下:using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;using System.Data.S 阅读全文
posted @ 2012-07-22 20:31 沐雪架构师 阅读(255) 评论(0) 推荐(0) 编辑
上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 69 下一页