User Profile

Collapse

Profile Sidebar

Collapse
thaiwhere
thaiwhere
Last Activity: Aug 14 '07, 08:33 AM
Joined: Aug 8 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • thaiwhere
    replied to Sending an email in asp.net2.0 using C#
    in .NET
    Hi !
    You can using this code below :
    //*************** *************** ************
    public void Send(string from, string to, string cc, string subject, string data, string xslFormatFilePa th)
    {
    try
    {
    try
    {
    string body = TransformXml(da ta, xslFormatFilePa th);

    MailMessage message = new MailMessage();
    message.BodyEnc oding =...
    See more | Go to post

    Leave a comment:


  • thaiwhere
    started a topic a problem when export to Excel
    in .NET

    a problem when export to Excel

    Hi all,
    pls help me about this problem. I have a code below:
    (I want to export data of grid to Excel)
    //*************** *************** *************** *****
    myDataGrid.Data Source = ds.Tables["TAList_Ite m"]; //example
    myDataGrid.Data Bind();

    Response.ClearC ontent();
    Response.Buffer = true;
    Response.AddHea der("content-disposition",...
    See more | Go to post
No activity results to display
Show More
Working...