Normally i think we cannot data to template columns, but there is an
other way around ... like you can write script to bind a DATAFIELD to
the Textbox in the Header Template.
ex:
....
<HeaderTemplate >
<input type=text value='<%#
DataBinder.Eval (Container.Data Item,"DATAFIELD ").ToString())% >'
</HeaderTemplate>
....
DATAFIELD can be any field in the DATASOURCE bound to the DATAGRID.
"Vijaya" <an*******@disc ussions.microso ft.com> wrote in message news:<03******* *************** ******@phx.gbl> ...
Can we bind data to textbox in a headertemplate in a
template column of a datagrid?
If so please give some code snippets.
Thank you