Showing posts with label sales. Show all posts
Showing posts with label sales. Show all posts

Saturday, March 31, 2012

Subscription Form in e-mail

Hi,
Sales guy came up with this idea for clients subscribing to a new service they want to implement.

User's will fill out a subscribtion form, and the data on it will be submitted to the database. Once the subscribtion is approved, a confirmation mail is send to the user.

From my standpoint, I guessed the subscribtion form would be a normal page hosted on the host. But they want to MAIL this page to clients, and clients should be able to fill out the form in the mail.

Now one get this mails where the body is a web page (or so it seems). So I need to know if one can have a page on the internet, but this page can also be filled in from within a mail body. Know what I'm saying?

CheersHmm, maybe you could just email them a link to the form they need to fill out? But, you can send html type emails, so you could try setting up a form string of html, with your fields and such, and set the action of the form to your aspx page that is going to process the form. And then send the html string email to them.
Hmm, maybe you could just email them a link to the form they need to fill out?. Thought about that too, but boss allready saw mails containing web pages, so need to give him a honest answer if it's possible or not.
But, you can send html type emails, so you could try setting up a form string of html, with your fields and such, and set the action of the form to your aspx page that is going to process the form. And then send the html string email to them.Make sense with the bit I figured out so far. Can anyone else comment on this?
You might even be able to send an IFrame with the src set to your registration project, which then you wouldn't have to send a form through the email, and would be alot simpler.
that make sense. you mean the body of the mail is a iFrame, and the iFrame's src property is set to say www.MySite.com/services/newsletter/signup.aspx?
that make sense. you mean the body of the mail is a iFrame, and the iFrame's src property is set to say www.MySite.com/services/newsletter/signup.aspx?
Yeah, just make sure the email is sent as html, you can set this when/if you use SMTP mail. I'd say give the IFrame a go and see how it works out.

Good luck;

Saturday, March 24, 2012

Sum a Datagrid row?

Hello all,

I have a datagrid that returns sales of items by month from an Oracle
table using a datareader like so:

Item |Jan |Feb | ... |Dec
itm1 |10 |5 | ... |6
itm2 |7 |2 | ... |8

I want to add a column to the end of the datagrid that would sum the
row:
Item |Jan |Feb | ... |Dec |Total
itm1 |10 |5 | ... |6 |21
itm2 |7 |2 | ... |8 |17

I would think that this would be easy to do, but I can only find
articles that explain how sum a column into a footer. Could someone
point me in the right direction? I've only been programming in
asp.net for about four months now, so the help is appreciated.Use the binding event of the Grid view (or DataGrid in .NET 1.1) and sum the
columsn there. Go ahead and explicitly add this column to the DataSet in the
designer (and the rest of the columns if you are wise). In the binding event
grab the current binding row and then access the columns in question.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside the box!
*************************************************
"ClevelandSteve" <syahnert@.hotmail.comwrote in message
news:1155759519.915735.90550@.i42g2000cwa.googlegro ups.com...

Quote:

Originally Posted by

Hello all,
>
I have a datagrid that returns sales of items by month from an Oracle
table using a datareader like so:
>
Item |Jan |Feb | ... |Dec
itm1 |10 |5 | ... |6
itm2 |7 |2 | ... |8
>
I want to add a column to the end of the datagrid that would sum the
row:
Item |Jan |Feb | ... |Dec |Total
itm1 |10 |5 | ... |6 |21
itm2 |7 |2 | ... |8 |17
>
I would think that this would be easy to do, but I can only find
articles that explain how sum a column into a footer. Could someone
point me in the right direction? I've only been programming in
asp.net for about four months now, so the help is appreciated.
>


I got it working now. Thank you for the tip.