codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  problem in grid view  gupta_karan21 at 04:52 on Friday, March 23, 2007
 

Hi
I am using grid view in asp.net 2.0

I am writing the code

"<asp:HyperLinkField NavigateUrl='~/KB/KB_Detail.aspx?id=<%#DataBinder.Eval(Container.DataItem, "PK_KnowledgeBaseID") %>' DataTextField="s_Title" HeaderText="Title"/>"
here I am passing the querystring but when I click on the list and goes to the KB_Detail.aspx page the value of ID is

"<%#DataBinder.Eval(Container.DataItem, "PK_KnowledgeBaseID") %>"

Please tell me where I am wrong
Regards
Karan









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Re: Perl - Read and Write output file
•  Re: Print and print preview file on the website without using the File - Print on the IE
•  Re: While Loops - Help please!
•  trying to write dates from perl to Excel
•  5x5 Tic Tac Toe
•  NEED HELP!!!! Password encryption
•  positioning ContentPlaceHolder
•  Arrays - Big Problem
•  problem in grid view


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007