Monday, 24 September 2012

SSRS: Page break following a TextBox

Yes, the TextBox should be placed in a rectangle first then its properties has to be updated for placing a page break after that control.

Sunday, 23 September 2012

Optional\Default ASP.NET parameters

Protected Sub DisplayControls( Optional param As Boolean = False)
End Sub

Call DisplayControls(True)


Call DisplayControls(True)

GridView with static images

First: this should not be an image filed!
Second: Template Field

  <img src="Images/Application_16.gif" />

Wednesday, 5 September 2012

Indicators for success as a project manager

Externally: Customer Satisfaction.

Internally: Compliance to Scope, time, cost and quality

Tuesday, 4 September 2012

Compiler Error Message: BC30456: 'Theme' is not a member of ...

Placing an image (element) in front of another on a webpage

If you would like to position an object\element in front of another one, you can use the very handy style property z-index to a higher number

style="z-index:2; position:absolute;"

N.B.: z-index works only on positioned elements

Sunday, 2 September 2012

Regular Expression for date validation

For the format dd/mm/yyyy:

ValidationExpression="^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$"

TSQL Unique Constraint



ALTER TABLE [Schedule] ADD CONSTRAINT UNIQUE_Registration UNIQUE ( RoundNo, ClassNo)