If a dataset contains 100 rows, how to fetch rows between 10
and 20 only ?
Answer Posted / pra vesh hajela
SqlConnection conn = new
SqlConnection(AppConfiguration.ConnectionString);
SqlCommand cmd = new
SqlCommand("SelectCustomerInfo", conn);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
//da.Fill(ds);
da.Fill(ds, 10, 10, "table");
return ds;
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is ado.net objects?
What does ado stand for in ado.net?
Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!
What are all the commands used with Data Adapter?
How to store data in memory?
What is data relation in ado.net?
Is datareader faster than datatable?
What is the DataTableCollection?
What is dao and ado?
What is ado code?
Which namespaces are used for data access?
Why is ADO.NET serialization slower than ADO ?
What is isolation?
What is ado control?
What are the types of databinding?