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 |
What is the code of Password Recovery or Forget your password? Plz tell in c # language.
How to Create Scrollable Micro Windows?
Code for a Simple Way to Write XML in .NET (XmlTextWriter)
how to create a search bar which access data from various websites and retrieves the data
how can we close a web page in asp.net without using jscript?
Coding for .NET Delegates?
how the value of label is printed through a button in asp.net web application
How to get the row index on checking a Checkbox in a ListView
Code for Using Keyboard Events?
What do you create for easier access of data?
how to design a ListView control?
Coding for Synchronizing Cache Access in ASP.NET?