string Val=""; //Check dataset Tables Count like: Dataset ds=new Dataset(); if(ds.Tables.Count > 0) { // Check Rows Count in Each Table like if(ds.Tables[0].Rows.Count > 0) { //Retrieve value like Val=ds.Tables[0].Rows[0]["Field1"].Tostring(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)