private void btnRefresh_Click(object sender, EventArgs e)
{
try
{
ds.Clear();
this.dataGridView1.DataSource = null;
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
Note:
DataSet ds = new DataSet();
Wednesday, March 9, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment