M
mirin
I have an unbound gridview named grdTemp.
On the click of a button, I bind grdTemp to a datasource as below:
grdTemp.DataSource = dsTemp;
grdTemp.DataBind();
Works fine and I can see the data.
The datasource returns records with three text fields and one boolean
field
What I need is to be able to display the text values in textboxes and
the boolean value in a checkbox.
How can I achieve this?
I know how to do this on a bound gridview using templatefields. But I
really need to use an unbound gridview since my actual data will be be
based on complex conditions.
Much appreciate any help
On the click of a button, I bind grdTemp to a datasource as below:
grdTemp.DataSource = dsTemp;
grdTemp.DataBind();
Works fine and I can see the data.
The datasource returns records with three text fields and one boolean
field
What I need is to be able to display the text values in textboxes and
the boolean value in a checkbox.
How can I achieve this?
I know how to do this on a bound gridview using templatefields. But I
really need to use an unbound gridview since my actual data will be be
based on complex conditions.
Much appreciate any help