Posted on: 1/21/2015 11:46:30 PM | Views : 501

Hello Everyone,
Would you guide me in resolving the following issue. I am trying to query aspnet_Profile table in SQL Server using a parameter provided via a web page textbox. A web page user would enter his/her user name in the provided textbox and after submission the query would run and  if it is found in the database use that user name as a parameter to bring up/display all information for that user. But this is the final goal, for now what I am trying to do is to simple to get the parameter from a textbox and display the result in a Gridview control.
Below is my C# code, I am unable to run it (VB.Net will not let me run given the errors that show-1, 2, and 3 mentioned below). Also, it is probably still incomplete (hence my need of your help to help me see through it):

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserAccess.aspx.cs" Inherits="DirectSales.UserAccess" %>
Go to the complete details ...