Click here to Skip to main content
15,884,991 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi
i am deleting the row in grid passing id....if the id 25 have 3 entries means i deleted one by one using button click...if that last entry i deleted...now there is no entry in this id means....just i pass that id 25 means...it shown error messege there is no entry ....
Posted
Comments
Simon Bang Terkildsen 14-Sep-11 1:55am    
Do NOT repost, please. You were just told that in your last repost. Read Prerak's comment.
gridview deleting a row with message
Pravin Patil, Mumbai 14-Sep-11 1:57am    
This is third time you are posting the same question which has been answered by Prerak....

1 solution

You can always check if the id is there or not (before deleting) to avoid the error - otherwise this is the correct behaviour.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900