SqlCommand cmd = new SqlCommand("SELECT * FROM SendP WHERE Emp_Id = Email);
SELECT * FROM tablename WHERE col1= col2
select * from yourtable where column1 = 'A' and column2 = 'B'
select case when Emp_Id = Email then 'equals' else 'not equals' end from SendP
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)