Hi all

In my window form project I want to display only 2 columns among 3 columns Of my BRAND datatable in LISTVIEW

column 1 BRANID display in listview
2 BRANDNAME display in listview
3 ID don't want to display in listview

all brand & it's id display in listview properly
but now i want to select(click) any one row from listview and get all three(NOT TWO) textbox.text from datatable BRAND
please help me

Recommended Answers

All 2 Replies

If I read you correctly then try this
Select Brand, Brandname From Brand

but now i want to select(click) any one row from listview and get all three(NOT TWO) textbox.text from datatable BRAND

Use SQL Statement.

Select BRANID, BRANDNAME, ID From BRAND 
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.