上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 57 下一页
摘要: .NET Compact Framework Data Provider for SQL Server MobileStandardData Source=MyData.sdf;Persist Security Info=False;SQL Server CompactHow to specify the location of the SDF fileOften times the .SDF database is not running in the current directory so it becomes necessary to programatically set the p 阅读全文
posted @ 2013-08-06 17:14 iDEAAM 阅读(365) 评论(0) 推荐(0) 编辑
摘要: SqlMetal是跟随VS发布的一个自动工具,可以用来生成数据库的Linq代码。这是中文版的帮助文件。SqlMetal [选项] [] 为 .NET Framework 的 LINQ to SQL 组件生成代码和映射。SqlMetal 能够: - 依据数据库生成源代码及映射属性或映射文件。 - 依据数据库生成中间 dbml 文件以进行自定义。 - 依据 dbml 文件生成代码及映射属性或映射文件。 选项: /server: 数据库服务器名称。 /database: 服务器上的数据库目录。 /user: 登录用户 ID (默认值: 使用 Windows 身份验证)。 /passwo... 阅读全文
posted @ 2013-08-06 16:04 iDEAAM 阅读(575) 评论(0) 推荐(0) 编辑
摘要: 当用foreach遍历Collection时,如果对Collection有Add或者Remove操作时,会发生以下运行时错误:"Collection was modified; enumeration operation may not execute." 如下所示: [c-sharp] view plaincopy List list = new List(); for (int i = 0; i keys = new List(); foreach (DictionaryEntry de in ht) { /* ope... 阅读全文
posted @ 2013-08-01 13:09 iDEAAM 阅读(9083) 评论(0) 推荐(0) 编辑
摘要: 好消息, 程序员专用早餐机。和掌柜说 ideaam,可以节省20元。 点击链接 或復·制这段描述¥k3MbbVKccMU¥后到淘♂寳♀ 或者 淘宝扫码 支持下同行哈 支持自定义的 HTTP 和 SOAP 标头 注意:本主题中的内容适用于 Microsoft Office SharePoint Ser 阅读全文
posted @ 2013-07-31 16:10 iDEAAM 阅读(9399) 评论(0) 推荐(0) 编辑
摘要: 在.Net中,Static会经常和线程的东西扯在一起。写的代码是不是线程安全呢?好多程序员都在想,不过,有时候随便就放过了。真正出问题的时候再想。其实,如果程序员一开始就明白这里面的机制,也许,编写的代码质量会更加的高。也少些线程安全的烦问题。事实上,了解线程安全的机制后,你会发现,这原来是很简单的事情,只是很多人不愿意去了解线程。因为对于普通的程序员,线程的东西真是不好玩的,也不太过瘾,同时好容易出错。生活中的例子顾客一次买了10个产品去收银处交钱,一般来说,收银处的框台应该很多的,顾客可以选一个人少的结帐就行了。而收银员可以一个个顾客地处理。这当然是有条不紊的事了。实际上,每个收银员就是一 阅读全文
posted @ 2013-07-30 11:52 iDEAAM 阅读(881) 评论(0) 推荐(0) 编辑
摘要: 但是后来发现点击IE图标没有任何反应,因此从网络上寻求帮助!将经验分享大家!进入注册表(运行regedit),找到HKEY_CURRENT_USER\Software\Microsoft\InternetExplorer\Main右键"Main"项--权限,在对话框中点击"高级"--“包括可从该对象的父项继承的权限(I)"前打勾. 阅读全文
posted @ 2013-07-17 14:00 iDEAAM 阅读(363) 评论(0) 推荐(0) 编辑
摘要: JQuery Dialog 禁用X按钮关闭对话框,禁用ESC键关闭代码如下:$("#div1").dialog({ closeOnEscape: false, open: function(event, ui) { $(".ui-dialog-titlebar-close").hide(); }}); 阅读全文
posted @ 2013-07-17 11:40 iDEAAM 阅读(494) 评论(0) 推荐(0) 编辑
摘要: I came across this scenario whereby my main View uses Ajax posts to retrieve PartialViews and delivers the markup of the PartialView into my View. I use the jQuery validation framework to implement client side unobstrusive validation.When I tried to validate my form that had been loaded into the pag 阅读全文
posted @ 2013-07-12 10:03 iDEAAM 阅读(384) 评论(0) 推荐(0) 编辑
摘要: Because the application pool identity for the AD FS 2.0 AppPool is running as a domain user/service account, you must configure the Service Principal Name (SPN) for that account in the domain with the Setspn.exe command-line tool. Setspn.exe is installed by default on computers running Windows Serve 阅读全文
posted @ 2013-06-18 17:14 iDEAAM 阅读(708) 评论(0) 推荐(0) 编辑
摘要: Active Directory Federation Services (AD FS) 2.0 makes it possible to deploy a federation server and begin issuing tokens quickly by following these steps:1) AD FS 2.0 software installation2) Initial configuration3) Add a relying party trust4) Add more federation servers to the farm (Optional)5) Con 阅读全文
posted @ 2013-06-18 17:08 iDEAAM 阅读(914) 评论(0) 推荐(0) 编辑
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 57 下一页