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 Tabstrip control? What is the starting Index value? How to locate it?

1 Answers  


what is a property to resize a label control according to your caption?

2 Answers  


what is the Difference between DDE and OLE?

1 Answers  


what are the types of LockEdits in DAO?

0 Answers  


wat is excel

4 Answers   Kingfisher,






Is there a way to break long lines in VB code?

0 Answers  


_____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol.

0 Answers  


What is instantiating?

0 Answers  


How do I call help files from a VB program?

0 Answers  


what are the Sequence of events when a MDI form open with two child forms closing?

1 Answers  


What do you mean by Databound Controls Explain?

0 Answers  


How can I speed up my VB database application?

0 Answers  


Categories