hello - new to webmatrix and C# so probably playing with fire here....
I have a page that allows a user to add, edit, list, and delete database items. I would like to add an "edit" graphic to each row in the list. Something like this:
grid.Column("<img src="editfield.gif" />"),
up above I have:
var SQLForGrid = db.Query("SELECT * FROM Books");
var grid = new WebGrid(source: SQLForGrid, defaultSort: "Title");
then when the edit image is clicked it should send the page the id of what they want to edit.
any help/ideas are appreciated.
View Complete Post