stringisnullorwhitespacehyptestlink
|
|
|
Monday, 30 January 2012 07:48 |
// get the value of hyperlink filed in asp.net
DataNavigateUrlFields="TestId" DataNavigateUrlFormatString="~/Test.aspx?TestId={0}" />
HyperLink hypTestLink = (HyperLink)Gv.Rows[gvRow.RowIndex].Cells[testLinkcolumnindex].Controls[0];
ViewStateLinkData = string.IsNullOrWhiteSpace(hypTestLink .Text) ? 0 : Convert.ToInt32(hypTestLink .Text);
 Read more: |
|
|
|
|