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.
Monday, 24 September 2012
Sunday, 23 September 2012
Optional\Default ASP.NET parameters
Protected Sub DisplayControls( Optional param As Boolean = False)
.
.
.
End Sub
.
.
.
End Sub
Call DisplayControls(True)
or
Call DisplayControls(True)
GridView with static images
First: this should not be an image filed!
Second: Template Field
Second: Template Field
<Columns>
<asp:TemplateField>
<ItemTemplate>
<img src="Images/Application_16.gif" />
</ItemTemplate>
</asp:TemplateField>
.
.
.
.
</Columns>
Monday, 17 September 2012
TSQL: Create Date
CAST(
CAST(2012 AS varchar) + '-' +
CAST(9 AS varchar) + '-' +
CAST(17 AS varchar) AS DATETIME)
CAST(2012 AS varchar) + '-' +
CAST(9 AS varchar) + '-' +
CAST(17 AS varchar) AS DATETIME)
Wednesday, 5 September 2012
Indicators for success as a project manager
Externally: Customer Satisfaction.
Internally: Compliance to Scope, time, cost and quality
Internally: Compliance to Scope, time, cost and quality
Tuesday, 4 September 2012
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
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$"
ValidationExpression="^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$"
TSQL Unique Constraint
Samples:
ALTER TABLE [PermissionsRequest] ADD CONSTRAINT UNIQUE_EMail UNIQUE (EMail)
ALTER TABLE [Schedule] ADD CONSTRAINT UNIQUE_Registration UNIQUE ( RoundNo, ClassNo)
Subscribe to:
Posts (Atom)