It has been over a year since I last worked with ASP.Net and that was .net 1.1. I am now working with VS2005 (.net 2.0) and all the new features that comes with it.
I am binding an xml file to the grid view. When the binding occurs I want to generate controls depending upon the data in the row.
example:
thanks for your help
Jason Meckley
Programmer
Specialty Bakers, Inc.
I am binding an xml file to the grid view. When the binding occurs I want to generate controls depending upon the data in the row.
example:
Code:
3 nodes in xml file = 3 rows in grid view
each node has an attribute named "type"
if type = text
create textbox in template column
else if type = date
create datetextbox (custom control) in template column
else if type = hidden
create hidden field with default value
else
throw exception "invalid control type"
endif
Jason Meckley
Programmer
Specialty Bakers, Inc.