How to add a new record in DataGridView? (For Web Project)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have two textboxes. When i click "ADD" button,
I want the content of textboxes added to the
DataGridView. But I don't know how to write the syntax in Visual Basic
DOT NET.

Anyone can help me? Thanks a lot
 
Hi,

The datagridview is to show data in a data or any other collection.

Therefore you have to add the data in your textbox to that collection.

Cor
 
I thought that I wrote somewhere else already that the DataGridView is not a
control from a webproject

Cor
 
yes, you are right. DataGridView is for windows application.

Thanks

Where can i find your DataGridView code?
 
Back
Top