public void InitData() { try { ; int id = Convert.ToInt32(Request.QueryString["id"].ToString()); string str = sha.FindName(id); if (str != "") { Contents.Text = str; } else { Contents.Text = "暂无"; } } catch (Exception) { throw; } }