this is a error when i click the button add

Rows cannot be programmatically added to the DataGridView's rows collection when the control is data-bound.

DataGridView1.Rows.Add((txtPelan.Text), (txt36P.Text))

\
anyone can help me?

you have to add it first to your dataset. and then you can add this row.

here is some sample code that you need to adjust a bit but it gives you the idea

Dim rwNewData As DATASETRujukanRekod.RekodAnggaranRow
        Dim daNewdata As New DATASETRujukanRekodTableAdapters.RekodAnggaranTableAdapter
        rwNewData = DATASETRujukanRekod.Tables("whatTable").NewRow
        rwNewData.ItemArray = New Object() {"38", "bla"}
        DATASETRujukanRekod.Tables("whatTable").Rows.Add(rwNewData)
        RekodAnggaranTableAdapter.Fill(DATASETRujukanRekod.RekodAnggaran)
commented: nice example. +1