Sending a Stream as Email Attachment in .NET

In .Net 2.0 – create an email attachment from an in-memory data:

In SQL Server Reporting Services:
if using Oracle as Data Source , use
:Paramater instead of @Parameter in data query to pass Report Parameters

Powered by ScribeFire.



– People are often unreasonable, illogical, and self-centered … forgive them anyway.

– If you are kind, people may accuse you of selfish, ulterior motives… be kind anyway.

– If you are successful, you will win some false friends and some true enemies… succeed anyway.

– If you are honest and sincere people may cheat you… be honest and sincere anyway.

– What you spend years building, someone could destroy overnight… build anyway.

– If you find serenity and happiness, some may be jealous… be happy anyway.

– The good you do today, people will often forget tomorrow… do good anyway.

– Give the world the best you have, and it will never be enough… give the world the best you’ve got anyway.

– it is between you and God…It was never between you and them anyway.

via Wisdom from Mother Thresa

Career Planning: Where Am I Going – Excerpt

  1. …Know what you define as a successful career, then start planning the path. If you just keep trudging ahead, you’re going to be asking yourself these questions every birthday, new years, or annual
    review. It doesn’t have to be super specific (“I want to be a Technology Fellow at Microsoft”) so much as it has to be an area of interest.
  2. Go for it. Don’t be afraid. Don’t give in to the fear. Good developers land on their feet. If you think you want to
    start a company, do it. If you want to work for Google, start preparing yourself and actually go try to get an interview. Don’t let fear of rejection or failure slow you down. You’ve made it this far, you probably are good enough to go further. And if you’re not, better to find out now while you have time to adjust course. More
    succinctly: Don’t choose unhappiness over uncertainty.
  3. Don’t depress yourself by comparing yourself to Scott Hanselman (sorry to pick on you Scott, you’re just the latest new ‘Softie) or whomever else you think is doing so much more than you are. They’re doing that much more because they’ve probably done steps 1 and 2 (and 3 for that matter). You are your own person.

I’ll leaveyou with two lines from Fight Club to think about the next time you’reworried about where your career is going and find yourself doing nothing about it:

This is your life, and it’s ending one minute at a time. – Do something about it.

You are not your job. You are not how much money you have in the bank. You
are not the car you drive. …-
Don’t let it consume you.

via Career Endgame – Where Am I Going? How About You?