What is the purpose of using CommandType.Tabledirect?
CommandType contains names that specifies how a command string is interpreted. CommandType.Text for an SQL text command. (Default.) CommandType.StoredProcedure for the name of a stored procedure. CommandType.TableDirect for the name of a table. All rows and columns of the named table will be returned when you call one of the Execute methods. NOTE: TableDirect is … Read more