- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Array Error
Since I can not find how to post new I will post here. This code provided by teh developer guide triggers an error on reading the array. Any ideas why:
Array response_array = post_response.Split('|');
int ResponseCode = response_array[0];
resultSpan.Text = ResponseCode.ToString();
03-01-2012 05:04 PM - last edited on 03-06-2012 11:37 AM by Michelle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What error are you getting? Which line?
My guess is that your delimited char is not pipe '|' and getting an error on int ResponseCode = response_array[0];
Can you run in debug to see what in post_response before you do the split?
03-06-2012 12:22 PM
