I dont know how to link my table to the database yet i already finished connecting to the application itself.
i have four fields on the form as well in the database table. that is
1.word
2.lug_trans
3.Eng_trans
4.meaning
the same fields appear in the database tables.
i have to fill and hen after extract the data and display it on another form in four labels
i wish someone could help me

lets see your code that you have so far.

ok the code i have generated sofar is hee

Dim cconnection As String = "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\LugWdLib\LugWdLib\Database1.sdf"

Dim ebigambo As String = ekigambo.ToString() & "-" & lug_meaning.ToString() & "-" & word.ToString() & "-" & eng_meaning.ToString()
Dim sqlStr As String = "insert into word_name(ekigambo,lug_meaning,eng_meaning,word)values('" & ekigambo.Text.ToString & " ','" & lug_meaning.Text.ToString() & "','" & eng_meaning.Text.ToString() & "','" & word.Text.ToString() & "')"

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.