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 do you create for easier access of data?
How to add checkbox to datagrid?
hold checkbox values
where is assembly are store
How to Export Data to Excel?
how the value of label is printed through a button in asp.net web application
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
what is software testing
what is the value that reside in a hidden field when no value is assigned to it?how it can be used in a if statement??
how to create a search bar which access data from various websites and retrieves the data
What is the code of Password Recovery or Forget your password? Plz tell in c # language.
Code for Getting Information About A File?