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

How do you create a form in visual basic?

0 Answers  


What is the default workspace?

0 Answers  


What are the new events in textbox that has been included in VB6.0

1 Answers  


What is the use of command Object?

2 Answers  


How many objects resides in ADO ?

0 Answers  






Which property of textbox cannot be changed at runtime. What is the max size of textbox?

0 Answers  


How does the following statements work? On Error Goto Err_Handler

2 Answers  


What is ODBC Direct and Microsoft Jet Database Engine ?

0 Answers  


what is the difference between vb and vb.net

2 Answers  


Define the scope of Public, Private, Friend procedures?

1 Answers  


What does option Explicit means?

8 Answers   IBM, Infosys,


Why does everybody say I should save in TEXT not BINARY?

0 Answers  


Categories