当我运行页面的时候,会报一个这样的错误尚未为数据源“IncrementInfo_t_statics_inc”提供数据源实例。
IncrementInfo是数据集的名称,后面t_statics_inc是表名.
我建立了一个dataset,它自动创建了一个连接字符串,在webconfig里.我的webconfig里还有一个手工写的连接字符串.这两个内容基本一样
自动创建的:
 <add name="ssConnectionString" connectionString="Data Source=192.168.2.3;Initial Catalog=spms;Persist Security Info=True;User ID=sa;Password=sa"手工创建的:
 <add key="ConnectionString" value="Password=sa;Persist Security Info=True;User ID=sa;Initial Catalog=spms;Data Source=192.168.2.3"/>