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
Bidyut Chandra
NA
1
1.3k
How to save database output to a file in D drive using c#
Nov 5 2014 5:42 AM
i want to display or save the output in a particular folder/file. But can't understand how to do.
Here's the code where i blocked. Help me.
private void button1_Click(object sender, EventArgs e)
{
sql = "select * from booking where b_no='" + textBox1.Text + "'";
ds = new DataSet();
ds = DataGetSet.GetData(sql);
for (i = 0; i < ds.Tables[0].Rows.Count; i++)
{
label3.Text = ds.Tables[0].Rows[i][1].ToString();
label4.Text = ds.Tables[0].Rows[i][2].ToString();
label5.Text = ds.Tables[0].Rows[i][3].ToString();
}
}
Reply
Answers (
2
)
how to insert date in sql server as 31-12-9999.
it is being by another process when copy file