Tuesday, August 24, 2010

Peter Principle of Relationships

No matter how beautiful/handsome, intelligent, rich, talented, and famous you are, if you really try you can always find someone who doesn't think you're good enough for them.

Monday, August 23, 2010

Session state can only be used when enableSessionState is set to true,

trying to reference a sessionvariable that hadn't been initialized yet. I was trying to referencethe session variable in one of my page's class constructor before theSession_Start function had been executed in the global.asax file

Thursday, August 19, 2010

Don't you need someone to love?

Just needing someone to love means you're an empty shell ..... needing to love the right someone means you're a person of discrimination and taste.

sql server management studio prevent option off

Go to Tools-> Options -> Designers -> Table and Database Designers
checkbox "Prevent saving changes that require table recreation"


Friday, August 13, 2010

Reporting Services Report Parameters

Find under Report->Report Parameters.

passing to subreports:
click on subreport, right click, select properties, go to parameters tab.

Thursday, August 12, 2010

Renaming web site in asp .net Visual Studio

Just open up the .sln file in notepad, and change it there. The web.config file doesn't do anything.

Reporting Services

Http error 403 - trying to fix by
Control Panel -> Administrative Tools -> IIS --> Web Sites --> Default Web Site --> Report Server --> Properties --> ASP .NET tab --> Edit Configuration --> Application Settings - comparing to working site.

Will Lady Gaga and Miley determine the fate of the FB universe?.

Lady Gaga and Miley Cyrus are the black holes of FB .... follow any friendship path and it leads to them. Though black holes have been called (little?) gravity monsters, they may be indispensable forces of creation -- fundamental forces in the development and ultimate shapes of galaxies and the stars within them.

Wednesday, August 11, 2010

Shai Woodley is in a relationship.

Shai Woodley is in a relationship.

Oh no...Shai is taken again
We'll try to refrain
From writing love notes so inane
(though some would say lame)
They don't make boyfriend's jealous,
But feel pity toward us fellas

Tuesday, August 10, 2010

Ashley is bored

Ashley F. Efron Bored :(
5 hours ago · Comment ·LikeUnlike · View Feedback (4)Hide Feedback (4)

poor ashley is bored
would it be untoward
if I gave you a surf board
as a teen choice award
for the girl with whipcord
abs? it's all I can afford

Shenae Grimes

Shenae Grimes Dear Shenae, [Finish This

Dear Shenae,
i hope you don't mind a
lot if I've kinda
got a litle crush i find ya
so cute .. can I wine and dine ya?

Monday, August 9, 2010

Principle: Data Independence

A program should function correctly regardless of the state of the database or the data inputs. "Correctness" means that it has anticipated and handles the error, or informs the user of the problem and exits in a pre-defined manner.

Simple LINQ Join Query ASP .NET C#

// Query.

var Found = from o in Orders
join c in Customers on o.CustomerID equals c.CustomerID
select new { c.Name, o.OrderID, o.Cost };

Saturday, August 7, 2010

Wednesday, August 4, 2010

Import Export Transport Save Data SQL Server 2005


Restarting/Stop/Start MS SQL Server

from command prompt:

:\Windows\system32>net stop mssqlserver

The SQL Server (MSSQLSERVER) service is stopping.
The SQL Server (MSSQLSERVER) service was stopped successfully.

:\Windows\system32>net start mssqlserver
The SQL Server (MSSQLSERVER) service is starting.
The SQL Server (MSSQLSERVER) service was started successfully.


changing SQL server authentication mode

changing authentication SQL Server 2005
select database in object explorer
right click
choose properties
choose security

Tuesday, August 3, 2010

Publish/Deploy Web Site Visual Studio IIS

  1. Visual Studio: go to Build -> Build Website
  2. go to Build -> Publish Website
  3. note the Target Location
  4. Go to IIS, on my machine it is Control Panel -> Administrative Tools -> Computer Management -> Services and Applications -> Internet Information Service
  5. Under "Connections" there is a tree-view. Right-click on "Sites". Choose "Add Web Site".
  6. From the Add Web Site Dialog, enter the site name, then Physical Path - same as the Target Locatoin from Step 3. (you can do these both at the same time and cut and paste)
  7. Enter the host name, e.g. www.mysite.com
  8. After that, configure it the way you want .. depends on your preference and the application.

Resizing a window when bottom right corner is off-screen

Just right click, choose "size", then hover over another corner until you get the diagonal double-arrow resize cursor.

Actually, you don't need to right click and choose "size". You can resize from any corner in Windows 7.

I guess they just keep the item on the menu, because otherwise people would be phoning into ask "where did it go? how can I resize my screen?" :)

Monday, August 2, 2010

Visual Studio Line Number - how to turn on

Visual studio produces error messages with line number references. Not very useful if you don't have line numbers in your text editor. Here's how to turn it on:


Basically, to go Tools->Options, then on the left tree control go into "Text Editing" and then either a "Al Languages" or your language branch. Then click on the general settings, and you can select "line numbering".

"I'm gong to delete myself!" -- common line on FB

I wish in real life people who deleted themselves could be reactivated

Sunday, August 1, 2010


you can tell me u love me a millon times
it doesn't mean anything - no reason no rhyme
i still don't think you mean it
you don't care even a litle bit
there's times you've said you really care
then done something to wear my heart bare
you know who you are
you think you're a star
some girls think you're hot
but you're not worth a thought

Shai (SHAE) Woodley ...

Shai Woodley My heart stops When you look at meJust one touch Now baby I believeThis is real So take a chance and Don't ever look back,
2 hours ago · Comment ·LikeUnlike · View Feedback (11)Hide Feedback (11)

a few extra lines ...

my heart stopswhen you look at me
i want to be with you so desperately
just one touch
...is that too much
this is the way i feel
now baby i believe this is real
so take a chance and don't ever look back
to your former loves ...just stay on track

Love those shoes!

A relationship can be like a pair of expensive Italian shoes ... they look great, everyone admires you in them, and you really really want them ...but sometimes they just don't fit right.

Alexandra posted this:

Alexandra Crittenden ‎"here i go, ill tell you what you already know, here i go.. ill tell you what you already know... if you lovee meee. with all of your heart, if you love mee.. ill make you a star in my universe" :)
about an hour ago · Comment ·LikeUnlike

I commented:

i didn't know
that if i loved you
you'd make me a star
shine down from afar
Your eyes light a twinkle
would make my mouth crinkle
smile at all that you do
if i loved you
would you share the view
of your galaxy that was hidden
from my eyes ...i was bidden
to stay away from you
because they knewh
ow deeply i feel
afraid you would steal
the light from my day
when you went away

Brookelle is peeved

Brookelle McKenzie posted this status on her fb:

Brookelle Mckenzie Bitch please dont call me a fake. I know i am real, and i got people to back me up anytime(=And they are what i call, true friends(=♥

I filled in some extra lines, just in case she gets into a rap war with the other girl :)

Bitch please don't call me a fake
you have no idea what's at stake
i know i am real
that's just how i feel
and I got people to back me up anytime...
your baseless accusations are a crime
and they are what I call true friends
so you'd better get off or make amends