예제 #1
0
        private void ImportFromExcel_LolehGeneral_OnImportDataCompelete(DataSet _ds)
        {
            var looleha = new Model.ZirProjeLoole();
            var msg     = looleha.ImportFromExcelLoloehProject(_ds);

            ViewState["IsNextStep"]   = true;
            ViewState["loolehaCount"] = msg;
        }
        private void ImportFromExcel_lolehProjectOne_OnImportDataCompelete(DataSet _ds)
        {
            var        looleha = new Model.ZirProjeLoole();
            DataColumn Col     = _ds.Tables[0].Columns.Add("ProjectID", typeof(System.String));

            Col.SetOrdinal(0);

            foreach (DataRow row in _ds.Tables[0].Rows)
            {
                row["ProjectID"] = selectedProjectID.Value;
            }
            //_ds.Tables[0].Rows[0]["ProjectID"] = selectedProjectID.Value;

            var msg = looleha.ImportFromExcelLoloehProject(_ds);
        }