Instead for splitting string with & and = you can use HttpUtility class to split query string into NameValueCollection:
Private responseHash As NameValueCollection =New NameValueCollection() responseHash = HttpUtility.ParseQueryString(ServerRersponse) 'than use it as usual responseHash("MErrMsg")
No comments:
Post a Comment