public void name(string emailid)
{
int add = s.DMLQuery("select Customer_Name from Tbl_Customer where Email_Id = '" + emailid + "'");
}
I agree to Ankur as well. It is a quote issue. I prefer you use
Parametrized Queries[
^] for escaping the quotes and avoiding SQL injections.
Good luck,
OI