Helloi am making some application using vb.net 2010 and sql server 2005, i have 12 columns in my table 'Beini' and have datagridview1. Usign the following code i can populate all data stored in sql database to datagridview1.Dim cmd As SqlCommand = New SqlCommand( ' Select. FROM Beini', conn)conn.OpenDim myDA As SqlDataAdapter = New SqlDataAdapter(cmd)Dim myDataSet As DataSet = New DataSetmyDA.Fill(myDataSet, ' Beini')DataGridView1.DataSource = myDataSet.Tables( ' Beini').DesignModeconn.closemy problem is i didn't know how to Add, Delete And Update Database from Datagridview1thank youi hope you will help me. When answering a question please:.
Read the question carefully. Understand that English isn't everyone's first language so be lenient of badspelling and grammar. If a question is poorly phrased then either ask for clarification, ignore it, oredit the question and fix the problem. Insults are not welcome. Don't tell someone to read the manual. Chances are they have and don't get it.Provide an answer or move on to the next question.Let's work to help developers, not make them feel stupid.