Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8822005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:59:31+00:00 2026-06-14T05:59:31+00:00

I have a web portal in which user download excel sheet which is being

  • 0

I have a web portal in which user download excel sheet which is being generated from SQL Server 2008 Table.I want way to automate this process say after each one hour updated excel sheet (which is being derived from sql table) should directly get sent to specified E-mail address.

I have Code which Converts DataTable to Excel.

SQL Server 2008 - Database Mail

Using above i can schedule my stored procedure to run after 1 hour but how can i generate excel sheet from it and send it as attachment ?

Any another way to achieve same ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T05:59:32+00:00Added an answer on June 14, 2026 at 5:59 am

    You can achieve this in 2 ways

    1) You can use Windows Service as Rajashekar said either
    2) You can create a SSIS package to generate excel file and send email. Once done create a job to run this SSIS package every 1 hour

    Below is the sample link to create excel file dynamically

    http://www.codeproject.com/Articles/402958/SSIS-Package-Export-Data-from-Database-Daily-to-Ne

    The other link to send email with attachments is below

    http://www.codeproject.com/Articles/85172/Send-Email-from-SSIS-with-option-to-indicate-Email

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a web portal product from which we customize portals from customers. We
I am going to have a web portal from which I will be calling
I have web page in PHP which displays all records in a table. I
I have a web portal cricandcric.com which I have done using the php, java
Am using Lucene API in my web portal which is going to have 1000s
I have developed a web portal in Joomla, which is completely images oriented, hence
I am working on a web portal (PHP/MYSQL) which have 3 sections photos, videos,
Have a portal which uses forms authentication LoginUrl=Login.aspx DefaultUrl=Default.aspx User credentials are in db...
I have a web portal designed in ASP.NET in which we ask customers to
I have a web portal and the web portal has web services API. Which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.