摘要: 导入 protected void btnImport_Click(object sender, EventArgs e) { //验证文件后缀名 if (string.IsNullOrEmpty(fldupload.FileName)) { base.MessageBox("请选择文件路径!"); 阅读全文
posted @ 2018-08-20 18:42 开心的柚子 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Session缓存,Session添加,Session删除,Session获取 基本方法分享 阅读全文
posted @ 2018-07-09 17:34 开心的柚子 阅读(398) 评论(0) 推荐(0) 编辑
摘要: $("#rbldoctortitle").parent().find(".select-items ul li").bind("click", function () {} <asp:DropDownList ID="rbldoctortitle" runat="server" datatype=" 阅读全文
posted @ 2017-08-10 11:47 开心的柚子 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 防止Session丢失的方法介绍 阅读全文
posted @ 2017-04-28 09:41 开心的柚子 阅读(828) 评论(0) 推荐(1) 编辑
摘要: 最初店,有衣服制作,有鞋柜制作 MakingClothes 衣服制作 =new MakingClothes() MakingShoes 鞋制作=new MakingShoes() 简单工厂 后来一个作坊,你告诉一下要作什么 IMaking衣服制作=MakingFactory(“Clothes”) I 阅读全文
posted @ 2017-04-24 15:51 开心的柚子 阅读(159) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args){ int[] cSum = new int[N]; for (int i = 0; i < cSum.Length; i++){cSum[i] = Pro_WriteNum(i);Console.WriteLine(cSum[i]);} 阅读全文
posted @ 2017-04-12 14:34 开心的柚子 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 方法一: int[] intArr = new int[100]; ArrayList myList = new ArrayList(); Random rnd = new Random(); while (myList.Count < 100) { int num = rnd.Next(1, 10 阅读全文
posted @ 2017-04-12 14:25 开心的柚子 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 转载文章: 首先,MVC和三层架构,是不一样的。 三层架构中,DAL(数据访问层)、BLL(业务逻辑层)、WEB层各司其职,意在职责分离。 .net的三层结构中,并没有action这个概念。 asp.net mvc 是微软新发布的一种网站开发架构。为了解决传统asp.net开发中不能分离Model, 阅读全文
posted @ 2017-04-12 11:04 开心的柚子 阅读(846) 评论(0) 推荐(0) 编辑