Question about Edit Data in DetailsView

R

Robin9876

When editing data in DetailsView or GridView in Visual Studio 2005 all
the data items change to text boxes to edit. How can you change it so
a drop down list is used on particular fields?
 
J

JIGNESH

Use templates like <EditItemTemplate>. then you will be able to insert
control of your choice like dropdown and you need to bind control properties
to field.

If you have worked with template in 1.0 or 1.1 version, then its in same way.

Need step by step guidence then let me know.

Regards
JIGNESH
 

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,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top