title: Is it possible to get column name (header) in SQLite using C#?
body: <p>Is it possible to get column names(Header) if table and columns are generated code'behind in sqlite?</p>
  
  <p>tried this but it fail:</p>
  
  <pre><code>SQLiteCommand cmd = new SQLiteCommand();
  
  string sSQL = "Select * from tblUser Where username = '" + txtUsername.Text + "'";
  cmd.CommandText = sSQL;
  cmd.Connection = clsCon.con;
  SQLiteDataReader dr2;
  dr2 = cmd.ExecuteReader();
  string columnName = dr2.GetName(1);
  dr2.Read();
  
  if (dr2.HasRows)
  {
      MessageBox.Show("Username Already Exist!", "SQLite Test Application", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
      txtUsername.Focus();
  }
  </code></pre>