Here's my code behind in the Page Load event:
string connString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
SqlConnection conn = new SqlConnection(connString);
conn.Open();
SqlCommand command = conn.CreateCommand();
command.CommandText = "Select FormPage From Forms Where UserID = '" + Membership.GetUser().ProviderUserKey + "'";
string FormURL = command.ExecuteScalar().ToString();
And here's my hyperlink attempt inside the gridview control:
|