Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 using System; 2 using System.Data.SQLite; 3 using System.Configuration; 4 using System.Web; 5 using... Read More
posted @ 2007-06-16 21:40 zeus2 Views(1715) Comments(2) Diggs(0) Edit
如果你的Web页面需要在load时加载东西,请首先加上 if (!IsPostBack){ //你的代码} 昨天花了半小时找出的问题。我的程序很简单,就是一个用于新闻修改的系统。流程如下1、从数据库读出需要修改的数据(数据ID从Request.QueryString)取得2、修改数据,从TextBox取出需要修改的数据3、提交(将修改存入数据库,修改后的数据从TextBox取得)如果没有if... Read More
posted @ 2007-06-16 12:00 zeus2 Views(391) Comments(0) Diggs(0) Edit
以往大家在asp.net开发小型项目经常使用Access,现在可以使用sqlite。SQLite是一个小型的C程序库,实现了独立的,可嵌入的,零配置的SQL数据库引擎。特性包括: 事务操作是原子,一致,孤立,并且持久的(ACID),即使在系统崩溃和电源故障之后。 零配置——不需要安装和管理。 实现了绝大多数SQL92标准。 (不支持的特性) 整个数据库存储在一... Read More
posted @ 2007-06-16 11:46 zeus2 Views(1764) Comments(1) Diggs(0) Edit