srini medi

srini medi

  • NA
  • 1
  • 0

dynamic hyperlink text in datagrid

Oct 15 2006 1:16 PM

Hi,

My application is a simple C# desktop application. No ASP, No Web.

I am using a datagrid with 8 columns. One of them is status. This status column has various text values like "correct", "Incorrect", "Completed", "Pending". I am changing the text depending on the status of each record. My requirement is to convert "Pending" alone into a hyperlink or Link with a different color. All others remain in normal color. When the user clicks this link, I need to open another window showing the reasons etc.

Is it possible to convert a single text into a link? If Yes, please guide me.

Thanks & Warm Regards