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

What is data binding in vb net?

696


What is the use of command Object?What are the various types of variables?

803


How do I dial a phone number without using the MSCOMM VBX?

1483


What is script control?

774


Explain what is Visual basic?

777


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

1504


Is it possible to Access BackEnd procedures? Explain.

1760


Explain the working with task in Gantt chart view.

830


___,_____ and ____ container objects.

1368


How do I access C style strings?

1200


Types of Resultsets.

1736


How do I create controls dynamically (at run-time)?

1147


How can you Navigate from the DHTML application to another DHTML application? .

1557


What do you mean by Databound Controls Explain?

1644


Is it posible to Create Tables Through Querydef?

1843