Gridview

J

Jaez

I have several pages on my site working well with data displayed in
gridviews using datatables stored in App_Code in the root of my site and
linking to an sql database.

I have now made a folder named "user" and made it a virtual folder for use
with login registration.

Any gridview I put on a page in that folder can not find the Typename for
the object source

The error message is The type specified in the TypeName property of
ObjectDataSource 'ObjectDataSource1' could not be found.
and the code is:
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
DeleteMethod="Delete"

InsertMethod="Insert" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetDataBy_all_jokes"

TypeName="jokesTableAdapters.jokedbTableAdapter" UpdateMethod="Update">

I guess its the path to the App_Code folder that it cannot find but don't
know how to tell it where to look

Jaez
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top