Click here to Skip to main content
15,894,907 members
Home / Discussions / C#
   

C#

 
AnswerRe: C sharp Pin
Simon_Whale25-Nov-14 0:23
Simon_Whale25-Nov-14 0:23 
AnswerRe: C sharp Pin
OriginalGriff25-Nov-14 0:24
mveOriginalGriff25-Nov-14 0:24 
AnswerRe: C sharp Pin
Bernhard Hiller25-Nov-14 5:08
Bernhard Hiller25-Nov-14 5:08 
AnswerRe: C sharp Pin
4a616e25-Nov-14 10:11
4a616e25-Nov-14 10:11 
AnswerRe: C sharp Pin
V.27-Nov-14 1:58
professionalV.27-Nov-14 1:58 
QuestionC# - Read App.Config file Pin
Member 1123932724-Nov-14 20:48
Member 1123932724-Nov-14 20:48 
AnswerRe: C# - Read App.Config file Pin
Richard MacCutchan24-Nov-14 21:38
mveRichard MacCutchan24-Nov-14 21:38 
GeneralRe: C# - Read App.Config file Pin
Member 1123932725-Nov-14 22:19
Member 1123932725-Nov-14 22:19 
GeneralRe: C# - Read App.Config file Pin
Richard MacCutchan25-Nov-14 22:54
mveRichard MacCutchan25-Nov-14 22:54 
AnswerRe: C# - Read App.Config file Pin
BillWoodruff25-Nov-14 4:20
professionalBillWoodruff25-Nov-14 4:20 
GeneralC# WPF Move - Rotate - Zoom Image Pin
LamThanhNghia24-Nov-14 13:54
LamThanhNghia24-Nov-14 13:54 
GeneralRe: C# WPF Move - Rotate - Zoom Image Pin
Dave Kreskowiak24-Nov-14 16:52
mveDave Kreskowiak24-Nov-14 16:52 
GeneralRe: C# WPF Move - Rotate - Zoom Image Pin
SledgeHammer0124-Nov-14 17:00
SledgeHammer0124-Nov-14 17:00 
GeneralRe: C# WPF Move - Rotate - Zoom Image Pin
Dave Kreskowiak24-Nov-14 17:07
mveDave Kreskowiak24-Nov-14 17:07 
GeneralRe: C# WPF Move - Rotate - Zoom Image Pin
SledgeHammer0124-Nov-14 17:12
SledgeHammer0124-Nov-14 17:12 
QuestionComo reproducir 2 videos sin cuadros negros entre ellos Pin
Member 1117759324-Nov-14 4:07
Member 1117759324-Nov-14 4:07 
AnswerRe: Como reproducir 2 videos sin cuadros negros entre ellos Pin
den2k8824-Nov-14 4:17
professionalden2k8824-Nov-14 4:17 
QuestionPDF ti HTML Pin
nitin_ion23-Nov-14 23:38
nitin_ion23-Nov-14 23:38 
AnswerRe: PDF ti HTML Pin
Richard MacCutchan24-Nov-14 0:17
mveRichard MacCutchan24-Nov-14 0:17 
QuestionC sharp Delegate Pin
Sarita S23-Nov-14 22:30
Sarita S23-Nov-14 22:30 
AnswerRe: C sharp Delegate Pin
Kornfeld Eliyahu Peter23-Nov-14 22:53
professionalKornfeld Eliyahu Peter23-Nov-14 22:53 
AnswerRe: C sharp Delegate Pin
Pete O'Hanlon24-Nov-14 0:11
mvePete O'Hanlon24-Nov-14 0:11 
AnswerRe: C sharp Delegate Pin
hassan faghihi24-Nov-14 1:17
professionalhassan faghihi24-Nov-14 1:17 
GeneralRe: C sharp Delegate Pin
Sarita S24-Nov-14 2:35
Sarita S24-Nov-14 2:35 
QuestionCapturing Data from an Excel Spreadsheet Pin
JimmyMac9123-Nov-14 11:45
JimmyMac9123-Nov-14 11:45 
Hey guys,

Very new to coding, learning it in downtime at work at the moment.
I've given myself a project of learning C# so I can create a program that extrapolates data from an excel spreadsheet (of the users choice) then will format that data and send it to a particular internal email address at work.

Now currently I have this put together from beginner guides and fiddling around.

<spoiler>
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApplication5
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void openFileDialog1_FileOk(object sender, CancelEventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            //Show Dialog and get Result
            DialogResult result = openFileDialog1.ShowDialog();
            if (result == DialogResult.OK)
            {
                this.textBox1.Text = openFileDialog1.FileName; //Displays browse result in textbox
            {}
            }
            Console.WriteLine(result); 
        }
    {
        foreach (var)
    }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {
        }
    }
}


I don't want anyone to show me exactly what I need to do from here, but just need a general idea of where to go from here.

I need to get the selected Excel document to be read from C# then formatted into an email and sent off to email@blahblah.com, but I don't really know where to start.

Any pushes in the right direction would be great Smile | :) Thanks

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.