Click here to Skip to main content
15,885,365 members

Comments by Vikas Hire (Top 36 by date)

Vikas Hire 13-May-17 5:08am View    
I did not found in doc. anything about related to my question
Vikas Hire 26-Jan-17 1:07am View    
typing mistake
Vikas Hire 20-Jan-17 0:32am View    
yes, I found the solution on it. Just two line code I insert in my existing code.

first line for get server's folder path that I want to save my file..
second line of code Creating the file name..
and third line of code save the file in folder.


string strPath = HostingEnvironment.ApplicationPhysicalPath + @"TempFiles/";
string fileName = Uid + "ContactList.xls";
File.WriteAllText(strPath + fileName, sw.ToString());
Vikas Hire 11-Jan-17 1:52am View    
Where I should place this code in my application

MyApp = {
config:{
property1:'value1',
property2:'value2'
}
}
Vikas Hire 10-Jan-17 8:17am View    
I think it would be work, but I get error. I already get convert the table tblUserInfo into json so this json not converting to ison object (please see my code above)