摘要: 参数顺序错了,就会出错不过是insert 还是 update internal static int InsertProducts(TProducts products) { string sql = "insert into [products] ([name],[price],[pricing],[content],[time],[picture]) values (@name,@price,@pricing,@content,@time,@picture)"; OleDbParameter[] parameters = new OleDbParameter[] { A 阅读全文
posted @ 2011-04-18 23:54 hen 阅读(2826) 评论(0) 推荐(0) 编辑
摘要: 定义和用法fieldset 元素可将表单内的相关元素分组。<fieldset> 标签将表单内容的一部分打包,生成一组相关表单的字段。当一组表单元素放到 <fieldset> 标签内时,浏览器会以特殊方式来显示它们,它们可能有特殊的边界、3D 效果,或者甚至可创建一个子表单来处理这些元素。<fieldset> 标签没有必需的或唯一的属性。<legend> 标签为 fieldset 元素定义标题。实例组合表单中的相关元素:<form> <fieldset> <legend>health information< 阅读全文
posted @ 2011-04-18 17:25 hen 阅读(276) 评论(0) 推荐(0) 编辑