Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
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
AnswerRe: Capturing Data from an Excel Spreadsheet Pin
PIEBALDconsult23-Nov-14 12:23
mvePIEBALDconsult23-Nov-14 12:23 
GeneralRe: Capturing Data from an Excel Spreadsheet Pin
JimmyMac9123-Nov-14 16:01
JimmyMac9123-Nov-14 16:01 
GeneralRe: Capturing Data from an Excel Spreadsheet Pin
Mycroft Holmes23-Nov-14 18:27
professionalMycroft Holmes23-Nov-14 18:27 
Questionrunning FTP Server Pin
Janis Heller23-Nov-14 8:52
Janis Heller23-Nov-14 8:52 
QuestionRe: running FTP Server Pin
PIEBALDconsult23-Nov-14 9:27
mvePIEBALDconsult23-Nov-14 9:27 
AnswerRe: running FTP Server Pin
Janis Heller23-Nov-14 9:45
Janis Heller23-Nov-14 9:45 
GeneralRe: running FTP Server Pin
Pete O'Hanlon23-Nov-14 20:51
mvePete O'Hanlon23-Nov-14 20:51 
QuestionObject reference not set to an instance of an object on passing reference variable to WPF Forms! Pin
EngrKhizarIqbal23-Nov-14 7:07
EngrKhizarIqbal23-Nov-14 7:07 
AnswerRe: Object reference not set to an instance of an object on passing reference variable to WPF Forms! Pin
Dave Kreskowiak23-Nov-14 7:33
mveDave Kreskowiak23-Nov-14 7:33 
AnswerRe: Object reference not set to an instance of an object on passing reference variable to WPF Forms! Pin
4a616e23-Nov-14 23:13
4a616e23-Nov-14 23:13 
GeneralRe: Object reference not set to an instance of an object on passing reference variable to WPF Forms! Pin
EngrKhizarIqbal24-Nov-14 7:51
EngrKhizarIqbal24-Nov-14 7:51 
Questionredirect webtraffic without writing rules to HOSTS file Pin
Janis Heller23-Nov-14 5:48
Janis Heller23-Nov-14 5:48 
AnswerRe: redirect webtraffic without writing rules to HOSTS file Pin
Dave Kreskowiak23-Nov-14 7:31
mveDave Kreskowiak23-Nov-14 7:31 
AnswerRe: redirect webtraffic without writing rules to HOSTS file Pin
Bernhard Hiller24-Nov-14 4:47
Bernhard Hiller24-Nov-14 4:47 
QuestionHow to retrive user name from Master Page control (Lable) and Display in aspx page using c# Pin
Member 785476923-Nov-14 4:24
Member 785476923-Nov-14 4:24 
AnswerRe: How to retrive user name from Master Page control (Lable) and Display in aspx page using c# Pin
OriginalGriff23-Nov-14 6:00
mveOriginalGriff23-Nov-14 6:00 
QuestionMenuStript Pin
Keypress23-Nov-14 3:10
Keypress23-Nov-14 3:10 

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.