I found the answer:
http://msdn2.microsoft.com/en-us/lib...01(VS.71).aspx
I made small changes to the C# example to make it work for a DetailsView control instead of a GridView.
Hope that helps someone.
Lazy
User Profile
Collapse
-
how to add a TextBox to TemplateField in C#?
Hi,
custom DetailsView or Table with controls?
For various reasons, I need to generate the edit controls in a DetailsView programmaticall y. I already do this to display an item, so Item mode is fine, and the snippet below does the work.
But I've been struggling mightily to make edit mode work.
So the first question is, should I customize a DetailsView control, or should I build a table...
No activity results to display
Show More
Leave a comment: