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

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top