RE: GridView and DropDownList
- From: wawang@xxxxxxxxxxxxxxxxxxxx (Walter Wang [MSFT])
- Date: Wed, 09 May 2007 07:23:15 GMT
Hi Brian,
As Teemu said, you could use a TemplateField to use whatever controls
inside it. You can find some examples here:
#Using TemplateFields in the GridView Control
http://www.asp.net/learn/dataaccess/tutorial12vb.aspx?tabid=63
(There's also many useful ASP.NET 2.0 Data Tutorials here:
http://www.asp.net/learn/dataaccess/default.aspx?tabid=63)
Is it possible to have all of the controls active so that a simple clickof the Submit button updates all customer records with the data in those
DropDownLists?
I'm not sure if I fully understand your above question. Do you mean put all
rows of a GridView in edit mode and update them in a batch? If this is the
case, then you may find following example useful:
#Matt Dotson's .NET Tips & Tricks : Real World GridView: Bulk Editing
http://blogs.msdn.com/mattdotson/articles/490868.aspx
Hope this helps.
Regards,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- RE: GridView and DropDownList
- From: Walter Wang [MSFT]
- RE: GridView and DropDownList
- References:
- GridView and DropDownList
- From: Brian VanDyke
- GridView and DropDownList
- Prev by Date: RewriterRule not working for alias domain name
- Next by Date: Re: Spider and get tag information of one web page
- Previous by thread: Re: GridView and DropDownList
- Next by thread: RE: GridView and DropDownList
- Index(es):
Loading