ok but as I declare the method in c # server side
[WebMethod]
[ScriptMethod(UseHttpGet = true, ResponseFormat = ResponseFormat.Xml)]
public static string Documentos(string condicion)
{
StringWriter writer;
ClsUtilerias lib = new ClsUtilerias();
DataSet data = lib.ejecutarConsultaEnDataSet(“exec spt_Consulta_Ejecutiva_Maestra “+condicion);
if (data.Tables[0].Rows.Count > 0)
{
// return the Customers table as XML.
writer = new System.IO.StringWriter();
data.Tables[0].WriteXml(writer, XmlWriteMode.WriteSchema, false);
return writer.ToString();
}
else { return “”; }
}
so the method but have not come to run when I put the varibles the parameter