"Sabri AKIN" <> wrote in message
news:229201c50d13$a7532170$...
> Hi,
> I want to send ascx file's html code as email.this ascx
> file is summary of customer sale.and at last iwant to
> send email to customer.how can i get and past ascx file's
> html code to mail body.

Instead of passing parameters, use properties, that way you can set the
properties after you use the LoadControl method. You'll have to create a
reference as the actual type though instead of the base Control class in
order to set the properties correctly.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!