Protected Sub cmdUpdate_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim connection As OleDbConnection
connection = New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;Data Source=C:\Users\emong\Documents\Visual Studio 2008\WebSite1\Database\dbLupon.mdb")
Dim command As OleDbCommand
command = New OleDbCommand("UPDATE tblLUPON_C SET REGION_C = '" & lblRegion_C.Text & "', PROVINCE_C = '" & lblProvince.Text & "', CITYMUN_C = '" & cmbCityMun.SelectedValue & "', BARANGAY_C = '" & DropDownList1.SelectedValue & "', POSITION_C = '" & cmbPosition.Text & "', COUNT_C = '" & lblUnique.Text & "', LAST_M = '" & txtLName.Text & "', FIRST_M = '" & txtFName.Text & "', MIDDLE_M = '" & txtMName.Text & "', SUFFIX_C = '" & txtSuffix.Text & "', SEX_C = '" & cmbSex.Text & "' WHERE COUNT_C = @COUNT_C", connection)
command.Parameter.AddWithValue("@COUNT_C",it
connection.Open()
command.ExecuteNonQuery()
connection.Close()
BindGrid()
End Sub
</script>
/*This Line You missed it*/
command.Parameter.AddWithValue("@COUNT_C",it's value)