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
Kedar Pawgi
1.6k
136
63.5k
Printing sql query result into text file
Mar 10 2012 9:18 AM
Hi All
i am facing big problem. I am fetching rows from a table, I have shown them in gridview. I want to print them in text file instead of exporting it, means when user click print button, it should open word pad with properly formatted text with header and after ever 30 rows a form feed. I got query working properly but i am not getting how can i send the result to text file using textwriter or streamwriter. I am using ADODB recordset.
Please guide me asap.
Thanking You in advance.
Please give code for ADODB
Reply
Answers (
0
)
Play a video in window form
Image