Is it possible to use code before displaying columns on
the datagrid to change a column based on a condition?
Here is what I want to do: I Have a field "Engraving" in
the database that if True, I want to display "Yes" and an
Add button next to it. If false, just "No".
I use this to get the data from the database:
Datalist.DataSource = Catalog.GetProducts(CategoryId)
******************
Can I put code here before displaying the datagrid????
I want to check the "Engraving" field here and take
action based on T or F.
******************
Datalist.DataBind()
Thanks
the datagrid to change a column based on a condition?
Here is what I want to do: I Have a field "Engraving" in
the database that if True, I want to display "Yes" and an
Add button next to it. If false, just "No".
I use this to get the data from the database:
Datalist.DataSource = Catalog.GetProducts(CategoryId)
******************
Can I put code here before displaying the datagrid????
I want to check the "Engraving" field here and take
action based on T or F.
******************
Datalist.DataBind()
Thanks