datagrid
-
hi, i have a textbox and a datagrid....wen i enter any text in the textbox and wen i click on an update button i want the datagrid to be updated..... i know the code has to be written in the update button press....but i dont know how to proceed from here.....:( please help..... also any urls that will explain the basic datagrid usage will be good thanking you j
-
hi, i have a textbox and a datagrid....wen i enter any text in the textbox and wen i click on an update button i want the datagrid to be updated..... i know the code has to be written in the update button press....but i dont know how to proceed from here.....:( please help..... also any urls that will explain the basic datagrid usage will be good thanking you j
On the button click event write this code
dataGridView1.Rows.Add(textBox1.Text);
Of course you have to add one column to the datagridview at design time.
Trustapple wrote:
also any urls that will explain the basic datagrid usage will be good
Try these links [^] Hope it helps.
There are 10 kinds of people: those who understand binary and those who don't
-
On the button click event write this code
dataGridView1.Rows.Add(textBox1.Text);
Of course you have to add one column to the datagridview at design time.
Trustapple wrote:
also any urls that will explain the basic datagrid usage will be good
Try these links [^] Hope it helps.
There are 10 kinds of people: those who understand binary and those who don't
hi Andrei, you are awesome..... thankyou for helping me so much....... hope to catch you again :) cheers jiju j