Hey guys! I'm having my form with a Insert Button, a ListView and others. ListView shows all data from a table.
Now I want my ListView automatically reload after I press Insert Button. How can?
p/s: I try "Application.Restart();" but I don't want that way
I need your help, it would be appreciated!
Loading
Lucky LamPosted Oct 27, 2013, 9:57 PM
Anyway thanks so much for caring my question. I wish you guys the best
Lucky LamPosted Oct 27, 2013, 9:28 PM
Jyoti KhanchandaniPosted Oct 27, 2013, 8:25 PM
Lucky LamPosted Oct 27, 2013, 8:07 AM
Jaganathan BantheswaranPosted Oct 26, 2013, 8:38 AM
{
string MSV, HoTen, MaLop;
MSV = textBoxMaSV.Text;
HoTen = textBoxHoTen.Text;
MaLop = comboBoxMaLop.Text;
new DBConnect().Insert(MSV, HoTen, MaLop);
//Code to bind the listview
}
Lucky LamPosted Oct 26, 2013, 8:21 AM
private void bttInsert_Click(object sender, EventArgs e)
{
string MSV, HoTen, MaLop;
MSV = textBoxMaSV.Text;
HoTen = textBoxHoTen.Text;
MaLop = comboBoxMaLop.Text;
new DBConnect().Insert(MSV, HoTen, MaLop);
//Application.Restart();
}
Sanjeeb LenkaPosted Oct 24, 2013, 4:52 AM
if any doubt share your code
Prasenjit DeyPosted Oct 24, 2013, 4:49 AM
Kiran Kumar TalikotiPosted Oct 24, 2013, 4:49 AM