I need Code for inserting new values to my listview that already have some values. i did my own way but i got Cross Thread Exception. so can anyone help me to insert new values to the listview but don’t clear the old values?
thanks in advance,
Ulaga
You have to show more research effort on your part. You should also post your non working code, instead of just saying that you got an exception.
Is your application a winform or webform?
System.Windows.Forms.ListView has 6 overloads in its Items collection’s Add method, here’s three:
Try them out.
System.Web.UI.WebControls.ListView has one way to call its Items collection’s Add method:
See http://msdn.microsoft.com/en-us/library/aa983548(v=vs.71).aspx