Querystring? urgent
-
Hi friends, In my application i want to send datas from one form to other using Querystring. I dont know how to send multiple datas. I send it seperated by comma. But it will be sended as a single data. the code is xmlHttp.open("GET","ResponserFile.aspx?sendData=" + id,nam,cel ,true); CAn anyone correct it?
-
Hi friends, In my application i want to send datas from one form to other using Querystring. I dont know how to send multiple datas. I send it seperated by comma. But it will be sended as a single data. the code is xmlHttp.open("GET","ResponserFile.aspx?sendData=" + id,nam,cel ,true); CAn anyone correct it?
use
ResponserFile.aspx?id=3&name=nam&cell=cell
Now from server side get the data usingRequest.QueryString["id"]
Request.QueryString["name"]
Request.QueryString["cell"]Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET Templates -
use
ResponserFile.aspx?id=3&name=nam&cell=cell
Now from server side get the data usingRequest.QueryString["id"]
Request.QueryString["name"]
Request.QueryString["cell"]Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET TemplatesHi, I write it as u mention. But it does not work. xmlHttp.open("GET","ResponserFile.aspx?id=3&name=nam&cell=cell,true) Can u correct it ? Pls..
-
Hi friends, In my application i want to send datas from one form to other using Querystring. I dont know how to send multiple datas. I send it seperated by comma. But it will be sended as a single data. the code is xmlHttp.open("GET","ResponserFile.aspx?sendData=" + id,nam,cel ,true); CAn anyone correct it?
-
Actually i used it in Ajax. I send it to server side page for inserting datas in a table. I want to know how to send multiple datas? can u tell?
-
Hi friends, In my application i want to send datas from one form to other using Querystring. I dont know how to send multiple datas. I send it seperated by comma. But it will be sended as a single data. the code is xmlHttp.open("GET","ResponserFile.aspx?sendData=" + id,nam,cel ,true); CAn anyone correct it?
Hi Karthick_gc, Have you tried doing it like this:
xmlHttp.open("GET","ResponserFile.aspx?id=" + id + "&name=" + nam + "&cell=" + cel + "&bool=true");
I'm assuming that id, nam and cel are variables. Then to retrieve the data on the form you would use:
Request.QueryString["id"]
Request.QueryString["name"]
Request.QueryString["cell"]
Request.QueryString["bool"]I hope this helps. Ryan
-
Hi, I write it as u mention. But it does not work. xmlHttp.open("GET","ResponserFile.aspx?id=3&name=nam&cell=cell,true) Can u correct it ? Pls..
you are using a comma before true, this is not correct. The correct string will be like: xmlHttp.open("GET","ResponserFile.aspx?id=3&name=nam&cell=cell&var=true") in the above syntax id, name, cell, var are variables that will be called by: Request.Querystring("id") etc.... & is user to join two variable so be careful to use values.
Be a part of solution, rather then be a part of problem
-
Actually i used it in Ajax. I send it to server side page for inserting datas in a table. I want to know how to send multiple datas? can u tell?
Hi ResponserFile.aspx?id=3&name=nam&cell=cell I think u r using correct format to send the multiple data through query. May be problem in syntax of calling in ajax. Can u provide the exact error whcih u r receiving. R u workking in VS 2003?
Regards Anil Pal
-
Hi friends, In my application i want to send datas from one form to other using Querystring. I dont know how to send multiple datas. I send it seperated by comma. But it will be sended as a single data. the code is xmlHttp.open("GET","ResponserFile.aspx?sendData=" + id,nam,cel ,true); CAn anyone correct it?
Buy a book and read it, or learn to use google, instead of making stuff up.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
-
Hi friends, In my application i want to send datas from one form to other using Querystring. I dont know how to send multiple datas. I send it seperated by comma. But it will be sended as a single data. the code is xmlHttp.open("GET","ResponserFile.aspx?sendData=" + id,nam,cel ,true); CAn anyone correct it?