none
NextRecord Using [DataSet / DataReader] RRS feed

  • Question

  •  

     

    hi

     

    did any can give me good example of code how to do Record Navigation [FirstRecord / NextRecord .....] using dataset / datareader in ADO.NET

     

    please reply urgently

     

     

    Sunday, June 10, 2007 1:35 AM

All replies


  • Code Snippet

            DataSet ds = new DataSet();

            foreach (DataTable dt in ds.Tables)
            {
                foreach (DataRow dr in dt.Rows)
                {               
                      //Access records by row
                }
            }

    Monday, June 11, 2007 9:26 AM