-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: Mitesh
Message 4 in Discussion
Hi Chilaka
Thanks, right now i am doing the same thing,
but my databse is big, & its take a sensible amount of time as i have 4 such
hyperlink column. If there is any other direct way, kindly let me
know.
Thanks a lot.
Mitesh
----- Original Message -----
From:
Chilakapati
To: MumbaiUserGroup
Sent: Thursday, December 11, 2003 9:11
PM
Subject: Re: HyperLink column in ASP.NET
Datagrid
New Message on MumbaiUserGroup
HyperLink
column in ASP.NET Datagrid
Reply
Reply to Sender Recommend
Message 3 in
Discussion
From: Chilakapati
Hi Mitesh
You can do one thing first add a column
to the grid like
1)
dsTemp.Tables("name").Columns.Add("UrlLink")
and fill some data for each column by reading
each row as below
2) The below code is not generalized. you have
to do that.
For i = 0 To dsTemp.Tables("name").Rows.Count -
1 Step i +
1
dsTemp.Tables(_"name").Rows(i)("UrlLink") =
"../../FsFrmProgramOverview.aspx?Project_code=" &
dsTemp.Tables("name").Rows(i)("column name") &
"&Project_Name=" & dsTemp.Tables("name").Rows(i)("column
name") & "&flag=True"
Next
3) For <asp:HyperLinkColumn> which is in the
Datagrid, specify like this
<asp:HyperLinkColumn DataNavigateUrlField="UrlLink"
.............................................
That's all bind the Dataset to the Gtid.
Cheers
Chilaka
View other groups in this
category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]