"Select Count(*) FROM Categories where CategoryName ='" + p.addcat + "'";
Label1.Text = datatable.Rows[0][0].ToString();
ExecuteScalar()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)