把txt作为数据源绑定到GridView中
摘要: 先在APP_Data文件夹下新建一个txt文件:(输入一些内容先,用逗号隔开)id,nameee,test1,01,ddd2,xian,ff3,陆,tffest在页面拉一个GridView控件,Page_Load里写:protectedvoidPage_Load(objectsender,EventArgse){stringConnectionString;stringSQLString;Conn...
阅读全文
posted @
2006-11-24 15:36 大陆响尾蛇 阅读(438) |
评论 (0) 编辑