title: invalid column name 'True' the error, SQLException was caugh: "Invalid column name 'True'."
body: <p>This codes in DBClass.cs</p>
  
  <pre><code>    public DataTable Fill(string sql, params SqlParameter[] prms)
              {
                  SqlCommand cmd = new SqlCommand(sql, cnn);
  
                  if (prms != null)
                  {
                      cmd.Parameters.AddRange(prms);
                  }
  
                  SqlDataAdapter da = new SqlDataAdapter(cmd);
                  DataTable dt = new DataTable();
  
                  try
                  {
                      da.FillSchema(dt, SchemaType.Source);
                  }
                  catch (Exception hata)
                  {
                      System.Windows.Forms.MessageBox.Show("Test");
                  }
  
                  da.Fill(dt);
                  return dt;
              }
  </code></pre>
  
  <blockquote>
    <p>MainMenu.cs // this is main part, and below button means new student registration button</p>
  </blockquote>
  
  <pre><code>private void yeniÖğrenciKaydıToolStripMenuItem_Click(object sender, EventArgs e)
          {
  
              if (Yetki.YetkiVarmi(AnaMenu.Yonetici_id, Modul.ÖğrenciKaydı, YETKI.OKU) == true)
              {
                  OgrenciKaydiOlustur ogrenciKayitFormunuGoster = new OgrenciKaydiOlustur();
                  ogrenciKayitFormunuGoster.ShowDialog();
                  ogrenciKayitFormunuGoster.Dispose();
              }
              else
              {
                  MessageBox.Show("Yetkiniz Yok");
              }
          }
  </code></pre>
  
  <p>Yetki.cs //Yetki means permission</p>
  
  <blockquote>
    <p>this modul includes the application of menu names
    public enum Modul </p>
  </blockquote>
  
  <pre><code>    {
          ÖğrenciKaydı = 1,
          ÖğretmenKaydı = 2,
          DanışmanKaydı = 3,
          AşamaListesi = 4,
          ÖğrenciAşamaAtaması = 5,
          ÖğrenciListesiRaporu = 6,
          ÖğretmenListesiRaporu= 7,
          ÖdemeListesiRaporu = 8,
          Yetki=9,
          AnaEkran =10
      }
  </code></pre>
  
  <blockquote>
    <p>//this enum says, Ekle=Add, Guncelle =update , SIL = Delete, OKU=Read</p>
  </blockquote>
  
  <p>public enum YETKI </p>
  
  <pre><code>    {
          EKLE,
          GUNCELLE,
          SIL,
          OKU
      }
  
  public static bool YetkiVarmi(int Yonetici_id, Modul modul, YETKI yetki)
              {
                  string sql = "SELECT * FROM YETKI WHERE " + yetki.ToString() + "=True ";
                  sql += " AND YONETICI_ID=" + Yonetici_id + " AND MODUL_REFNO=" + Convert.ToInt32(modul);
  
                  bool sonuc = false;
  
                  DBClass db = new DBClass();
                  DataTable dt = db.Fill(sql);
  
                  if (dt.Rows.Count &gt; 0)
                  {
                      sonuc = true;
                  }
  
                  return sonuc;
              }
  </code></pre>
  
  <blockquote>
    <p>and i got that error</p>
  </blockquote>