I am doing the project of electronic PO form, and I got stuck. I am using wins 2000 server, front end ASP version 3.0, back end SQL database.
I have 2 questions to ask if anybody knows any of these, please let me know I really appreciate.
1/. To the PO form, do you know how to display PO # on
the form. This # usually shows up at the top right
corner of the form (6 digit # such as 026191). I set
up in database by using identity increment in PO #
column so that every time the user adds new orders,
the PO # will automatically increase.
To ASP file, how can I display the #?
2/. After the user fill out the form, they will submit to whoever approves the orders like a manager, it should be default. At the left bottom it shows the name of the person who orders. At the right bottom it shows the name of the approval person like manager. Do you know how to set up this?
If you have any ideas, please let me know.
Thank you very much for your help.
Can any body send me the code of sending Mail through ASP.NET
and wht are the requirements for sending a mail. Which Namespace we should import. Using System.Net.Mail Or
Can any one help me out of this Plzzzzzzzz.
Plz send me the code
Expecting an Early and favourable Reply
Thanks in Advance
System.Net.Mail.MailMessage message = new System.Net.Mail.MailMessage();
message.Subject = "This is the Subject line";
message.From = new System.Net.Mail.MailAddress("email@example.com");
message.Body = "This is the message body";
System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient(HostName);
here is that what you are looking for? Sometimes links are good, but thats my biggest problem with alot of people on CodeProject, most of us are smart enough to google, and if I come here, its because chances are I didnt understand what they were explaining out there. It helps to see real life code, so here is an example for you from one of my projects.
privatevoid SendEmail()<br />
//create email message<br />
MailMessage newMail = new MailMessage();<br />
newMail.Subject="Your TCAIMS Password";<br />
newMail.Body="Your password is "+lblPassword.Text+".";<br />
SmtpMail.SmtpServer="SMTP IP ADDRESS HERE";<br />
newMail = new MailMessage();<br />
newMail.Subject="Your User ID";<br />
newMail.Body="Your User ID is "+lblUserID.Text+".";<br />
SmtpMail.SmtpServer="SMTP SERVER IP";<br />
catch(Exception err)<br />
string s = err.Message;<br />
My name is Jatiner and I work for Microsoft on the TechEd event. I generally read IT blogs to keep up with what is going on in the industry and decided to jump on in with a little plug for TechEd 2007 (June 4 – 8). This year we’ve dedicated 50% of the event content to developer specific tools with deep technical training that covers Visual Studio® 2005, Windows Vista™ development and the .NET Framework. You can also get in-depth information on building software using Visual C++®, Visual Basic® and Visual C#®. The incredible amount of information you can learn at TechEd is awesome but it is also an incredible place to network and let loose a little. The event is in Orlando, FL this year so the attendee party is at Universal Studios Islands of Adventure and the place is reserved for TechEd attendees only! Trust me, these parties are a blast. If you decide to go you should register now before it sells out like it did last year…we are also offering a bit of an incentive, all registrations before May 11th are entered to win either 1 of 5 Xbox 360 Elites (killer graphics) or 1 of 5 Amex gift cards (Disney ain’t cheap!) www.microsoft.com/teched
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
Last Visit: 31-Dec-99 18:00 Last Update: 1-Oct-23 10:19