.net - Getting Error while filling GridView from DataTable in c# -


i need fill data grid oracle. if try fill getting error. reading data table contains column of type row.is there solution problem.

string sqlcommand = "select * v$session" datatable dtdata = new datatable(); using (oraclecommand cmd = new oraclecommand(sqlcommand, connection))  {     oracledatareader rd = cmd.executereader();    dtdata.load(rd);  } datagridview1.datasource = dtdata; 

error


Comments