Sunday, December 27, 2009


ALRIGHT! NO MORE MOVIES FOR THIS SEASON!

GETTING SICK =X


26 Dec caught "Sherlock Holmes" with Amily at The Cathay in the afternoon.

Gotten the movie passes thru buying my Bold 2. LOL!

movie was nice. just a bit draggy.

haha :D


had BK Swiss Double Burger for lunch at PS.

congrats me. it rains. zzz...

so is shivering cold~ pur pur pur~


As for today! well, sleep from 2am to 330pm. kinda cool!

LAZYPIG i noe...

do my room spring cleaning for yr 2010.

clean 4 wardrobes and nothing else.

damn damn tired. maybe cox of mixture of dust and water and god damn it.

ANTS!!!! =.=


had chicken rice as dinner like AGAIN! cool =.=

alright, tt's all. bye~

Friday, December 25, 2009


MERRY XMAS EVERYONE!!! HO HO HO!

meet up Amily for Alvin and Chipmunks 2 movie at Grand Cathay!

the movie is damn nice. haha. Chipmunks are cute, Chipettes are hot!

LOL!

after which, head to kfc snack awhile waiting for Fathur to reach from art musemum.

meet up, went bought a gift for gary and head to his house for xmas feast.

yum yum! OMG! the food is superb!


all the goodies "Qi Ju Yi Tang" got Ham, Turkey, Lamb, Pizza, Sushi from Sakae! and Logcake.

go one serving after another. I damn dun stand on ceremony one.

total 3 servings. HAHA! shiok! now so full!

thank bro! u rocks!




OH yea! very impt, I forgot mention!

I finally gotten the best phone i ever got in my whole life.

The new Blackberry Bold Onyx 9700 from Singtel!

tell u wad, this phone rocks man! rock on! damn cool!

Lovin it! :D

Business phone? No! more like an entertainment phone. LOLS!!!

alright, tt's all for now. Ta-Da!

Saturday, December 19, 2009




YO!!!! I AM BACK! AFTER LESS THAN 24 HRS. ^^

Today early morning wake up and meet cousins Jan and Kira with my sister watch The Storm Warriors(Feng Yun 2) at Vivocity at 11am.

The movie is awesome. cool computer effects is way better than 10 yrs back. though 10 yrs back is cool enuf redy. The story plot is not bad oso. jus the ending a bit.. .. no meaning.

=x


Overall, A really nice movie. I like the song. haha. I rate it (4/5)

=)


Next went to Marina Sq Kbox sing 4 hrs with them. celebrated jan's advance 18th bdae.

sing like some siao gina. haha.

have alot of fun. Took alot of photos, on fb. ^^

Had Hans for dinner. Nice.

Have a really enjoyable day with them.

WHEEE!


ALright, stop for now, come back for more soon. =P

Friday, December 18, 2009


Yo!

Exams over! Whee!

but projects coming. Wonderful! God Damn It man =(


Common Test Comments:

Cmaths: can score i suppose

Web Development: FK it!

Data Algorithms: Screw the Zao Xia!


Oh well, after all this nonsense, finally i get to rest even for just a while.

Chill out at Pitstop Cafe with Usuals!

Laughter and Hilarious Crappies going on never ending~

They Rock My Worlds!!!


Alright, gonna rest for now.

Ta-Da. Till den~ 

*yawn yawn*


P.S: I UPDATE LE HOR!!!!!!! HAHAHAHA!


Thursday, December 10, 2009



--------------------------------------------------------------

step 1: Creating a database to store the tables
- from solution xplorer.
- right click on the App_data and select add new item.
- add a new Sql server Database.
- add the tables category and item. ( erm both will have their own id like catid and itemid)
- add in the necessary attributes and done =)

step 2: Create a master page
- from solution xplorer.
- right click on the globe thing and select add new item.
- select masterpage.
- make sure the Select master page checkbox is not ticket.
- make sure the place code in separate file is checked.
- cut the content place holder. (dont delete it)
- place a HTML table.
- merge the rows and paste the content place holder to the last row.

step 3: Design in the way the sample webside request.

step 4: Create add catergory aspx
- from solution xplorer
- right click on the globe thing and select add new item.
- select webform and name it accordingly.
- make sure the Select master page checkbox is ticked. and select the masterpage u created.
- make sure the place code in separate file is checked.
- drag in a HTML table and other necessary control variables.
* control variables are items in the toolbox.
- add in the validation control and summary to the respective locations.dun forget save button and label.
- drag a sqldatasource and config datasource. config it to add cat table.
- select the *
- go to advance and tick the both box. Done and finish.
- insert query. select the parameters and set parameter source to control
- select the textbox/ dropdown list to the respective parameters.
- double click the save button and the enter the code under button_click sub.
( in this test u all are not required to do duplication check)
Try
SqlDataSource1.Insert()
Label2.Text = TextBox2.Text + " is saved!"
Catch ex As Exception
Label2.Text = ex.Message.ToString
End Try
- compile and run the webpage to test the save button
-upon successful save, the add cat table has the data tat u just key in.
* u can do so by right clicking on the database.mdf and right clicking on the addcat table and
show table data. ( successful save will sercure 15 marks of the test).

step 5 : Create add item aspx.
- similar to how u add cat.
- make sure the place code in separate file is checked.
- drag in a HTML table and other necessary control variables.
* control variables are items in the toolbox. ( dun forget the drop down list)
- add in the validation control and summary to the respective locations. dun forget save button and label.
- drag a sqldatasource and config datasource. config it to add item table.
- select the *
- go to advance and tick the both box. Done and finish.
- insert query. select the parameters and set parameter source to control
- select the textbox/ dropdown list to the respective parameters.
- double click the save button and the enter the code under button_click sub.
( in this test u all are not required to do duplication check)
Try
SqlDataSource1.Insert()
Label2.Text = TextBox2.Text + " is saved!"
Catch ex As Exception
Label2.Text = ex.Message.ToString
End Try
- compile and run the webpage to test the save button. (another 15% of the test)
*check the item table again if the items are successfully saved. =)

Step 6: view cat
- Create view cat aspx. ( lol create so many pages liao should know how to create another page ya?)
* dun forget to check the select master page.
- drag the category table from the server explorer into the view cat page.
- make sure the table is binded to the sqldatasource.
- click on the smart tag of the cat table.
- enable edit, update and sorting.

step 7 view item
- totally similar to the view cat. =)

step 8
- go to masterpage.
- go the the menu smart tag.
- edit the NavigationUrl to link it to the respective pages.
- test run and check tat all's working =)


point to take note.
- if the data is not saved. check ur insert query again. make sure all parameters and set to control

and set to the respective validation controls.

--------------------------------------------------------------

JIAYOU EVERYONE! ^^