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 DDE?

0 Answers  


Does VB Supports OOPS Concepts? Explain..

4 Answers  


How many no of controls are there in form?

3 Answers   Satyam,


What is Internet Explorer and its uses?

0 Answers  


What is executenonquery in vb net?

0 Answers  


Explain about manipulating the recordset object

0 Answers  


How would you attach pictures in Treeview Control?

0 Answers  


What is ado data control in vb?

0 Answers  


What is the max size of textbox?

2 Answers  


Using which type we can access file line by line?

2 Answers  


How can you read content from file?

2 Answers  


What two methods are called from the ObjectContext object to inform MTS that the transaction was successful or unsuccessful?

1 Answers  


Categories