TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rohit pandarkar
NA
1
1.2k
How do i write the user input from my form into text file
Jun 13 2014 6:06 AM
i want the text file created by this code to send to server by using mail as i provided email code in my CS file
i used following code but its not enough
using (StreamWriter sw = new StreamWriter(@"D:\text.txt"))
{
sw.WriteLine("Name = " + txt_name.Text);
sw.WriteLine("Address = " + txt_ContctNo.Text);
}
using this it doesnt create new text file .manually u have to create it first
Reply
Answers (
2
)
read an xml and write data into database table
operators