Posted on: 12/3/2013 11:46:13 PM | Views : 807

Hi,
How can I convert the result of my query into an array List?
 rdr = cmd.ExecuteReader();  while (rdr.Read())  {
       int field01 = rdr.getInt32(0);
       string field02 = rdr.getString(1);
        int field03 = rdr.getInt32(2);
       string field04 = rdr.getString(3);
       /* How to pass the rdr result into arrayList?  */
}
I want to create a html table with the values, maybe it is a better way to do this.
Thanks!

Go to the complete details ...