Click here to Skip to main content
15,881,882 members

Comments by Sambit_Sahoo (Top 9 by date)

Sambit_Sahoo 10-Dec-19 6:03am View    
Can any body please look into this issue
Sambit_Sahoo 9-Dec-19 13:44pm View    
Yes ..I have tried and I am suspecting like in the below line
$scope.ProcessFileName = orderDetails.itemDetails.productFullName + ".pdf";

because when I am changing the above line to like below
$scope.ProcessFileName = orderDetails.itemDetails.productFullName + ".docx"; then it is downloading the docx file.
So please help me to write a condition to check the file type before downloading.If any additional info you want suggest it is highly appriciated.
Sambit_Sahoo 7-Mar-17 9:48am View    
OleDbConnection Excel_OLE_Con = new OleDbConnection();
OleDbCommand Excel_OLE_Cmd = new OleDbCommand();

//Construct ConnectionString for Excel
string connstring = "Provider=Microsoft.ACE.OLEDB.12.0;" + "Data Source=" + FolderPath + ExcelFileName
+ ";" + "Extended Properties=\"Excel 16.0 Xml;HDR=YES;\"";

//drop Excel file if exists
File.Delete(FolderPath + "\\" + ExcelFileName + ".xlsx");
Sambit_Sahoo 8-Mar-16 1:37am View    
Thanks
Sambit_Sahoo 8-Mar-16 1:22am View    
I am a beginner