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 HussainRank #423 · 5.9K reputationPosted Jun 24, 2013, 9:05 AM EDT
Instead of using BoundField use TemplateField as shown below
Regards,
Iftikar
Remember to click "Mark as Answer" on the post, if it helps you.