Listview design in .net
Answer / subha
first Place the list view control in form.(vb.net)
and place textbox and button.
coding:
In form load:Add the columns in list view.
listview1.columns.add("empname",100,HorizontalAlignment.left)
listview1.columns.add("dept",100,HorizontalAlignment.left)
Button click event:
dim str(15) as string
dim itm as ListviewItem
str(0)=txtname.text
str(1)=txtdept.text
itm=new ListviewItem(str)
listview1.items.add(itm)
Is This Answer Correct ? | 4 Yes | 0 No |
how to upload an excel in c# ASP.Net?
Code for Presenting Parent/Child Data in a Data Grid Row?
Coding for .NET Delegates?
i have a gird with columns all are coming from database,this will bind in item templete in gridview as textboxex.and i have button below named Update.i want to update all the records in the grid,but if user change the value of one textbox,what is the easy way 2 do this
Give coding for Implementing a Fixed GridView Header in ASP.NET?
How to get Dynamically Linked Comboboxes Set?
Code for Communicating over Sockets?
Code for a Simple Way to Write XML in .NET (XmlTextWriter)
Give coding for Exception Handling Techniques in ASP.NET?
how to design a ListView control?
Coding for Synchronizing Cache Access in ASP.NET?
How to Snap the Cursor to a Button?