AjaxPro 调用callback 没办法返回DataSet或DataTable 的解决方法 - [.net]

http://alek.blogbus.com/logs/8163837.html

采用callback 调DataSet 或Datatable 出现"缺少对象"即Object Exptected错误,

1. Download the source
2. Modify the file AjaxPro\JSON\Converters\DataTableConverter.cs:
Line 71: remove "!" from "if (!AjaxPro.Utility.Settings.OldStyle.Contains("renderJsonCompliant"))"
3. Recompile using the appropriate .bat file.

 如果不是SqlServer2005的话,应该使用aspnet_regsql注册一下, aspnet_regsql.exe

posted @ 2008-05-21 11:26  张永杰  阅读(480)  评论(0)    收藏  举报