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?
How to get Dynamically Linked Comboboxes Set?
What do you create for easier access of data?
how to track links visited in google using iframes
HOw to Build a Nested GridView Control with ASP.NET?
ArrayList declaration in .net
Data Reader Vs DataSet
Coding for Synchronizing Cache Access in ASP.NET?
Code for Presenting Parent/Child Data in a Data Grid Row?
Code for Creating a Form Using PlaceHolder Controls?
Code for Sending E-Mail with System.Web.Mail?
How to use Client-side Script to Focus Controls in ASP.NET?