actually there is no built-in function to do that in ADO.Net.Here you have a post on the ms ng which states that and provide some code to implement a GetRows methodwww.dotnet247.com/247reference/msgs/14/71972.aspx