How to set default value in DetailVeiw when Add a record?

A

ad

Hi,
I select a class of students into a GridView, which class's GradeID is 2
and ClassID is 1
then I want to add a students with DetailView, every students has a GradeID
and ClassID field.
How can I set the default value of GradeID to 2 and ClassID to 1 in the
DetailView..
 

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,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top