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 |
Code for a Simple Way to Write XML in .NET (XmlTextWriter)
How to get Dynamically Linked Comboboxes Set?
how to track links visited in google using iframes
Give coding for Exception Handling Techniques in ASP.NET?
How to integrate the regional language in asp.net and c# like Telugu, Hindi etc,. send a sample program
3 Answers Concept, NIIT, Wipro,
How we use ajax in asp.net through javaScript. Please givee me an example.
Coding for Synchronizing Cache Access in ASP.NET?
how to convert Dataset to Object Array or list in c# .net
What is the code of Password Recovery or Forget your password? Plz tell in c # language.
How to send e-mail from an ASP.NET application?
16 Answers DataPoint, Infosys, Persistent, Radar, TCS, Wipro,
HOw to Build a Nested GridView Control with ASP.NET?
Code for Creating a Form Using PlaceHolder Controls?