5/26/2010 8:49:41 PM
Title:
Datagrid row duplicate
Hi,
I have two datagrids and one button, Whenever I click button the popupdatagrid comes, then i willl add three rows first time
1 , rama , 100000
2, krishna , 200000
3, venkat 300000
So again I add the new row second time
2, krishna 200000
This is already in datagrid, So Avoid the duplicate, Whenever he enters new record it show an alert.
How to avoid the duplicate?
Please help me
Thanks in advance
Ramakrishna
5/27/2010 7:06:08 AM
simple run a loop to see if "krishna" exists already in the datagrid. If exists then show error that it cannot be added