Adding a Unbound Image Column to Datagrid
-
Hi there, hope someone can assist me on this. Ive got a datatable that gets Data from SQL. Now what I want to do is add a unbound Image datacolumn to this datatable. But the image must be a linkbutton. When its gets click it should redirect to a page carrying over the other datagrid Colums as parameters.For instanse ------------------------------------------- Col1 | Col2| Col3| Col4 | NewImageColumn -------------------------------------------- Row1 Row1 Row1 Row1 Row1 Row2 Row2 ROw2 Row2 Row2 Row3 Row3 Row3 Row3 Row3 Lets assume the DataTable has 3 rows When clicking on the NewImageColumn on lets say row 2 it should Redirect(pgSomepage.aspx? Row2.Col1 & Row2.Col2 & Row2.Col3 & Row2.Col4
-
Hi there, hope someone can assist me on this. Ive got a datatable that gets Data from SQL. Now what I want to do is add a unbound Image datacolumn to this datatable. But the image must be a linkbutton. When its gets click it should redirect to a page carrying over the other datagrid Colums as parameters.For instanse ------------------------------------------- Col1 | Col2| Col3| Col4 | NewImageColumn -------------------------------------------- Row1 Row1 Row1 Row1 Row1 Row2 Row2 ROw2 Row2 Row2 Row3 Row3 Row3 Row3 Row3 Lets assume the DataTable has 3 rows When clicking on the NewImageColumn on lets say row 2 it should Redirect(pgSomepage.aspx? Row2.Col1 & Row2.Col2 & Row2.Col3 & Row2.Col4
-
Yes indeed