Exemplo n.º 1
0
        public static int GetIDFromTitle(GridViewRow gvr, int index, bool ishyperlink)
        {
            dynamic tc = gvr.Cells[index].Controls[1];

            return(GMConvert.GetInt32(tc.Title));
        }
Exemplo n.º 2
0
        public static int GetID(GridViewRow gvr, int index)
        {
            dynamic tc = gvr.Cells[index].Controls[1];

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