I have a website that I have published to a hosting company. When I ran the project local, it worked fine. When I changed the connection string, published the project to my hosting company and ran the project, it is giving me an error, "The type specified
in the TypeName property of ObjectDataSource 'odsState' could not be found.". I have confirmed I am using the new connection string so it is not connecting to my local site. Here is my code. Any help is appreciated.
Thanks!
<asp:TableRow runat="server">
<asp:tablecell> </asp:tablecell><asp:tablecell> </asp:tablecell><asp:tablecell> </asp:tablecell>
<asp:tablecell HorizontalAlign="Right">
<asp:Label ID="lbl_State" runat="server" Text="State:"></asp:Label>
< ...
Go to the complete details ...