









最近一段时间,在网上闲逛中找到了小山那篇功能齐全的DataGrid 文章,如获至宝。下载源程并作了修改,但运行过程中出现了以下的错误。
Exception Details: System.Data.SqlClient.SqlException: 对象名 'province' 无效。
Source Error:
Line 105: SqlDataAdapter sda =new SqlDataAdapter(sql,constring);
Line 106: DataSet ds=new DataSet();
Line 107: sda.Fill(ds);
Line 108: return ds;
Line 109: }Source File: c:\inetpub\wwwroot\webapplication2\webform1.aspx.cs Line: 107
百思不得其解之时,几经思索,才发现问题就出在建立数据表时,province表名出了点状况,拼错了。
出现了Microsoft OLE DB Provider for SQL Server 错误 80040e37。![]()
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。