2
Answers

how to get value of other column while one column is checked in datagridview

Muhammad younas

Muhammad younas

14y
1.8k
1
hi frnds
i want to get the value of a column in datagridview while another column in same row like idcolumn is checked in c# wndows aplication.
thnx in advance
Answers (2)
1
programmerAt
NA 3 4.6k 14y
Hi, Thanks I removed httpUtility.UrlEncode from view.aspx page and it worked.
1
Krishna Garad
NA 16.5k 6.2m 14y
Hi..
Welcome to Csharpcorner
Normally this error occur when we are trying to access the resource which is not available. In your case check out view.aspx location means see is it present in any directory.If it is then try like

Hyperlink.NavigateUrl = "~/view.aspx?ReturnUrl=" +
HttpUtility.UrlEncode(Request.Url.AbsolutePath); 

As well your target url must be able to Decode.