well i know query string means . what it takes .. everything fine but i need help on this
URL?sdsffeojsjdb%slcxa&1||b&2||sum1&2... it may be in a wrong format or whatever ..Any assistance is helpful regarding
HOW TO UNDERSTAND DIFFERENT NOTATIONS IN THAT QUERY STRING & ALSO HOW TO GET VALUES FROM QUERY STRING ??
i Hope i am clear ...
My best wishes
Ty for help

VulpesPosted Dec 16, 2013, 10:12 AM
http://en.wikipedia.org/wiki/Query_string
In general, you can extract the field-value pairs from the query string with code such as this:
using System;
using System.Web;
using System.Collections.Specialized;
class Test
{
static void Main()
{
string query = "sdsffeojsjdb%slcxa&1||b&2||sum1&2"; // or whatever
NameValueCollection nvc = HttpUtility.ParseQueryString(query);
foreach (string field in nvc.AllKeys )
{
Console.WriteLine( " {0} -> {1}", field, nvc[field] );
}
Console.ReadKey();
}
}
However, it looks to me like the query string you've posted (i.e. the part after the '?' sign) is not well-formed as there are no '=' signs in it.
SUNIL GUTTAPosted Dec 16, 2013, 11:42 AM
Your example is equally good .
Ty for help that too on ur unfamilier grounds u helped me..
Cheers