public string SelectStat() { //string str1 = "select * from Products"; string str1 = "SELECT Name FROM dbo.Products where Name=('" + Name + "')"; //string str2 = "SELECT EmployeeID, LastName FROM dbo.Employees"; string name = sqlConn.GetResult(str1); return(name); }