*Online Examination System

Heading Here

Dear friends
i have to develope online examination system in vb.net ...but there is some problem ..
Inserting teacher record from combobox,Subject record from Listbox into a table name Subj_Paper..
columns are Sbj_Paper_ID,Sbj_Paper_Name,T_ID...
Sbj_Paper_ID isa the primary key
T_Id is foreign key from Teacher table ...............**

Post your codes so we can help you easily

Is your table a datagrid or a database ?
what's the error ?

a wild guess

        DataGridView1.Rows.Add(1)
        DataGridView1.Rows(0).Cells("T_ID").Value = ComboBox1.Items(0)
        DataGridView1.Rows(0).Cells("Sbj_Paper_Name").Value = ListBox1.Items(0)
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.