FormView

  • Thread starter Thread starter win
  • Start date Start date
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
 
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.
=================================================
 
Back
Top