How would you add column headers in listview control?



How would you add column headers in listview control?..

Answer / 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

More Visual Basic Interview Questions

What is the difference between Msgbox Statement and MsgboxQ function?

1 Answers  


What is the use of property page Wizard in ActiveX Control?

0 Answers  


what are the Types of Resultsets?

0 Answers  


How do I program the Novell NetWare API from VB?

0 Answers  


How would you access objects created in ActiveX Exe and ActiveX Dll

0 Answers  






Types of LockEdits in RDO.

0 Answers  


What is the use of Active Control Property?

0 Answers   HCL,


What is ActiveX Control?

1 Answers   Infosys,


How can I speed up my VB database application?

0 Answers  


Which Property is used to compress a image in image control?

1 Answers  


What is the Advantage of ActiveX Dll over Active Exe?

1 Answers  


what is the difference between name property and caption property in visual basic?

10 Answers   HCL,


Categories