To Display Records from a File into txt file based on DropDownlist value

Posted by Anishabathija under C# on 1/2/2013 | Points: 10 | Views : 621 | Status : [Member] | Replies : 1
hey ,

I have a file and dropdownlistlist.
When the user selects the value from the ddl and clicks on the submit button.
I must generate a txt file with records corresponding to the dropdownlist value into a txt file. Could you please help me a could , so I can work on a base.
This is a windows app.

Urgent !!


Posted by: Sakthi.Singaravel on: 1/8/2013 [Member] Silver | Points: 25

use Stream writer for write text files...

using (StreamWriter writer = new StreamWriter("C:\\log.txt", true))

writer.WriteLine("DropDowmList box data");

Singaravel M

Anishabathija, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response