Baglanti.FnkBaglan();
SqlCommand KayitSorgulaUsername = new SqlCommand("SELECT Username FROM User Where Username= @Username AND Username IS NOT NULL ", Baglanti.baglan);
SqlCommand KayitSorgulaMail = new SqlCommand("SELECT Mail FROM DatabaseProje.User Where Mail= @Mail AND Username IS NOT NULL ", Baglanti.baglan);
KayitSorgulaUsername.Parameters.AddWithValue("@Username", TxtUyeOlUsername.Text);
KayitSorgulaMail.Parameters.AddWithValue("@Mail", TxtUyeOlMail.Text);
SqlDataReader VeriOkuUsername = KayitSorgulaUsername.ExecuteReader();
SqlDataReader VeriOkuMail = KayitSorgulaMail.ExecuteReader();
System.Data.SqlClient.SqlException:关键字“用户”附近的语法不正确。
在我将值输入到文本框后出现此错误。我该如何解决这个错误?