PC Review


Reply
Thread Tools Rate Thread

datagrid hyperlink column problem

 
 
chris@ctlsoft.com
Guest
Posts: n/a
 
      12th Feb 2006
trouble creating hyperlink 'NavigateUrl' param

code is:

<asp:HyperLink runat="server" imageurl="img/btndel.gif" Text='Delete
Login' NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.PK",
"kill.aspx?t=u&id={0}")%>' ID="Hyperlink2">
</asp:HyperLink>

when run throws err :

Syntax error converting the varchar value ',' to a column of data type
int.

dataset is returning rows as desired:

PK CID LOGIN PWD CIDD AUTH
2,2 ABCD demo demo 3

What am I not doing ?
Cheers
Chris

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HyperLink Column in DataGrid Samuel Shulman Microsoft ASP .NET 4 8th Dec 2006 12:10 AM
How to add a hyperlink column to asp.net datagrid - where only one value is a hyperlink davetichenor Microsoft ASP .NET 1 30th Oct 2006 02:57 PM
How to assign a column of URLs to Hyperlink Column of a DataGrid c =?Utf-8?B?ZGF2aWQ=?= Microsoft ASP .NET 10 17th Oct 2005 05:19 PM
HyperLink Column and Button Column in a DataGrid =?Utf-8?B?V2FyYW4=?= Microsoft ASP .NET 0 9th Aug 2005 01:00 AM
Problem viewing text of hyperlink column in datagrid jeguillo@ems.jsc.nasa.gov Microsoft VB .NET 1 16th Dec 2004 05:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:02 AM.