I am returning string Subject from this class now if i want to return two more strings from this class how do i do it??
string Subject;
public string getdata(string EmailFrom,string EmailTo, string EmailComment )
{
{
scom.CommandType = CommandType.StoredProcedure;
try
{
SqlDataReader rdr = scom.ExecuteReader();
if (rdr.HasRows)
{
while (rdr.Read())
{
Subject = rdr["EmailSubject"].ToString();
}
}
return Subject;