R
Rbrt
I have a custom insert template in a formview control. If you create formview
insert and update templates at design time, you can bind their controls to a
datasource using the Bind syntax, for example,
<asp:textbox id="TextBox1" text='<%# Bind("dbField") %>' .../>
However, when you are building a template at run time in code, this does not
work. What is the way to do this when building templates in code at run time.
The objective is to build the template so that I can get at its data when the
page is posted so it can be inspected and processed in a business layer
object.
Thank you.
insert and update templates at design time, you can bind their controls to a
datasource using the Bind syntax, for example,
<asp:textbox id="TextBox1" text='<%# Bind("dbField") %>' .../>
However, when you are building a template at run time in code, this does not
work. What is the way to do this when building templates in code at run time.
The objective is to build the template so that I can get at its data when the
page is posted so it can be inspected and processed in a business layer
object.
Thank you.