SQLite数据库参数化编程时,采用命名参数的方式
摘要:在网上看到很多帖子说SQLite数据库参数化编程,只能使用非命名参数,如下形式:comm.CommandText = "select * from [FurnitureCategory] where [categoryID]= ? ";comm.Parameters[0].Value = categoryID.ToString();comm.Parameters[0].DbType = DbTyp...
阅读全文
posted @ 2008-08-08 06:53