|
 |
aspx_beginners thread: datagrid hyperlink
Message #1 by miss ruby <unix_box@y...> on Wed, 17 Apr 2002 22:36:38 -0700 (PDT)
|
|
hello friends..
i want to make a hyperlink to another page and bring
the data ID in querystring..how can i do that with
datagrid control???
thankss...
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
Message #2 by "Minh T. Nguyen" <nguyentriminh@y...> on Wed, 17 Apr 2002 22:45:58 -0700
|
|
Hi there,
Here's a code snippet that was posted a few days ago. In this
example, the "id" field is passed in the querystring of the hyperlink
column.
<asp:DataGrid id="PeopleTable" runat="server"
AutoGenerateColumns="False">
<HeaderStyle Font-Bold="True" BackColor="#E0E0E0"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="strEmail" HeaderText="Email
Address">
</asp:BoundColumn>
<asp:BoundColumn DataField="strName" HeaderText="Name">
</asp:BoundColumn>
<asp:HyperLinkColumn DataNavigateUrlField="id"
DataNavigateUrlFormatString="viewlead.aspx?id={0}" DataTextField="id"
HeaderText="ID"></asp:HyperLinkColumn>
</Columns>
</asp:DataGrid>
Hope this helps,
Minh.
-----Original Message-----
From: miss ruby [mailto:unix_box@y...]
Sent: Wednesday, April 17, 2002 10:37 PM
To: aspx_beginners
Subject: [aspx_beginners] datagrid hyperlink
hello friends..
i want to make a hyperlink to another page and bring
the data ID in querystring..how can i do that with
datagrid control???
thankss...
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
Message #3 by miss ruby <unix_box@y...> on Thu, 18 Apr 2002 19:04:19 -0700 (PDT)
|
|
;;;/thank you Minh T. Nguyen:))))
--- "Minh T. Nguyen" <nguyentriminh@y...> wrote:
> Hi there,
>
> Here's a code snippet that was posted a few days
> ago. In this
> example, the "id" field is passed in the querystring
> of the hyperlink
> column.
>
> <asp:DataGrid id="PeopleTable" runat="server"
> AutoGenerateColumns="False">
> <HeaderStyle Font-Bold="True"
> BackColor="#E0E0E0"></HeaderStyle>
> <Columns>
> <asp:BoundColumn DataField="strEmail"
> HeaderText="Email
> Address">
> </asp:BoundColumn>
> <asp:BoundColumn DataField="strName"
> HeaderText="Name">
> </asp:BoundColumn>
> <asp:HyperLinkColumn DataNavigateUrlField="id"
> DataNavigateUrlFormatString="viewlead.aspx?id={0}"
> DataTextField="id"
> HeaderText="ID"></asp:HyperLinkColumn>
> </Columns>
> </asp:DataGrid>
>
>
> Hope this helps,
> Minh.
>
> -----Original Message-----
> From: miss ruby [mailto:unix_box@y...]
> Sent: Wednesday, April 17, 2002 10:37 PM
> To: aspx_beginners
> Subject: [aspx_beginners] datagrid hyperlink
>
>
>
> hello friends..
>
>
> i want to make a hyperlink to another page and bring
> the data ID in querystring..how can i do that with
> datagrid control???
>
>
> thankss...
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
Message #4 by "Minh T. Nguyen" <nguyentriminh@y...> on Thu, 18 Apr 2002 20:58:25 -0700
|
|
You're welcome! :)
Minh.
-----Original Message-----
From: miss ruby [mailto:unix_box@y...]
Sent: Thursday, April 18, 2002 7:04 PM
To: aspx_beginners
Subject: [aspx_beginners] RE: datagrid hyperlink
;;;/thank you Minh T. Nguyen:))))
--- "Minh T. Nguyen" <nguyentriminh@y...> wrote:
> Hi there,
>
> Here's a code snippet that was posted a few days
> ago. In this
> example, the "id" field is passed in the querystring
> of the hyperlink
> column.
>
> <asp:DataGrid id="PeopleTable" runat="server"
> AutoGenerateColumns="False">
> <HeaderStyle Font-Bold="True"
> BackColor="#E0E0E0"></HeaderStyle>
> <Columns>
> <asp:BoundColumn DataField="strEmail"
> HeaderText="Email
> Address">
> </asp:BoundColumn>
> <asp:BoundColumn DataField="strName"
> HeaderText="Name">
> </asp:BoundColumn>
> <asp:HyperLinkColumn DataNavigateUrlField="id"
> DataNavigateUrlFormatString="viewlead.aspx?id={0}"
> DataTextField="id"
> HeaderText="ID"></asp:HyperLinkColumn>
> </Columns>
> </asp:DataGrid>
>
>
> Hope this helps,
> Minh.
>
> -----Original Message-----
> From: miss ruby [mailto:unix_box@y...]
> Sent: Wednesday, April 17, 2002 10:37 PM
> To: aspx_beginners
> Subject: [aspx_beginners] datagrid hyperlink
>
>
>
> hello friends..
>
>
> i want to make a hyperlink to another page and bring
> the data ID in querystring..how can i do that with
> datagrid control???
>
>
> thankss...
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
|
|
 |