Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

About Listview Control

$
0
0
Hi!

I have 1 listbox control on my form and it has 2 columns those are Sr.No.,Item Name , when I click on Add button data been added in listbox serially (1,2,3,4,..), but when I deleted any row and then again adding the record then it takes previous number to that record.
Ex. I deleted 3rd record, now there is 1,2,4 record. but when I add another one it takes 4th no. instate 5 (1,2,4,4).

so please tell me how can I sort these fields (Sr.No.)?

NOTE:- I have create database connectivity with listview control.
Thank You.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>