การสนทนาทั่วไป how to paste T-sql output in mail in c#

  • 22 สิงหาคม 2555 6:24
     
     

    hey all

      please guide me , i'm running one small t-sql using c#,i want to paste the output of Tsql in mail and sent the mail to particular user. please help me how to paste the output in mail and send.

     please help me out.

ตอบทั้งหมด

  • 22 สิงหาคม 2555 6:34
     
     

    Hello, In your c# code you get SQL result in DataTable and then send this DataTable in Email.

    Following links provide details on how to sent DataTable in Email.

    http://forums.asp.net/t/1672971.aspx/1

    HTH


    please Mark as the Answer, If this answers your question. If this post is helpful, please vote as helpful.