C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






hyperlink in grid


Posted Date: 20 Jun 2008      Total Responses: 4

Posted By: rameshgoudd       Member Level: Gold     Points: 1



hi all,

i want to place the hypelink in the grid ..........and the url for this is coming form the database ..example www.google.com ...
how can i do this ?





Responses

Author: Nagamohan kumar P    20 Jun 2008Member Level: GoldRating:     Points: 2

its better you give a linkbutton and redirect it


Author: Virender Kumar    20 Jun 2008Member Level: GoldRating:     Points: 2

Hi Ramesh,

this can be done through itemTemplate.

Viren



Author: Bharathi    20 Jun 2008Member Level: DiamondRating:     Points: 2

<asp:Gridview id= "Grd" runat="Server">
<Columns>
<asp:HyperLinkField DataTextField="<DataBase Column Name>" HeaderText ="" />
</Columns>
</asp:gridView>



Author: Dharmendra Banoliya    20 Jun 2008Member Level: SilverRating:     Points: 2

Go to Property of grid view click on column (collection)
set HeaderText and DataTextField.



Post Reply
You must Sign In to post a response.
Next : LinkButton
Previous : Working with Google API
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use