-3
데이터를 내 sms gateway.first로 다시 보내겠습니다. 이와 같은 쿼리 문자열이 있습니다.쿼리 문자열 연산자 할당 오류
string mobileNo = Request.QueryString["msisdn"];
int dest = int.Parse(Request.QueryString["shortcode"].ToString());
string messageIn = Request.QueryString["msg"];
string operatorNew = Request.QueryString["operator"];
그럼 변수를 지정하겠습니다.
public void sendReply(string messageOut)
{
messageOut = "http://mygateway.com/api/mt?msisdn=mobileNo&body=msg&sender=shortcode&key=nvqow9rhfp&product_id=2116&operator=OperatorNew&country=us";
}
하지만 운영자 할당 오류를 받고 있어요 ..
연산자가 연산자 문자열의 값이고 null이 아닌지 확인하십시오. – Sora
실제 오류를 붙여 넣을 수 있습니까? –
@ 소라노 .not null –