Dot NET + SQL Server
Pages
Home
Monday, 20 January 2014
How to read more than one table from database using DataReader
if (dr.HasRows)
{
while (dr.Read())
{
}
}
if (dr.NextResult())
{
if (dr.HasRows)
{
while (dr.Read())
{
}
}
}
dr.Close();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment