Guys within C# ASP.Net I am trying to generated a Select Query as follows
where @Email is obtained from a text box.
What should I be doing next to obtain the results from the query?
SqlDataSource SQLDataSourceUsersDB = new SqlDataSource();
SQLDataSourceUsersDB.ConnectionString = ConfigurationManager.ConnectionStrings["ConnectionString"].ToString();
SQLDataSourceUsersDB.SelectCommandType = SqlDataSourceCommandType.Text;
SQLDataSourceUsersDB.SelectCommand = "SELECT * FROM Users WHERE Email = @Email";
SQLDataSourceUsersDB.SelectParameters.Add("Email", txtEmail.Text.ToString());