How would you add column headers in listview control?

Answer Posted / vidyadhar

You can add columns in Listview by using Columns. Add() method. This method takes two arguments, first one is the Column heading and second one the column width. In the above code, "ProductName" is column heading and 100 is column width.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about form creation in Visual Basic?

569


which property used to add a menus at runtime?

1469


Types of cursors in DAO?

1490


What is activex control in vb?

548


What are forms in visual basic?

530






What is the use of Active Control Property?

1468


Is it possible to change menu runtime using API? If yes Specify the function names?

1464


What are the types of line styles available in Treeview Control?

1465


which method used to move a recordset pointer in nth position in DAG?

1571


___ is a property to resize a label control according to your caption.

1098


what is the Difference between Recordset and Querydef?

1861


How do I implement an incremental search in list/dir/combo/file boxes?

997


What are the important components of OLEDB?

1883


How do I speed up control property access?

1016


___,___ arguments will be used to run a executable program in shell function

1230