I’m trying to edit the data of a column. I load the column in textboxes and let the user edit the fields. But now to insert it, I know I can delete the column and add a new one, but couldn’t I just overwrite the data in the column?
Thanks!
'Edit Customer
Dim bllKlant As New bllKlant
Dim objKlant As New Klant
objKlant.KlantNaam = txtNaam.Text
objKlant.KlantBtwNr = txtBtw.Text
objKlant.KlantCode = txtCode.Text
objKlant.KlantAdminLidID = ddlLeden.SelectedValue
objKlant.KlantDealerID = ddlDealers.SelectedValue
'Edit+ checks
bllKlant.bewerkKlant(objKlant)
In bllKlant I call the function to insert/update the column.
In dalKlant I use the function and return a boolean whether the update was successful.
Klant = Customer, it’s just in dutch.
Okay, here is how I solved it.
In the aspx.vb page I did the following
In the bllCust:
Then finally in the dalCust:
That’s how I did it. I also translated the dutch to english so everyone understands it better.