Click here to Skip to main content
15,920,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to fill textbox with DGV Column ? Pin
Member 115798703-Jun-15 2:30
Member 115798703-Jun-15 2:30 
GeneralRe: how to fill textbox with DGV Column ? Pin
Pete O'Hanlon3-Jun-15 2:32
mvePete O'Hanlon3-Jun-15 2:32 
GeneralRe: how to fill textbox with DGV Column ? Pin
Dave Kreskowiak3-Jun-15 2:37
mveDave Kreskowiak3-Jun-15 2:37 
GeneralRe: how to fill textbox with DGV Column ? Pin
Pete O'Hanlon3-Jun-15 3:35
mvePete O'Hanlon3-Jun-15 3:35 
QuestionHow to connect oracle database server without oracle client? Pin
KarthiSrv2-Jun-15 19:00
KarthiSrv2-Jun-15 19:00 
AnswerRe: How to connect oracle database server without oracle client? Pin
PIEBALDconsult2-Jun-15 19:15
mvePIEBALDconsult2-Jun-15 19:15 
AnswerRe: How to connect oracle database server without oracle client? Pin
V.2-Jun-15 22:32
professionalV.2-Jun-15 22:32 
Questionsend an email to many email address from datagridview colomn Pin
Member 115798702-Jun-15 1:49
Member 115798702-Jun-15 1:49 
hello
i'm using c# to create an application to send email to multiple email address that stored in datagridview column
this is the code for sending to single email

C#
try
        {
            SmtpClient client=new SmtpClient("smtp.gmail.com",587);
            MailMessage message = new MailMessage();
            message.From = new MailAddress(txtemail.Text);
            message.To.Add(txtreciever.Text);
            message.Body = txtbody.Text;
            message.Subject = txtsubject.Text;
            client.UseDefaultCredentials = false;
            client.EnableSsl = true;

            if (txtattachment.Text != "")
            {
                message.Attachments.Add(new Attachment(txtattachment.Text));

            }
            client.Credentials = new System.Net.NetworkCredential(txtemail.Text, txtpassword.Text);
            client.Send(message);
            message = null;
            MessageBox.Show("Message Sent");
        }
        catch(Exception ex)
        {
            MessageBox.Show( "Failed to Send Message");
        }

AnswerRe: send an email to many email address from datagridview colomn Pin
OriginalGriff2-Jun-15 1:56
mveOriginalGriff2-Jun-15 1:56 
GeneralRe: send an email to many email address from datagridview colomn Pin
Member 115798702-Jun-15 2:00
Member 115798702-Jun-15 2:00 
GeneralRe: send an email to many email address from datagridview colomn Pin
OriginalGriff2-Jun-15 2:04
mveOriginalGriff2-Jun-15 2:04 
GeneralRe: send an email to many email address from datagridview colomn Pin
Member 115798702-Jun-15 2:17
Member 115798702-Jun-15 2:17 
GeneralRe: send an email to many email address from datagridview colomn Pin
Chris Quinn2-Jun-15 2:22
Chris Quinn2-Jun-15 2:22 
GeneralRe: send an email to many email address from datagridview colomn Pin
Member 115798702-Jun-15 2:25
Member 115798702-Jun-15 2:25 
GeneralRe: send an email to many email address from datagridview colomn Pin
Chris Quinn2-Jun-15 2:29
Chris Quinn2-Jun-15 2:29 
GeneralRe: send an email to many email address from datagridview colomn Pin
OriginalGriff2-Jun-15 2:25
mveOriginalGriff2-Jun-15 2:25 
Questionhow to bind sql data in kendo ui grid in webpage not in mvc Pin
anjus123431-May-15 10:58
anjus123431-May-15 10:58 
Answer[Repost] Pin
Sascha Lefèvre31-May-15 11:30
professionalSascha Lefèvre31-May-15 11:30 
Questionhow to create a simple chart drawing library Pin
Member 1041780831-May-15 7:17
Member 1041780831-May-15 7:17 
AnswerRe: how to create a simple chart drawing library Pin
Sascha Lefèvre31-May-15 8:10
professionalSascha Lefèvre31-May-15 8:10 
GeneralRe: how to create a simple chart drawing library Pin
Member 1041780831-May-15 9:26
Member 1041780831-May-15 9:26 
GeneralRe: how to create a simple chart drawing library Pin
Sascha Lefèvre31-May-15 9:35
professionalSascha Lefèvre31-May-15 9:35 
QuestionC # Pin
Member 1116544331-May-15 2:11
Member 1116544331-May-15 2:11 
AnswerRe: C # Pin
Sascha Lefèvre31-May-15 2:17
professionalSascha Lefèvre31-May-15 2:17 
AnswerRe: C # Pin
OriginalGriff31-May-15 2:47
mveOriginalGriff31-May-15 2:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.