How to get each and every cell from the dataadapter?

May 9 2012 6:10 AM
{
          string strQuery = "SELECT *FROM [" + Table + "]";
          System.Data.OleDb.OleDbDataAdapter adapter = new System.Data.OleDb.OleDbDataAdapter(strQuery, conn);
          System.Data.DataSet ds = new System.Data.DataSet();
          adapter.Fill(ds);
          return ds.Tables[0];
}

Answers (2)