コード例 #1
0
ファイル: DataUtils.cs プロジェクト: sravan202/Releases
        public static int GetIDFromTitle(GridViewRow gvr, int index, bool ishyperlink)
        {
            dynamic tc = gvr.Cells[index].Controls[1];

            return(GMConvert.GetInt32(tc.Title));
        }
コード例 #2
0
ファイル: DataUtils.cs プロジェクト: sravan202/Releases
        public static int GetID(GridViewRow gvr, int index)
        {
            dynamic tc = gvr.Cells[index].Controls[1];

            return(GMConvert.GetInt32(IsEdit(gvr) ? tc.Value : tc.Value));
        }