![]() | ||||||||||||||||||||||||||||||||||
|
CRYAN.com Content
|
The following Weblog items are filed under the Computers category. There are 73 entries in this section. The earliest was published on October 18, 2010 and the latest entry was filed on December 20, 2010. If you have any comments about Computers please let me know!
December 20, 2010
Today is my 10 year anniversary for joining FreeLotto. I don't think I have visited the site once in the past 9 years: Dear Sir, I wonder if they will even let me know that it has been ten years. Maybe I should unsubscribe now?
December 16, 2010
Here are some simple mssql queries if you need to change the current date in a query. That is if you need to find information in the past and don't want to hard code in values. SELECT GETDATE(), DATEADD(day, -1, GETDATE()); Seven Days ago: SELECT GETDATE(), DATEADD(day, -7, GETDATE()); Last Year: SELECT GETDATE(), DATEADD(year, -1, GETDATE()); Last Hour: SELECT GETDATE(), DATEADD(hour, -1, GETDATE()); More specifically you would do something like this: Show all sales within the past hour: Select * from orders where salesdate > DATEADD(hour, -1, GETDATE())
October 20, 2010
Using Webaii, Use this code snip to validate the URL of the current page: // Validate URL // URL Does Not Contain
October 19, 2010
Using WebAii and this code snip to search the HTML source of a page for some data: // Check for value of a InnerMarkup StringAssert.Contains(TextString, "Company Name");
October 18, 2010
Using Webaii, here's how to validate that an image is loading correctly on a page:
// Validate Image on Page Very useful to have as a code snip.
|
Categories
|
||||||||||||||||||||||||||||||||