Simple question: I have a button field in my gridview, and I want to redirect to an edit page which displays the row data. I think I need to use datakeys for this, but I don’t know the steps. How do I place the query into the response.redirect url? The identifying field is SubId.
Response.Redirect("~/View.aspx?*whatgoeshere?*");
And also, anybody know why despite my horizontal align=right selection (in design mode, so no syntax issue) my gridview insists on left-aligning one of my fields? It’s autoformatted to a skin from vs.
Simply you can do like…