E
Elton Wang
Hi Lenin,
Actually the first column in the datagrid is a hyperlink
column. So you may use
e.Item.Cells(1)
HTH
Elton Wang
(e-mail address removed)
Actually the first column in the datagrid is a hyperlink
column. So you may use
e.Item.Cells(1)
HTH
Elton Wang
(e-mail address removed)
when the user clicks the 'View details' buttoncolumn.-----Original Message-----
Hi all,
I am using a datagrid to show values from a SQL table.
My problem is, I want to show the details of the each row
SortExpression="Title"I am able to fire a event when the user clicks the button column
here is my html for the datagrid
********************************************************** ****************************
<Columns>
<asp:HyperLinkColumn Target="_blank" DataNavigateUrlField="Title"
DataNavigateUrlFormatString="SelectedTitle.aspx?title={0}"
DataTextField="Title"
HeaderText="TITLE"> said:<asp:BoundColumn DataField="Author"
HeaderText="AUTHOR"> said:<asp:BoundColumn DataField="Year" HeaderText="YEAR">
<ItemStyle
text="View Details"HorizontalAlign="Left"> said:</asp:BoundColumn>
<asp:ButtonColumn ButtonType="LinkButton"
label, it returns empty string to the labelCommandName="select"> said:</Columns>
********************************************************** *****************************
when i try to capture the column values and write it to a