int len = txt.IndexOf("}") - start;
if ((start > 0) && (len > 0))
 ...{
txt = txt.Substring(start,len);
}
else
 ...{
txt = string.Empty;
}
}
}
}
}
}
catch (Exception ex)
 ...{
//Throw away any error if we are not in debug mode
#if (DEBUG)
MessageBox.Show(ex.Message,"Acquire SQL Servier List Error");
#endif
txt = string.Empty;
}
finally
  上一页 [1] [2] [3] [4] [5] [6] 下一页 |