473,498 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Datagrid multiple links

Guys,

How can I add multiple parameters to a url in the format
string property of a hyperlinkcolumn in a datagrid

Thanks

Nov 18 '05 #1
2 1281
You can not
instead of this, use Templatecolumn like this

<asp:TemplateColumn>
<ItemTemplate>
<a href="yourpage.aspx?param1=<%#
DataBinder.Eval(Container.DataItem, "Param1ColumnName")%>&param2==<%#
DataBinder.Eval(Container.DataItem, "Param2ColumnName")%>&param3==<%#
DataBinder.Eval(Container.DataItem, "Param3ColumnName")%>">
</ItemTemplate>
</asp:TemplateColumn>
Regards
Martin

"Joey" <an*******@discussions.microsoft.com> wrote in message
news:1c*****************************@phx.gbl...
Guys,

How can I add multiple parameters to a url in the format
string property of a hyperlinkcolumn in a datagrid

Thanks

Nov 18 '05 #2

Thanks a lot mate..!

thats answered all my questions.

Best Regards,

J
-----Original Message-----
You can not
instead of this, use Templatecolumn like this

<asp:TemplateColumn>
<ItemTemplate>
<a href="yourpage.aspx?param1=<%#
DataBinder.Eval(Container.DataItem, "Param1ColumnName")%
¶m2==<%#
DataBinder.Eval(Container.DataItem, "Param2ColumnName")%
¶m3==<%#
DataBinder.Eval(Container.DataItem, "Param3ColumnName")%
">
</ItemTemplate>
</asp:TemplateColumn>
Regards
Martin

"Joey" <an*******@discussions.microsoft.com> wrote in messagenews:1c*****************************@phx.gbl...
Guys,

How can I add multiple parameters to a url in the format string property of a hyperlinkcolumn in a datagrid

Thanks

.

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3006
by: Simon | last post by:
Can any one please tell me how to set the width of my datagrid coloums after I have put them into edit mode? At the moment I bind the datagrid to a returning dataset; DataGrid1.DataSource =...
1
287
by: Simon | last post by:
Can any one please tell me how to set the width of my datagrid coloums after I have put them into edit mode? At the moment I bind the datagrid to a returning dataset; DataGrid1.DataSource =...
2
7051
by: Simon Harris | last post by:
Hi All, I have an app which requires a list of coutries to be displayed, so far I have a datagrid which contains displays the countries Ok, along with flag images, these are also links to my...
1
2810
by: Roy | last post by:
I'm assuming this is amazingly simple and I'm just missing the boat. On the html side of an asp.net page I have a datagrid, a "search" button, and 8 text boxes for search criteria. A user enters...
0
2011
by: Man4ish | last post by:
Hi, I am using multiple combo list (2 here). I want to store the selected item by these two combo boxes in an array list to check that same value should not be selected by two. This way i am...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7205
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5462
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4910
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4590
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
291
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.