DeleteCommand="DELETE TOP(1) FROM [Data] WHERE [Name] = @Name" ...
and
<asp:CommandField ButtonType="Image" DeleteImageUrl="/delbutton2.jpg" ShowDeleteButton="True" />
If I run this sql query manually in sql management studio, it deletes one of the doubly added names (correct). But in the sqldatasource it still deletes both of them, even though I've clicked delete once.
It appears it is posting back twice, but Im not sure why.. my pageload doesnt call it or anything
This post has been edited by irishgirl: 28 July 2010 - 06:31 AM

New Topic/Question
Reply




MultiQuote




|