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>";
     output+="<TR><TH>VESSEL NAME</TH><TH>CUSTOMER REF.NO</TH><TH>FOR</TH></TH>";
     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>";                                          
    }
    output+="</TABLE>";

    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).

Contribute

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