Posted on November 25, 2007 by annaiap
Seeing how our ASP.net book doesn’t say anything about System.Net.Mail,
I found this great resource with information: http://www.systemnetmail.com
You may also be interested in the differences between System.Web.Mail and System.Net.Mail, so take a look at the following website
Good luck,
-Anna
Filed under: WP Languages 1 | Tagged: System.Net.Mail | 1 Comment »
Posted on November 8, 2007 by Nik
Four Types of Errors to Expect
COMPILE ERRORS - Will see in compiler
DESIGN ERRORS - Check forms, html etc.
LOGIC ERRORS - Conditions etc
RUNTIME ERRORS
Examples of Errors:
Error:
Operator == cannot be applied to operands of type ’string’ and ‘int’
if (txtLastName.Text == 0)
Answer:
if (txtLastName.Text.Trim().Length == 0)
Using Trim() removes trailing whitespace. (Best Answer)
Using Length (Good Answer)
txtLastName.Text [...]
Filed under: WP Languages 1 | No Comments »
Posted on October 31, 2007 by Nik
Theory
Will Take Place In Class, Wednesday, November 7th
Short answer
List of questions, pick a few
Multiple Choice
Practical
Will take place during lab on Friday, November 9th
130 marks, must find and fix 30 for 100%
You will be given a game. Before midterm, will get an email saying how it is supposed to work; in lab, the game will have [...]
Filed under: WP Languages 1 | 1 Comment »
Posted on October 11, 2007 by Nik
We discussed Try/ Catch today in lecture, and I asked Tappin whether it would be better to use an if statement or Try/Catch, and he said that generally it’s better to use if and conditional statements as they are far less resource intensive and much faster.
Rob also brought up that there’s a built in variable [...]
Filed under: WP Languages 1 | No Comments »
Posted on October 11, 2007 by annaiap
I don’t know about you guys, but I am still having a hard time grasping the basics of C#.
To help me, I found this great article which explains some of the major concepts of C#: http://www.blackwasp.co.uk/ObjectOrientedConcepts.aspx
classes and objects
encapsulation: aka data hiding: hiding the functions of a class so internal operations are hidden for programmer
passing messages: [...]
Filed under: WP Languages 1 | 6 Comments »
Posted on October 7, 2007 by annaiap
A number of you are probably having frustrations with: using ….;
To those who don’t know, this is called a directive. This directive in an alias for a name space in the code.
I found this description very useful: http://msdn2.microsoft.com/en-us/library/sf0df423(VS.71).aspx
Filed under: WP Languages 1 | No Comments »
Posted on October 3, 2007 by Nik
I found this link helpful for the part of the assignment that requires you to split up the comma-delimited text:
Manipulating Strings in C#
Filed under: WP Languages 1 | No Comments »
Posted on September 24, 2007 by nodeadbunnies
i found a great tutorial on getting started with asp.net and c#. Easy to read and understand, it dissects the most basic aspx and c# code blocks, then builds on them (they comment the hell out of their code. brownie points) . code is shown in both c# and vb, which helps to reinforce the [...]
Filed under: WP Languages 1 | No Comments »
Posted on September 19, 2007 by annaiap
I’ve stumbled upon this link while looking for information relating to C#: http://msdn2.microsoft.com/en-us/vcsharp/default.aspx
Also, take a look at the 500 page document, which was written by the developers of C#.
Filed under: WP Languages 1 | 1 Comment »