Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Dears
i want to set an offer name for savefiledialog.
when user click the save button in filename box,program offer a name and user can change it.

Thanks.....
Posted

Hi,
Try this:
C#
saveFileDialog1.FileName = "file1.txt";



--Amit
 
Share this answer
 
Comments
Unareshraju 1-Aug-12 6:39am    
i also same thing
siasalar 1-Aug-12 6:47am    
Thank you dude.
If you see the documentation from microsoft:

http://msdn.microsoft.com/en-us/library/sfezx97z.aspx[^]
 
Share this answer
 
v2
Comments
siasalar 1-Aug-12 6:45am    
i saw it but i didnt understand how can i set offer name;
by the way Thank You dear.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900