468,293 Members | 1,858 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,293 developers. It's quick & easy.

grid view control(TemplateColumn)

how can I add a templateColumn Dynamically, to a GridView Control ?
Dec 3 '07 #1
2 938
mzmishra
390 Expert 256MB
There is something in asp.net 3.0

TemplateField bfield = new TemplateField();
bfield.HeaderTemplate = new GridViewTemplate("","");

bfield.ItemTemplate = new GridViewTemplate("","");
Grd.Columns.Add(bfield);
Dec 3 '07 #2
Shashi Sadasivan
1,435 Expert 1GB
TemplateField is a part of the .Net 2.0 Framework, and is supported by .Net 3.5
Dec 3 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.