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 |
How will you define a function to accept optional arguments?
What is keyword used to compare two objects?
How do you change the system menu (on the Control-Menu Box)?
How can you read content from file?
Is visual basic still used?
What is the use of Hyperlink control for DHTML applications?
Write the Steps in Creating an ActiveX Control?
What is ActiveX Document?
How to use hyperlink?
___ property is used to change to ___ value to access a identity column'in datacontrols.
What is the use of Scalewidth and ScaleHeight Proeperty?
I get a "file not found" error on the IIF function when I distribute by program. Why?
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)