linkco 0 Newbie Poster

Hello,

I hope you guys could give a direction into this,

I have 2 tables,

1st table has "TeacherID"(prymary autoincrement), "Teacher Name"
2nd table has "classID"(primary, autoincrement), "TeacherID"(relatioship with first table) and "Class name"

Ok, i made one form to enter teacher's name which i had no issues with, then i made the second form to update the second table it has a combobox where the teachers name are showed (populated from the DB) I need to select one teacher from the drop box and enter the class name and update the second table with tracherID as well pulled from the first table to make the relation between what teacher is giving what classes.

Any ideas? i am using VB.NET 2005 with Mysql Connector.net

Thanks

Jose

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.