private void BindDevelopRawMaterial()
    {
        string SQLCONNECTIONSTRING = ConfigurationManager.AppSettings["SQLCONNECTIONSTRING"].ToString();
        SqlConnection myConnection = new SqlConnection(SQLCONNECTIONSTRING);
        string cmdText = "select RawMaterialID,RawMaterial,Kind,Shaped,Amount,Unit,PertainToDepartment,Notes from [DevelopRawMaterial]";
        SqlDataAdapter da = new SqlDataAdapter(cmdText, myConnection);
        myConnection.Open();
        DataSet ds = new DataSet();
        da.Fill(ds);
        GVDevelopRawmaterial.DataSource = ds;
        myConnection.Close();
        GVDevelopRawmaterial.AllowPaging = true;
        GVDevelopRawmaterial.PageSize = 3;
        GVDevelopRawmaterial.DataBind();
    
    }webconfig code  <appSettings>
  <add key="SQLCONNECTIONSTRING" value="Data Source=40010909-6A8056;Initial Catalog=BH-ETHAN;User ID=sa;Password=admin;Integrated Security=True"/>
  </appSettings>为什么在 调试的时候 能够 读取SQL信息
而远程访问 或 IIS 访问 就会 提示 
无法打开登录所请求的数据库 "BH-ETHAN"。登录失败。
用户 'NT AUTHORITY\NETWORK SERVICE' 登录失败。