上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
摘要: 解决之前: @Html.Action("BottomHelp", "Articles", new { num = 5}) 解决之后: @Html.Action("BottomHelp", "Articles", new { num = 5, area = "" }) 总结:将area赋空值,area 阅读全文
posted @ 2013-10-14 11:38 dotNet修行之路 阅读(2123) 评论(0) 推荐(0) 编辑
摘要: 引用MSDN原文:委托是一种定义方法签名的类型。当实例化委托时,您可以将其实例与任何具有兼容签名的方法相关联。您可以通过委托实例调用方法。 一、委托的使用: 1、声明第一个委托类型:public delegate void ShoutEventHander(); 这个委托类型没有返回值,也没有形参。 阅读全文
posted @ 2013-05-21 16:21 dotNet修行之路 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 在 ServiceModel 客户端配置部分中,找不到引用协定“PutMCCases.PutMCCasesSoap”的默认终结点元素。这可能是因为未找到应用程序的配置文件,或者是因为客户端元素中找不到与此协定匹配的终结点元素。 解决方法: 如果把WCF的客户端单独拿出来作为类库的话,WCF客户端的类 阅读全文
posted @ 2013-04-08 11:15 dotNet修行之路 阅读(196) 评论(0) 推荐(0) 编辑
摘要: private void ShopList(Dictionary<string, ShopInfo> shopLists, ComboBox comboBox, string shopCode) { if ((shopLists != null) && (shopLists.Count != 0)) 阅读全文
posted @ 2013-03-16 15:39 dotNet修行之路 阅读(332) 评论(0) 推荐(0) 编辑
摘要: public partial class ImageHelper { public static string GetConfiguration(string key) { return ConfigurationManager.AppSettings[key]; } public static s 阅读全文
posted @ 2013-03-16 15:36 dotNet修行之路 阅读(300) 评论(1) 推荐(0) 编辑
摘要: 表A、B; SELECT 'A表' as 'TableName',* FROM A UNION SELECT 'B表' as 'TableName',* FROM B 阅读全文
posted @ 2013-03-16 15:27 dotNet修行之路 阅读(332) 评论(0) 推荐(0) 编辑
摘要: @PRNDATE DATE=null, 哈哈哈~ 阅读全文
posted @ 2013-03-16 15:22 dotNet修行之路 阅读(1558) 评论(0) 推荐(0) 编辑
摘要: Winform选择目录路径与选择文件路径 Winform选择目录路径与选择文件路径 using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using Sy 阅读全文
posted @ 2013-03-14 16:26 dotNet修行之路 阅读(3855) 评论(0) 推荐(1) 编辑
摘要: #region 導出Excel private void outPutExcel(System.Data.DataTable dt, System.Data.DataTable dt2) { if (dt == null) return; Excel.Application xlApp = new 阅读全文
posted @ 2013-03-14 16:24 dotNet修行之路 阅读(305) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/jeffreyzhao/archive/2009/03/09/no-dependency-to-httpcontext.html 阅读全文
posted @ 2012-11-19 17:04 dotNet修行之路 阅读(165) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页