Yes, a TemplateField is the way to go.
On Nov 1, 12:05 am, Chuck <[EMAIL PROTECTED]> wrote:
> You could use the <asp:Hyperlinkfield> option, instead of the
> BoundField option.
>
> <asp:HyperLinkField DataNavigateUrlFields="Field1,Field2"
> DataNavigateUrlFormatString="MyPageaspx?Field1={0}&Field2={1}"
> DataTextField="Field1" HeaderText="Link" />
>
> Check here for more details.
>
> http://authors.aspalliance.com/aspxtreme/webforms/controls/addinghype...
>
> I'm still learning it and wouldn't be able to explain it in great
> detail. The only other way I know of is to add a template field, and
> drop a hyperlink inside the the template field. Not sure which one
> is more effective though.
>
> On Oct 31, 1:07 pm, BigJ <[EMAIL PROTECTED]> wrote:
>
>
>
> > I have the following GridView Control:
>
> > <asp:GridView
> > id='personalView'
> > DataSourceId="personalSrc"
> > AutoGenerateColumns="false"
> > OnSelectedIndexChanged="grdEmployees_SelectedIndexChanged"
> > Runat='server'>
> > <Columns>
> > <asp:CommandField ShowSelectButton="true"
> > SelectText="Details" ShowDeleteButton="true" />
> > <asp:BoundField DataField="Full Name" HeaderText="Full Name" />
> > <asp:BoundField DataField="Title" HeaderText="Title" />
> > </Columns>
> > </asp:GridView>
>
> > How would you customzie the Gridview so as to show hyperlink to some
> > arbitrary page in each "Full Name" data cell as well? I tried setting
> > text to <asp:link....>- Hide quoted text -
>
> - Show quoted text -