Static Methot for return double var

        public static double ToplamOgrenciKayit(string _kisit)
        {
            Database database = ((Database)HttpContext.Current.Session["database"]);
            double Toplam = 0;
            string sinifAdet = @"SELECT SUM(KayitBedeli) AS Toplam FROM dbo.TblOgrenciKayit WHERE 1=1 " + _kisit;
            DataTable dtAdet = database.TableDataTable(sinifAdet);
            Toplam = MavCore.MConvert.ToDoubleD(dtAdet.Rows[0][0]);
            return Toplam;
        }


Repeater Items Finder loop


SQL Table Shema Query