![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ASP.NET
文章平均质量分 81
偶然相见
这个作者很懒,什么都没留下…
展开
-
datagrid commandname
问:为什么我换成别的名字就不能用了?______________________________________________________________________________________________答1:不是阿,应该可以的,不过你要这样用了 Private Sub AccidentDataGrid_ItemCommand(ByVal source As Object原创 2007-04-14 18:45:00 · 1406 阅读 · 0 评论 -
ASP.NET中页面传值共有这么几种方式
一、目前在ASP.NET中页面传值共有这么几种方式:1、表单提交, .... form1.submit(); .... 此种方在ASP。NET中无效,因为ASP。NET的表单总是提交到自身页面,如果要提交到别一页面,需要特殊处理。2、链接地址传送接收页面: string str = Request["param1"]3、Session共享发送页面:Session(原创 2008-05-16 15:22:00 · 535 阅读 · 0 评论 -
[template engine]StringTemplate的使用
1 变量替换public static void fun1() { StringTemplate st = new StringTemplate( "对象变量替换 姓名:$KeyList.Name$, 年龄:$KeyList.Age$ "); HashMap ht = new HashMap(); ht.put("Name", "李四"); ht.put("Age", "35");原创 2008-08-08 16:48:00 · 573 阅读 · 0 评论 -
C#设计模式(23种设计模式)
C#设计模式(23种设计模式)创建型: 1. 单件模式(Singleton Pattern) 2. 抽象工厂(Abstract Factory) 3. 建造者模式(Builder) 4. 工厂方法模式(Factory Method) 5. 原型模式(Prototype) 结构型: 6. 适配器模式(转载 2009-01-05 10:38:00 · 581 阅读 · 0 评论