Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

data binding?

$
0
0
i have an access database with about 50 or so fields that is on my server. my app has lots of text boxes, check boxes, combo boxes and radio buttons that handle all the data. i save the data like this:

If Me.TextBoxJobName.Text <> String.Empty Then row("jobname") = Me.TextBoxJobName.Text
row("laserletter") = Me.CheckBoxLaserLetters.CheckState
row("permittype") = Me.ComboBoxPermitType.Text

etc., etc.

i use a data adapter, data table, command builder to save and update.
i use a data reader to load the controls with all my data

should i be using data binding instead? Is there a real advantage to using data binding?

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>