private void BindData() { DB.Cloud cloud = new DB.Cloud(); int nReturn = cloud.m_tbServers_List(CompanyNum); dt_ServerList = cloud.dsReturn.Tables[0]; nReturn = cloud.m_tbAlertOptions_List(CompanyNum); dt_AlertOption = cloud.dsReturn.Tables[0]; ods_List.TypeName = cloud.GetType().AssemblyQualifiedName; ods_List.SelectMethod = "m_tbAlertRules_Server_List_AlertLevel_ods"; ods_List.SelectParameters.Clear(); ods_List.SelectParameters.Add("numServer", numServer.ToString()); gv_List.DataSourceID = "ods_List"; //nReturn = cloud.m_tbAlertRules_Server_List_AlertLevel(numServer); //gv_List.DataSource = cloud.dsReturn.Tables[0]; //gv_List.DataBind(); }