示例#1
0
        private void BindApplicationInfo()
        {
            var connString = System.Configuration.ConfigurationManager.ConnectionStrings["CTMContext"].ToString();

            var ds = SqlHelper.ExecuteDataset(connString, CommandType.StoredProcedure, "[sp_GetInvestmentDecisionForm]");

            if (ds == null || ds.Tables.Count == 0)
            {
                return;
            }

            var source = ds.Tables[0];

            this.gridControl1.DataSource = source;

            _myVotes = _IDService.GetInvestmentDecisionVotes(LoginInfo.CurrentUser.UserCode);
        }