摘要: 对数据库中的数据索引,有两种方式,即分别通过数据适配器DataAdapter或者数据阅读器DataReader将数据读取出来放在控件中显示出来或进行处理,一般DataReader配合DataCommand使用,主要是对DataReader实例化。使用数据适配器DataAdapter读取数据示例:protected void Button1_Click(object sender, EventArgs e) { string ConnectionString = "Data Source=localhost Integrated Security=SSPI;D... 阅读全文
posted @ 2010-05-17 17:49 神舟龙 阅读(483) 评论(2) 推荐(2) 编辑