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
Violeta Popa
NA
137
164k
how to refresh the dataset
Apr 14 2013 11:19 AM
Hello :) I have a combobox which is filled with a fillbytoolstrip but before filling the cb i want to refresh the dataset, how can i do that?
private void adaugaContract_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'asigurariDataSet.client' table. You can move, or remove it, as needed.
this.clientTableAdapter.Fill(this.asigurariDataSet.client);
fillBy2ToolStripButton_Click(sender, e);
}
private void fillBy2ToolStripButton_Click(object sender, EventArgs e)
{
try
{
this.clientTableAdapter.FillBy2(this.asigurariDataSet.client);
}
catch (System.Exception ex)
{
System.Windows.Forms.MessageBox.Show(ex.Message);
}
}
Reply
Answers (
7
)
c#.net code
C# - Input string was not in correct format!