Populating datagrid thru command
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
ExecuteScalar() executes the command and return a single value
Thanks in advance.