Populating datagrid thru command
Hi,
Is there any way out to execute a cmd(command) and get the result in a gatagrid ?
As ExecuteNonQuery() executes the command but does not return any output,
ExecuteReader() executes the command and return a typed IDataReader
and
ExecuteScalar() executes the command and return a single value
Please help
Thanks in advance.
|