Hi,
I'm trying to create a login page.  My code is below.  When running this code a get this error: Cannot convert method group 'Read' to non-delegate type 'bool'. Did you intend to invoke the method?  Can anyone help?
 
protected void Page_Load(object sender, EventArgs e)
    {
        SqlConnection connect = new SqlConnection("MyConnectionString");
        //connect.Open();

        SqlCommand cmd = new SqlCommand();
        cmd.CommandText = "Select * From tbl_Login";

        cmd.Connection = connect;
        if (connect.State == ConnectionState.Closed) connect.Open();
        SqlDataReader dr = cm ...

Go to the complete details ...