ASP.NET gridview delete -


I have created a quick gridview, it is bundled on a data source, it keeps in a selected statement that works is.

Then I went to the datasource and on the deleted tab, and put some delete code from which ends blahUID = @blahUID

I checked the ability to delete the checkbox , In which each delete text link gridview line on each

However, when I press it, these errors happen because @bluehide is not defined - how can i define it?

  & lt; Asp: SqlDataSource id = "SqlDataSource1" runat = "server" ConnectionString = "... snipped ..." SelectCommand = "Select [category UID], [vidid], [classname], [color] from [class] where ( [WordUID] = @WordUID); "DeleteCommand =" [from the category] where categoryUID = @CategoryUID "& gt; & Lt; SelectParameters & gt; & Lt; Asp: ControlParameter ControlID = "lstWords" name = "WordUID" property name = "selected value" /> & Lt; / SelectParameters & gt; & Lt; DeleteParameters & gt; & Lt; Asp: parameter name = "category_id" /> & Lt; / DeleteParameters & gt; Fixed GridView parameter by inserting DataKeyNames = "CategoryUID" in  

.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -