DataTable dt = new DataTable(); if (dt.Rows.Count > 0) txtLinkID.Text = (Convert.ToInt32(dt.Rows[0]["link_id"]) + 1).ToString(); else txtLinkID.Text = "1";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)