2014年4月5日

ADO.NET SqlHelper

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;using System.Data.SqlClient;using System.Data;namespace StudentMgr{ public static class SqlHelper { public static readonly string connstr = ConfigurationManager.Conne... 阅读全文

posted @ 2014-04-05 16:08 钟灵毓秀的家园 阅读(139) 评论(0) 推荐(0)

ASP.NET 一般处理程序基础2(Nvelocity模板引擎用法)

摘要: Person person = new Person();person.Name = "yzk";person.Age = 30;Person dad = new Person();dad.Name = "ywx";dad.Age = 60;person.Father = dad;在html模板中可以这样取值我的老爹是 $p.Father.Name,他的年龄是$p.Father.Age 19、Nvelocity的特性,如果建立的对象是个索引,还可以把索引当做它的值。Dictionary dict=new Dictionary();//建一个Diction 阅读全文

posted @ 2014-04-05 15:45 钟灵毓秀的家园 阅读(703) 评论(0) 推荐(0)

导航