ID Item Code
1 Item a 1565
2 Item x **2565**
3 Item w 1245
4 Item f 1345
I have a ListView Details format like above and I want to change the value of a cell content which is in between ** mark.
How can I change it such a way that it will appear in same row and without need of updating other values in a row or a table.
Please Guide me in C#.net
Basically, it depends on how you fill your
ListView.Anyway, a code like this, should work in almost every situations:
Just a caveat:
to assure the first 2 lines of this code work, you must properly initialize your columns’
Nameproperty, when you create them:either by using the proper add overload:
or by setting it later: