- 博客(2)
- 资源 (4)
- 收藏
- 关注
原创 ASP关于数据库的操作
使用ADO.NET进行数据库的操作 1. 添加SqlClient命名空间 using System.Data.SqlClient; 2. 在Page_Load中获取表,必要时,需要将它绑定给GridView控件 a. 创建一个连接字符串和命令字符串 b. 将字符串传递给SqlDataAdapter的构造函数 c. 创建DataSet的实例 d. 询问DataAdapter来填充D
2012-07-17 16:36:30 468
转载 ASP.NET页面间传值的几种方式
1。使用QueryString 使用QuerySting在页面间传递值已经是一种很老的机制了,这种方法的主要优点是实现起来非常简单,然而它的缺点是传递的值是会显示在浏览器的地址栏上的(不安全),同时又不能传递对象,但是在传递的值少而安全性要求不高的情况下,这个方法还是一个不错的方案。使用这种方法的步骤如下: 1,使用控件创建web表单(form) 2,创建可以返回表单的按钮和链接
2012-07-17 15:07:02 563
Advanced Metaprogramming in Classic C++, 3rd Edition
2015-06-19
IBM J2EE Development 课程讲义
2010-02-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人