Beispiel #1
0
        public wpfStudent()
        {
            InitializeComponent();

            Sqlite = new clsSQLite();
            Query  = new SQLquery();

            if (int.TryParse(Sqlite.ExecuteScalarSQL(Query.getMaxIndex()).ToString(), out int mId))
            {
                maxId = mId + 1;
            }
            tbSId.IsEnabled = false;
            tbSId.Text      = maxId.ToString();
        }