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 |
What is the use of command Object?What are the various types of variables?
what is the Difference between listbox and combo box?
Difference between DDE and OLE.
How do you avoid the "Invalid use of null" error when reading null values from a database?
Draw Sequence Modal of RDO? Explain.
What is a Component?
What is controls in vb?
With in the form we want to check all the text box control are typed or not? How?
How many MDI(multiple document interface) forms can include in one project(especially in visual basic)?
What are the Internet tools available in VB6.0?
What does Addressof operator do?
How to check the condition in Msgbox?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)