V
Vik
On the Web page there is an SQLDataSource with the InsertQuery and
UpdateQuery that have some parameters with DbType = DateTime. My Web site
works when I run it from a designer (VS 2005) or by an address
http://MyCompName/MyWebsiteName.
After I click "Publish Web site" button, copy the precompiled Web site on a
server, and open it on the server, I get an error message:
"Type 'System.Web.UI.WebControls.Parameter' does not have a public property
named 'DbType'".
Both my computer and the server use the same ASP.NET version 2.0.50727.
What is wrong here?
Thanks.
Victor
UpdateQuery that have some parameters with DbType = DateTime. My Web site
works when I run it from a designer (VS 2005) or by an address
http://MyCompName/MyWebsiteName.
After I click "Publish Web site" button, copy the precompiled Web site on a
server, and open it on the server, I get an error message:
"Type 'System.Web.UI.WebControls.Parameter' does not have a public property
named 'DbType'".
Both my computer and the server use the same ASP.NET version 2.0.50727.
What is wrong here?
Thanks.
Victor