cambio en propiedades, extension y path, de "Archivo"
This commit is contained in:
@@ -152,7 +152,7 @@ public partial class CRM_CatEmpresasCRM : ClsPaginas
|
|||||||
if( TxtExcel.getfiles().Archivos.Count > 0 )
|
if( TxtExcel.getfiles().Archivos.Count > 0 )
|
||||||
{
|
{
|
||||||
Archivo file = TxtExcel.getfiles().Archivos[0];
|
Archivo file = TxtExcel.getfiles().Archivos[0];
|
||||||
string Directorio = Server.MapPath("~") + file.patch;
|
string Directorio = Server.MapPath("~") + file.path;
|
||||||
|
|
||||||
DataTable dt = ReadExcelFile(Directorio + file.filename, true);
|
DataTable dt = ReadExcelFile(Directorio + file.filename, true);
|
||||||
DataRowCollection Rows = dt.Rows;
|
DataRowCollection Rows = dt.Rows;
|
||||||
|
|||||||
Reference in New Issue
Block a user