private void GetStyelByID() { BindDDL_StyleList(); DataTable Style = StyleOperation.GetStationConfig(this.DDL_StationList.SelectedValue.ToString(), "-1"); DDL_StyleList.SelectedIndex = DDL_StyleList.Items.IndexOf(DDL_StyleList.Items.FindByValue(Style.Rows[0]["StyleID"].ToString())); }
private void GetDesktopMessage(string staticonID, string userid) { try { DataTable dt = StyleOperation.GetStationConfig(staticonID, userid); ShowDeskTop(dt); } catch (Exception ex) { Response.Write(JavaScript.Alert(true, ex.Message)); } }