newcell = New TableCell() newcell.ApplyStyle(list_row_cell_style) newcell.Wrap = "false" newcell.HorizontalAlign = HorizontalAlign.Center newcell.Text = "<a href=?delete_set=" & rs.Item("SetID") & " onClick=""return confirm('Delete this set (" & Replace(rs.Item("set_name"),"'", "\'") & ")? All content information will be lost.')""><img src=../images/icon-delete.gif border=0 alt=""delete""></a>" newrow.Cells.Add(newcell)
newcell = new TableCell(); newcell.ApplyStyle(list_row_cell_style); newcell.Wrap = false; newcell.HorizontalAlign = HorizontalAlign.Center; newcell.Text = "<a href=?delete_set=" + rs["SetID"] + " onClick=\"return confirm('Delete this set (" + String.Replace(rs["set_name"].ToString(), "'", "\\'" + ")? All content information will be lost.')\"><img src=../images/icon-delete.gif border=0 alt=\"delete\"></a>"; newrow.Cells.Add(newcell);
rs["set_name"].ToString.Replace( "'", "\\'")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)