随笔分类 - ASP.NET MVC
摘要:参数为 Stream 如果实体: 参考: http://www.voidcn.com/article/p-ejufiyei-ud.html
阅读全文
摘要:用如下方法获取UserId报空引用异常 1 2 3 4 5 6 7 8 9 public class BaseController : Controller { protected SiteContext db = new SiteContext(); protected Guid userId;
阅读全文
摘要:我的文档\Visual Studio 2015\Settings\CurrentSettings.vssettings Environment_Toolbox 节点 <Category name="Environment_Toolbox" Category="{481999F2-7479-4e03-
阅读全文
摘要:public static class MapperExtensions { public static TResult MapTo<TResult>(this object self, TResult result) { if (self == null) throw new ArgumentNu
阅读全文
摘要:GlobalConfiguration.Configuration.Formatters.Remove(config.Formatters.JsonFormatter);
阅读全文
摘要:ViewBag.TypeID = new SelectList(db.TType, "ID", "Name", model.TypeID); @Html.DropDownList("TypeID ")
阅读全文
浙公网安备 33010602011771号