How will you get result from two table in SqlDataReader ?

Syntax:

string str="Select * from table1;Select * from table2";
cmd.commandtext=str;
dr=cmd.executereader();

No comments:

Post a Comment