Lately I was having some problems trying to customise a GridView control to use a dropdownlist. After playing around with the TemplateField for a bit and then consulting my pal Ramal, I finally deduced how to include a dropdownlist and two-way bind it nicely. Admittedly however, this took too much time.
I'm now posting to refer you to a site that gives a good example of how to use the TemplateField in the GridView in the event that you are in the painful situation I was in a couple weeks ago.
So, here's the link to the article - Using TemplateFields in the GridView Control (in VB and in C#)
tagged: professional // Comments [0]
Related posts:Select a random row in MS SQL...Regular expressionsVS2005, ASP.NET 2 & DLLs, DLLs..MS's ASP.NET and.. PHP2-way databinding cascading drop down lists within a FormViewApplicationName Property when customising providers
Disclaimer The posts on this blog are provided "AS IS" with no warranties. The opinions expressed herein are my own personal opinions and do not represent any other person's views in anyway.