Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

shakazed

Datagrid

This topic is 5968 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! I´m doing a courseschedule in VB but I seem to have stuck. I´m trying to fill a datagrid depending on what you choose from a combobox. I´m trying to manipulate the recordsource depending on what you choose with this code below. Only problem is that nothing happens and I get no errors during compile or runtime. Can u see what´s wrong with it?
  
Private Sub ComboBox1_Change()
Dim holder As Stringholder = "SELECT KursNamn, KursID, Poäng FROM Elev WHERE KursID = " & DataCombo1.BoundColumnadoDatagridKurs.RecordSource = holder
End Sub
  
sHaKaZeD

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!