I am trying to view/open a document but I am getting this error. Please help.
This is my code:
byte[] fileText = (byte[])dataTable.Rows[0]["fileContent"]; //Error occurs here
I am trying to view/open a document but I am getting this error. Please help.
This is my code:
byte[] fileText = (byte[])dataTable.Rows[0]["fileContent"]; //Error occurs here