문제

Is it possible to make the input of textbox as column header in listview and table column in mysql?

I want to make something like this:

textbox: name

listview columnheader: name

table column: name

another input:

textbox: year

listview columnheader: name    year

table column: name    year

How to achieve this one? I can't search this on net. Just asking if this is possible in vb6 and mysql as database. Thanks!

도움이 되었습니까?

해결책

You can add columns dynamically using the ListViewColumnHeaders.Add() method, something like:

ListView.ColumnHeaders.Add , , Text1.Text, 2000, lvwColumnLeft 

The first two parameters (omitted in my sample) allow you to specify the index (to control the position) and an optional key value to refer to the column later on.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top