I'm working on a web application and I have a datagridview which is bounded to a dataset. It's working..but i need to put a condition to one of the columns..and i don't know how because the variable type refers to a columns in a table from the database. Please help!
if type=1
else if type=2

Iftikar HussainPosted Jun 24, 2013, 1:05 PM
Instead of using BoundField use TemplateField as shown below
Regards,
Iftikar
Remember to click "Mark as Answer" on the post, if it helps you.