Click here to Skip to main content
14,732,936 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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 there is no entry in this id means....just i pass that id 25 shown error messege there is no entry ....
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.

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