Posted on: 11/23/2012 1:32:30 AM | Views : 441

Hi,
How to set (from datatble) asp hyperlink text and navigateurl via c#.
I am using the following code.
 lnk_vendornm.Text = dt_vendors.Rows[0]["Vendor_url"].ToString().Substring(0, 50).Insert(50, "...");//dt means datatable here.
lnk_vendornm.NavigateUrl =dt_vendors.Rows[0]["Vendor_url"].ToString();
Its not working correctly. Here since url is large I am trying to show part of url as text. Pls give suggesstions
Thanks.
Saritha.

...

Go to the complete details ...