Question Locked

ComBo Box in Visual Basic 2005 Express Edition

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hai..
I Am new to Visual Basic 2005 Express Edition am Doing a project using Visual Basic Express Edition and Ms SQL.. I dont Know how to access the Data from the database to ComboBox in visual Basic 2005 Express Edition..I have written some codings but it is giving error...please help Me...

2 replies

by janne.o

Hi! I don't know if you got any answer.
but i did like this.
In the formLoad event i have writen this code.

Private Sub frmV_Typ_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'BrygganDataSet.tblF_Typ' table. You can move, or remove it, as needed.

Me.TblA_TypTableAdapter1.Fill(Me.BrygganDataSet1.tblA_Typ)
End Sub

Then you have to use Data bound items in the combobox. you find it if click on the right top on combobox.

you can download a lot of free "how to videos" from Microsoft on this link
http://www.learnvisualstudio.net/content/series/visual_csharp_2005_express_edition_for_beginners.aspx

This discussion is closed to new replies.