i m trying create multiple directory using json. how in asp.net . connection class make mathod of jsonspselect . m using multiple root directory in asp.net
[webmethod] public string getpropsubtype() { try { objutl = new clsutility(); json_out = objutl.jsonspselect("lspw_propsubtype "); } catch (exception e) { json_out = "server error"; } { } //string json = "{\"name\":\"joe\"}"; //response.clear(); //response.contenttype = "application/json; charset=utf-8"; //response.write(json_out); //response.end(); context.response.clear(); context.response.contenttype = "application/json; charset=utf-8"; context.response.output.write(json_out); context.response.end(); return json_out; }
Comments
Post a Comment