Fetch complete table from sql server 2008 using c#
I am struggling with all the API's.Still couldn't figure out anything usefule.

Basically I want something like 
object ret=sqlCommand.query(param);
while((ret=sqlCommand.query(param))!=null)
{
/*parse ret*/
}


Fetch complete table from sql server 2008 using c#
===

I am struggling with all the API's.Still couldn't figure out anything usefule.

Basically I want something like 
object ret=sqlCommand.query(param);
while((ret=sqlCommand.query(param))!=null)
{
/*parse ret*/
}

