codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  .Net Newbie  swspm at 03:25 on Tuesday, September 02, 2003
 

I have been trying to get my first asp.net page up but couldn't seems to be successful.
My problem are as follow:
- I create a new project (ASP.Net Web Application)
- It then generate a WebForm1.aspx for me with some other file such as global.asa and so on
- I then started to write a simple Hello World Program but fail
- I only wawnted to have a blank page with a label and a button. The label is empty at first but when user click on the button it would display Hello World. Therefore I need a event handler for that right? I used vb.net to do the trick. Unser the button_onClick label.text = "hello world". The only problem is when I save my work, it only contain one file which I can't remember well about the extension. I couldn't find any .aspx under the folder I created my project and therefore I couldn't compile.

Can anyone help me on this very simple problem?

Thanks!

  Re: .Net Newbie  Troy Wolf at 16:25 on Tuesday, September 02, 2003
 

swspm, I read your reply in the J2EE forum. Don't feel bad--nobody is upset, it just sounded like you were trying to do way too much at one time. But I guess a college course can be that way! So your goal is to complete a project in a different language each semester, but you don't get text books and teaching that help you learn the languages? Tough class!

For your ASP and or ASP.NET programming, do you have Visual Studio.NET? I suspect that you do not. If not, download the free Web Matrix tool from Microsoft. As I understand, Web Matrix is not an official Microsoft product, but was developed by Microsoft programmers as an excellent ASP.NET tool. It is a very popular tool. VisualStudio.NET is excellent, but it is huge and expensive and not just focused on web development. (I use VisualStudio.NET, so I can't help you with Web Matrix specifics.)

Here is a link to the ASP.NET Hello World tutorial using the Web Matrix tool:
http://www.asp.net/webmatrix/tour/section1/addbasiccontrols.aspx
Troy Wolf: site expert
SnippetEdit Website Editor


  Re: .Net Newbie  swspm at 17:18 on Tuesday, September 02, 2003
 

Glad that you could understand my situation! Indeed there ain't much resources or teaching guideline for us in college and that is why I have to turn to the Net. I really appriciated your help so much as I couldn't get such help from someother people. I think you deserve more than just a credit.

Anyway back to my question.
I heard of WebMatrix before but I was also informed that WebMatrix can't perform the event handler, is that true? Just in case you don't get what I mean, allow me to explain in advance.

Visual Studio .Net can actually allow us to program the event handler correct? For example I have a button and a label ,when user click on the button then it will call some sort of vb.net event handler like

<FONT color=green>Sub button1_onClick

End Sub</FONT>

So that I perform anything I want whenever the user click on the button.
Is web matrix capable to do that?

TQ

  Re: .Net Newbie  Troy Wolf at 17:53 on Tuesday, September 02, 2003
 

Like I said, I don't use Web Matrix, but it would have to allow event handling. What is an Object Oriented Programming (OOP) language without events? I am sure that you can build even very advanced, data-driven ASP.NET applications using Web Matrix.
Troy Wolf: site expert
SnippetEdit Website Editor









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Date script issues
•  perl script help needed
•  onChange issue
•  perl remote execution
•  Chat application
•  How to send multiple perameters in SOAP request.
•  Java code for Insert picture on the table in spreadsheet
•  Re: Problem with concatenation
•  how to genrates the crystal report by sending a id at runtime


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007