ASP.NET WEB站点高级编程?
在ASP.NET WEB站点高级编程里的论坛的问题。
论坛里是用存储过程进行分页的,但在我运行的时候提示错误:
Page Error
--------------------------------------------------------------------------------
An unexpected error has occurred on this page. The system administrators have been notified. Please feel free to contact us with the information surrounding this error.
The error occurred in: http://localhost/ThePhile/Modules/Forums/Topic.aspx?TopicID=48
Error Message: 对 text 数据类型不支持代码页转换。从: 1252 到: 936。
--------------------------------------------------------------------------------
Stack Trace:
System.Data.SqlClient.SqlException: 对 text 数据类型不支持代码页转换。从: 1252 到: 936。 at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) at Wrox.WebModules.Data.DbObject.RunProcedure(String storedProcName, IDataParameter[] parameters, String tableName) in D:\DotNet\ThePhile\Modules\Core\DbObject.cs:line 147 at Wrox.WebModules.Forums.Data.Replies.GetReplies(Int32 topicID, Int32 pageNumber, Int32 pageSize) in D:\DotNet\ThePhile\Modules\Forums\Forums.Data\Replies.cs:line 55 at Wrox.WebModules.Forums.Business.Topic.GetReplies(Int32 pageNumber) in D:\DotNet\ThePhile\Modules\Forums\Forums.Business\Topic.cs:line 145 at Wrox.WebModules.Forums.Web.Topic.BindGrid() in D:\DotNet\ThePhile\Modules\Forums\Topic.aspx.cs:line 126 at Wrox.WebModules.Forums.Web.Topic.Page_Load(Object sender, EventArgs e) in D:\DotNet\ThePhile\Modules\Forums\Topic.aspx.cs:line 99 at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain()
请问是哪里的错误,怎样改正。