noth50
یک شنبه 01 بهمن 1391, 15:47 عصر
بادرود
برای فراخوانی متد (استفاده از وب سرویس)
public static string SendSms(string recnumbermassege, string textmassege, string sendnumbermassege, string username, string pass)
{
string[] rec = recnumbermassege.Replace("\r", "").Split(new char[] { '\n' });
recnumbermassege.Split();
string txt = textmassege;
string num = sendnumbermassege;
long[] recid = null;
byte[] status = null;
SendSms.Send sms = new SendSms.Send();
int retval = sms.SendSms(username, pass, rec, num, txt, false, "", ref recid, ref status);
return retval.ToString();
}
با پیغام ,the best overloaded method match for ClassConnection.SendSms strimg,string,string,string,string hassome invalid arguments
مواجه می شوم
متد فراخوانی
protected void Button1_Click(object sender, EventArgs e)
{
ClassConnection.SendSms( TRecNumber, TText, DSendNumber, TUserName, TPas);
}
بهترین باشید
برای فراخوانی متد (استفاده از وب سرویس)
public static string SendSms(string recnumbermassege, string textmassege, string sendnumbermassege, string username, string pass)
{
string[] rec = recnumbermassege.Replace("\r", "").Split(new char[] { '\n' });
recnumbermassege.Split();
string txt = textmassege;
string num = sendnumbermassege;
long[] recid = null;
byte[] status = null;
SendSms.Send sms = new SendSms.Send();
int retval = sms.SendSms(username, pass, rec, num, txt, false, "", ref recid, ref status);
return retval.ToString();
}
با پیغام ,the best overloaded method match for ClassConnection.SendSms strimg,string,string,string,string hassome invalid arguments
مواجه می شوم
متد فراخوانی
protected void Button1_Click(object sender, EventArgs e)
{
ClassConnection.SendSms( TRecNumber, TText, DSendNumber, TUserName, TPas);
}
بهترین باشید