Пример #1
0
        protected void btnInsert_Click(object sender, EventArgs e)
        {
            DBOps db = new DBOps();

            string _key      = txtInsertKey.Text;
            string _value    = (txtInsertValue.Text);
            long   contactno = long.Parse(txtContactNo.Text);

            int retval = db.InsertSupplierTable(_key, _value, contactno);

            lblInsertInfo.Text = retval.ToString() + " rows inserted";
            lblInsertInfo.DataBind();

            RefreshTable();
        }