FormView

W

win

I am using VS2005 .net ver2.0

I've created a FormView but all of the data columns are defaulted as
textboxs. How can change them to other controls (e.g. checkbox,
dropdownlist, etc)?

Thanks
 
J

Jialiang Ge [MSFT]

Hello, we can use ItemTemplate to customize the controls of the fields. The
ASP.NET tutorial "Using the FormView's Templates" provides a demonstration
that can be followed easily.
http://www.asp.net/learn/data-access/tutorial-14-cs.aspx

Let me know if you have any other questions.

Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================
 

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

Similar Threads

FormView 3
FormView insert with UpdatePanel 0
formview edit issue 12
Populating Dropdownlist in Formview 2
Hiddenfield in formview 1
align items in formview 2
detailview or formview 1
Get Data value in FormView 5

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top