protected void btnInsert_Click(object sender, EventArgs e) { DBOps db = new DBOps(); string _key = txtInsertItem.Text; long _value = long.Parse(txtInsertQuantity.Text); string lab = ddlInsertLab.SelectedValue; int retval = db.InsertInventoryTable(_key, "", _value, lab, "", ""); lblInsertInfo.Text = retval.ToString() + " row inserted"; lblInsertInfo.DataBind(); RefreshTable(); }