Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

navigating records on web forms?

Status
Not open for further replies.

CGreenMTU

Programmer
May 27, 2004
61
US
I'm setting up a database link between Microsoft Access and VB.NET (ASP.NET). my forms are created and bound using the oledbdataadapters wizard. On my forms i will be displaying records from the database according to the companies system, which they will use the forms to look up and update/insert data to the database. I am using textboxes, drop-down lists, and checkboxes on my forms. I have the textboxes bound, however, I do not know how to bind the drop-down lists and fill them with data from the database tables in access.

As i mentioned, I have the textboxes bound like this:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Not IsPostBack Then
daNewClaim1.Fill(DsNewClaim1)
txtInsCo.DataBind()
txtPolicyID.DataBind()
txtPolicyNumber.DataBind()
txtClaimNUmber.DataBind()
txtInsClaimNumber.DataBind()
txtDateClosed.DataBind()
txtReopened.DataBind()
txtReClosed.DataBind()
txtReportDate.DataBind()
txtDateofLoss.DataBind()
txtTimeofLoss.DataBind()
txtCityofLoss.DataBind()
txtStofLoss.DataBind()
txtTractor.DataBind()
txtTrailor.DataBind()
txtVIN.DataBind()
ckbUnladen.DataBind()
ckbTPA.DataBind()
ckbSubro.DataBind()
txtLast.DataBind()
txtFirst.DataBind()
txtMiddle.DataBind()
txtLicNum.DataBind()
txtLicSt.DataBind()
txtStartDAte.DataBind()
End If

can anyone help me? thanks alot
 
i'm sorry, i posted the wrong Thread Name to this topic. However, I also do need to know how to add code to command buttons in order to navigate different records on a web form. can anyone help me with this also? thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top