QueryString problem

asp.net Palau
  • 12 years ago

    I am using querystring to pass names from one page to another. For example if the name is "viswa murthy" it is only displaying "viswa". what should i do?

     output += "<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><TABLE NAME=SEARCHVAL align=center BORDER=1>";
     while (reader.Read())
    output += "<TR><TD><a href=default.aspx?Name=" + reader["Name"].ToString() + ">" + reader["Name"] + "</a></TD><TD>" + reader["No"] + "</TD><TD>" + reader["Grade"] + "</TD></TR>";                                          

    I am using asp.net

  • 12 years ago

    Hi, can you plz put the code here so that we can get an idea

  • 12 years ago

    I had posted the code.

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“An idiot with a computer is a faster, better idiot” - Rich Julius