DetailsView - ObjectDataSource question

S

Seth Williams

I've got a DetailsView I'm using with the Default mode being INSERT
I have an XSD using the INSERT stored Procedure, and I have a Members class,
which uses the XSD

My question - -
When I choose the Members class for the Object DataSource, it detects the
parameters of the Insert_Members method. I want them to come from the
DetailsView - -
When configuring the Object DataSource, it gives me choices like session,
querystring, etc for where the data is to populate the parameters.

How do I do this, with a DetailsView?
 
S

Stan

I've got a DetailsView I'm using with the Default mode being INSERT
I have an XSD using the INSERT stored Procedure, and I have a Members class,
which uses the XSD

My question - -
When I choose the Members class for the Object DataSource, it detects the
parameters of the Insert_Members method. I want them to come from the
DetailsView - -
When configuring the Object DataSource, it gives me choices like session,
querystring, etc for where the data is to populate the  parameters.

How do I do this, with a DetailsView?

Choose the Control option. You will then be presented with a list of
data bindable controls on the page.

HTH
 

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
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top