摘要: DataTable 添加列、设置主键、添加行、查询、更新对于数据库的操作,资料太多,大家也比较熟悉。但有时数据量较少,但更新频繁的变量操作,通常采用自定义结构,但自定义结构的可维护性和灵活性就比不上临时表,我们可以先用DataTable做为内存临时表,以数据库操作的方式灵活添加列、行,完成 主键设置、查询、更新等操作,还可以保存为xml文件。假设在当前类作用域有全局对象Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicstaticD 阅读全文
posted @ 2012-05-21 23:09 小锋神 阅读(479) 评论(0) 推荐(0)
摘要: function get_city_Result_CallBack(response) { if (response.value != null) { //debugger; document.all("DropDownList2").length=0; var ds = response.value; if(ds ... 阅读全文
posted @ 2012-05-21 13:46 小锋神 阅读(467) 评论(0) 推荐(0)
摘要: function get_city_Result_CallBack(response) { if (response.value !=null) { //debugger; document.all("DropDownList2").length=0; var ds = response.value; if(ds !=null&&typeof(ds) =="object"&& ds.Tables !=null) { for(var i=0; i<ds.Tables[0].Rows.length; i++) { var 阅读全文
posted @ 2012-05-21 13:46 小锋神 阅读(123) 评论(0) 推荐(0)