会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
南潇湘
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
11
下一页
2016年1月2日
配置使用EF常见的一些问题及解决方案
摘要: 转自http://www.2cto.com/database/201511/449573.html提示未注册,找不到驱动程序No Entity Framework provider found for the ADO.NET provider with invariant name 'System....
阅读全文
posted @ 2016-01-02 17:28 南潇湘
阅读(412)
评论(0)
推荐(0)
2016年1月1日
委托 (代码复习)
摘要: 1 namespace DelegateDemo 2 { 3 //声明委托 4 public delegate void MyDel(); 5 //声明带参的委托 6 public delegate void MyDelAdd(int num1, int...
阅读全文
posted @ 2016-01-01 11:15 南潇湘
阅读(209)
评论(0)
推荐(0)
2015年12月30日
C#实现http协议下的多线程文件传输
摘要: 用C#实现HTTP协议下的多线程文件传输转自 http://developer.51cto.com/art/201105/263066_all.htmC#(C Sharp)是微软(Microsoft)为.NET Framework量身订做的程序语言,C#拥有C/C++的强大功能以及Visual Ba...
阅读全文
posted @ 2015-12-30 09:58 南潇湘
阅读(3802)
评论(0)
推荐(0)
2015年12月29日
索引的重载 str["name"] str[i]
摘要: 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 IndexClass names = new IndexClass(); 6 names...
阅读全文
posted @ 2015-12-29 17:07 南潇湘
阅读(286)
评论(0)
推荐(0)
浅谈 switch和if
摘要: 1.所有的switch 都可以用if 替换,但所有的if不一定能被switch替换2.:switch case直接跳到对应的case值里面执行相应代码。而if语句会执行一条一条判断语句,直到匹配到对应的值。这么看来switch case比if执行效果高。但是由于if判断语句的简单易用。很多地方简单的...
阅读全文
posted @ 2015-12-29 13:35 南潇湘
阅读(333)
评论(0)
推荐(0)
2015年12月25日
webservice 简单入门 (NLY)
摘要: 1,创建webservice服务器端搭建网站,创建webservicewebservice.cs中的代码namespace WebApplication1{ /// /// WebService1 的摘要说明 /// [WebService(Namespace = "ht...
阅读全文
posted @ 2015-12-25 21:17 南潇湘
阅读(331)
评论(0)
推荐(0)
2013年4月9日
数据库的锁表
摘要: SELECT request_session_id spid,OBJECT_NAME(resource_associated_entity_id)tableName FROM sys.dm_tran_locks WHERE resource_type='OBJECT '
阅读全文
posted @ 2013-04-09 17:13 南潇湘
阅读(182)
评论(0)
推荐(0)
2013年4月3日
页面的刷新 和图片的替换
摘要: 当图片的路径没有改变是,浏览器用的是缓存的图片,不是最新的图片。
阅读全文
posted @ 2013-04-03 13:06 南潇湘
阅读(194)
评论(0)
推荐(0)
2013年4月2日
单点登录 Webservice
摘要: public static UserSession GetUserSession(HttpRequestBase request) { try { SougeWebService.UserVerificationWebService webserver = new SouGeForum.SougeWebService.UserVerificationWebService(); if (webserver.CookieContainer == null) ...
阅读全文
posted @ 2013-04-02 13:28 南潇湘
阅读(613)
评论(2)
推荐(1)
2013年3月25日
js 动态调用js文件
摘要: <script src="/Scripts/hall/tab.js" type="text/javascript" id="src"></script> <script language="javascript" type="text/ecmascript"> GetJs(); function GetJs() { var src = document.getElementById("src"); if (GetBrowserType()
阅读全文
posted @ 2013-03-25 14:58 南潇湘
阅读(525)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
11
下一页
公告