Showing posts with label background. Show all posts
Showing posts with label background. Show all posts

Monday, March 26, 2012

Please Guide me

Hi,

I have just started learning ASP.NET. My background is in Cold Fusion, Perl, C++ and some JAVA.
I got this book on asp.net by microsoft. "ASP.NET programming with Visual Basic.NET STEP by STEP". The book is ok. I am trying to find some code samples which are good for beginners (i mean not very complex). Where can i find such samples which i can download and understand the actual usage of asp.net.

Please help me. I am lost. I have read half of the book, and still not very clear on some of the concepts. Is it easy to learn on my own or should taking some kind of training is a good idea.

Thanks.Check out:
ASPNet101.com
That should help a little to get you started, at least

also - remember that the basic concept of ASP.Net is that it is Event Driven and Object Oriented - - it brings actual programming concepts (like Visual Basic, etc) to web programming.

Every Web form tag is considered an object - - each object has properties - - (and more)
To 'Do' something with any of these objects, it requires an event, like, a button would have a Click Event (among others) - - there is no submission of a form, per se, any more - - you can program a button to do anything you'd like.

First thing I'd narrow in on, other than the basic concept of ASP.Net, is the Web Controls (Server Controls) that ASP.Net has built in (button, textbox, etc) - - - much of the real power comes from there - -
Next, I'd check out ADO.Net - - which is what ASP.Net uses for 'talking' to Databases (just about any flavor db that you need).....

Saturday, March 24, 2012

Please help = Im desparate

I come from a PHP background and I'm having a heck of a time solving this problem. I need to create a contact form/ shopping cart. The form will consist of:

1. Product info(orderForm.asp):
the customer will select products and the a form for personal info will be filled out - this will include name. address, credit cart info, etc

2. Confirm order (orderConfirm.asp):
the values of the customers products will be added up and sent to this page along with the info previousley filled in and the order is sent by encrypted email.

I have done this with PHP by declaring variables and using 'if then else' statements.

Anybody have any idea how I can achieve this. It has to be done yesterday

I am not sure what exactly you need here.

If you would like to know about sending mails from ASP.net, check this link (its explined with an example)

http://www.developer.com/net/asp/article.php/3096831


kevinritt:

I come from a PHP background and I'm having a heck of a time solving this problem. I need to create a contact form/ shopping cart. The form will consist of:

1. Product info(orderForm.asp):
the customer will select products and the a form for personal info will be filled out - this will include name. address, credit cart info, etc

2. Confirm order (orderConfirm.asp):
the values of the customers products will be added up and sent to this page along with the info previousley filled in and the order is sent by encrypted email.

I have done this with PHP by declaring variables and using 'if then else' statements.

Anybody have any idea how I can achieve this. It has to be done yesterday

kevinritt --

Check out these links...

ASP.NET Getting Started -- http://www.asp.net/getstarted/default.aspx?tabid=61

ASP.NET Quick Start Tutorials --http://quickstarts.asp.net/QuickStartv20/aspnet/Default.aspx

Learn ASP.NET --http://www.asp.net/learn/default.aspx?tabid=63

ASP.NET Starter Kits --http://www.asp.net/downloads/starterkits/default.aspx?tabid=62

One quick way to get your project done is to setup one of the eCommerce Starter Kit applications and then make it suit your needs. However, those are complex applications and may be beyond your level right now. If that is the case, then just study them a bit. Maybe.

In short, what you need is a web-application, 2 pages, and a database. You need (1) allow the user to enter data on Form1. (2) when the user submits the data on Form1, you will grab the data programmatically and put it in the database and then redirect to Form2; (3) on Form2, you will get the data from the database, put it on Form2, and show the email to be sent; (4) when the user submits Form2 you will send the data in the email.

That's some work, no doubt about it. You will need to know how to do (A) database access, (B) email sending, (C) navigation, and (D) page layout. Your best bet, I think, is to go through the QuickStarts and find the sections for A, B, C, and D, learn them, and then try to code it.

(A) Data Access --http://quickstarts.asp.net/QuickStartv20/aspnet/doc/data/default.aspx

(C) Navigation and (D) Page Layout --http://quickstarts.asp.net/QuickStartv20/aspnet/doc/pages/default.aspx

(B) Email --http://www.developer.com/net/asp/article.php/3096831 orhttp://aspalliance.com/149_How_to_Send_Email_from_ASP_NET_

Is this is your 1st application, then it will take some time to get over the initial learning curve. However, after this application is done, I think you will see the power of ASP.NET over Classic ASP and PHP. IMHO.

HTH.

Thank you.

-- Mark Kamoski