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.DataItem,"DATAFIELD").To String())%>'
</HeaderTemplate>
....
DATAFIELD can be any field in the DATASOURCE bound to the DATAGRID.
"Vijaya" <an*******@discussions.microsoft.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