Tzu ng
Tzu ng

Reputation: 9244

How to get Items from Database to Combobox and textBox

I have a table from Sqlite:

KHACHHANG(id,name,email,phone,address).

I want to create a windows form which show a combobox of KHACHHANG.name , when I choose a name in that list . Another textboxes ( Email,Phone,Address ) will auto fill in :) Thanks so much .

Upvotes: 0

Views: 799

Answers (1)

President James K. Polk
President James K. Polk

Reputation: 42018

See if this page can get you started. There is an example at the bottom.

Upvotes: 1

Related Questions