Today we are working on the chapter 7 assignment.
We will be using string functions
egs. intCharacters = txtText.Length
.ToLower
.ToUpper
validation functions.
RequiredFieldValidator
IftxtFirstName.Text<>""Then
continue
End If
Now we are doing an example. this example changed the lower and upper case of the text when hitting each button and put the correct text in the label.
Now we are doing chapter 7 - Mystic Reservations.
Test on MOnday.
Monday, July 27, 2009
Sunday, July 26, 2009
Creating web applications
Today we are looking at creating web applications.
It is much like using css, with Html codes.
Added a button.
Wrote Ronsponse.Write().. this is a method. Where ever we see a parenthsies, after a method, needs properties (further info) put info into parenthsies (brackets)
Debugging is not enabled when hitting play - hit default and then enter.
You need to leaver the server before you can continue working on the file.
We then opened a new account called twitter, my name is deannem75
Using visual studio, we were able to update our twitter page with our comments.. how exciting!
Imports Twitterizer.Framework
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnClickMe.Click
Response.Write("Here is my message to print to screen")
End Sub
Protected Sub btnButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnButton.Click
Dim TwitterUserName As String = ("Deannem75")
Dim TwitterPassword As String = ("yuiop1")
Dim MyTwitter As Twitter = New Twitter(TwitterUserName, TwitterPassword)
MyTwitter.Status.Update("learning how to create a web page via visual studio")
End Sub
End Class
These are the methods, arguaments and properties we used.
It is much like using css, with Html codes.
Added a button.
Wrote Ronsponse.Write().. this is a method. Where ever we see a parenthsies, after a method, needs properties (further info) put info into parenthsies (brackets)
Debugging is not enabled when hitting play - hit default and then enter.
You need to leaver the server before you can continue working on the file.
We then opened a new account called twitter, my name is deannem75
Using visual studio, we were able to update our twitter page with our comments.. how exciting!
Imports Twitterizer.Framework
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnClickMe.Click
Response.Write("Here is my message to print to screen")
End Sub
Protected Sub btnButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnButton.Click
Dim TwitterUserName As String = ("Deannem75")
Dim TwitterPassword As String = ("yuiop1")
Dim MyTwitter As Twitter = New Twitter(TwitterUserName, TwitterPassword)
MyTwitter.Status.Update("learning how to create a web page via visual studio")
End Sub
End Class
These are the methods, arguaments and properties we used.
Monday, July 20, 2009
week 1 - 21/07 - chapt 6 project
Do until and Do while loops
Loops can be controlled at the top or bottom
eg.
Do until 1 To 10
or
Loop Until x=10
Chapter 6 project, due next week!
Loops can be controlled at the top or bottom
eg.
Do until 1 To 10
or
Loop Until x=10
Chapter 6 project, due next week!
Subscribe to:
Posts (Atom)