Delete doesn't work in ASP.NET 2003 Data Grid.
-
why doesn't the ASP Data Grid doesn't deletes a row when the delete button is clicked in asp.net 2003 Any advice will greatly help. Thanks in Advance.
Sekhar :)
What does it do then for you? Does it spell out any errors?
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson -
why doesn't the ASP Data Grid doesn't deletes a row when the delete button is clicked in asp.net 2003 Any advice will greatly help. Thanks in Advance.
Sekhar :)
You need to handle the event and do deletion from DB, rebind datagrid again.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
why doesn't the ASP Data Grid doesn't deletes a row when the delete button is clicked in asp.net 2003 Any advice will greatly help. Thanks in Advance.
Sekhar :)
If you had coded correct then there may be missing the handle on that event.
-
why doesn't the ASP Data Grid doesn't deletes a row when the delete button is clicked in asp.net 2003 Any advice will greatly help. Thanks in Advance.
Sekhar :)
if in datagrid button id="btndel" and commandname="btndelete" then on datagrid's itemcommand write this code. // code. if e.commandname="btndelete" dim btn as button btn=e.item.findcontrol("btndel") if not btn is nothing then ''write delete query here. end if ''refresh datagrid. end if :-D
Vivek Kushwaha