Hi friends
I want to send the mail with the values which are stored in database.
The Code which i used was
da = new OdbcDataAdapter("SELECT comp_componentname, comp_color, comp_process FROM comp_details where comp_dcno='"+ txt4.Text +"' ", con);
DataSet ds = new DataSet();
da.Fill(ds, "comp_details");
gdview.DataSource = ds;
gdview.DataBind();
con.Close();
MailMessage msg = new MailMessage();
msg.To = txt1.Text;
msg.From = txt2.Text;
&n ...
Go to the complete details ...