변환에 문제가 있습니다. 이 변환에 Whate가 잘못 되었습니까? 여기 컴파일러 오류 메시지 : 암시 적으로 'long'유형을 'string'으로 변환 할 수 없습니다.
오류입니다 :Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0029: Cannot implicitly convert type 'long' to 'string'
if (hid_Action.Value.ToString().ToUpper() == "RENEW")
{
string strHFUpdate = string.Empty;
string srt = Convert.ToInt64(Session["AppId"] + ",'" + Session["CAAID"].ToString() + "','" + Session["UserType"].ToString() + "'");
strHFUpdate = "oea_sp_update_HF_MC_Renewal_Status " + srt;
rProxy.GlobalSaveData(Session["CountyName"].ToString().Trim(), strHFUpdate.ToString());
}
당신의 도움을 주셔서 감사합니다!
정보가 충분하지 않습니다 ... 어떤 스크립팅 언어입니까? 물론 분명히 C#하지만 당신은 그것을 적어서 그것을 태그해야합니다 – Omer
내가 제대로 당신을 이해하지 못했지만 그것은 asp.net, C#으로 작성되었습니다. – userstackoverflow
이것은 도움이 될 수 있습니다. -http : //social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/35a1ffd9-b82a-435d-9efb-2e8a779d24c0/ –