Merhaba arkadaşlar,

web.config dosyasına veritabanı bağlantısını oluşturdum.Ancak problemim şu bu bağlantıyı kullanacağım sayfada

public partial class _Default : System.Web.UI.Page
{
    string connection = ConfigurationManager.ConnectionStrings["connect"].ConnectionString;
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void giris_Click(object sender, EventArgs e)
    {
        SqlCommand check_login = new SqlCommand("Select * From users",connection);
    }
}
bu kodu kullanıyorum login işlemine başlamak için ama şu hatayı alıyorum

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS1502: 'System.Data.SqlClient.SqlCommand.SqlCommand(string, System.Data.SqlClient.SqlConnection)' ile en iyi eşleşen tekrar yüklenen yöntem bazı geçersiz bağımsız değişkenlere sahip
tabloya bağlandığım cümlede hata olduğunu söylüyor ama ne gibi bir hata olduğunu anlayamadım.
Yardımcı olacak arkadaşlara şimdiden teşekkürler.