Closed GoogleCodeExporter closed 9 years ago
Is this a problem with the generated code? or the builder itself? If the
generated code, can you please attach the code to this issue?
Original comment by kbris...@google.com
on 24 Jul 2012 at 6:29
string lowercaseQuery = query.ToLowerInvariant();
string encodedQuery = System.Web.HttpUtility.UrlEncode(query);
IGDataRequest request;
if (lowercaseQuery.StartsWith("select") ||
lowercaseQuery.StartsWith("describe") ||
lowercaseQuery.StartsWith("show"))
{
Uri uri = new Uri(SERVICE_URL + "?sql=" + encodedQuery + "&encid=" + isUsingEncId.ToString().ToLowerInvariant());
request = service.RequestFactory.CreateRequest(GDataRequestType.Query, uri);
((GDataRequest)request).ContentType = "text/plain";
request.Credentials = service.Credentials;
request.Execute();
}
Original comment by chatsonu...@gmail.com
on 25 Jul 2012 at 7:47
any idea where I am wrong ??????
Original comment by chatsonu...@gmail.com
on 30 Jul 2012 at 12:58
Original comment by rshap...@google.com
on 18 Oct 2012 at 10:37
Original issue reported on code.google.com by
chatsonu...@gmail.com
on 24 Jul 2012 at 3:50