2012
Format Date in SQL Server
It’s very common to show the current date (i.e., month, day, and year) in different formats. Although you can obtain the current date with Microsoft SQL Server’s GETDATE function, getting the returned date in the format you need can take a lot of effort and code. The FormatDate UDF (user-defined function) provides dates in various formats by using the following options: Continue reading »
2012
How to know it’s a Spoof Email?
I’ve had many clients asking if they are safe to open a particular email. Some emails would be really valid, but most emails would be fake. So next are some points to help identify fake emails:
- An authentic email really coming from a particular company will address you by your first and last names or your business name.
- It will not ask you for sensitive information like your password, bank account or credit card details.
- Most fake emails threaten that your account will be in jeopardy if you do not take action immediately.
- An email that urgently requests you to supply sensitive personal information is usually an attempt at fraud.
- Fake emails often contain misspellings and grammatical errors or are written in a language which you did not set as preferred for your PayPal account.
Remember not to click any links in suspicious looking emails. Stay safe
2011
File Sharing between PCs without Password Protection
Sometimes you would need to share a file or a folder with another user and you would find it not so easy to do so, more and more if you or the other user doesn’t have a password for your account.
By default, in Windows 7, in order to share a folder, you would need that the Source PC being shared has a password and the Source PC owner would need to give you his password. There are two options to overcome this situation. Continue reading »
2011
Week Review.. over 300,000 all time views
This week my blog managed to reach a target that I previously set in my mind, 300,000 all time views. Most popular websites manage to reach that amount in only one day. But I’m happy with the result.
Moving Forward
These last few months, I’ve been trying to add a post, if not daily, at least 4 times a week, and am almost managing it, to help more developers with the solutions to the daily problems I find, and other utilities that help users.
During the next weeks I will be shifting this blog to personal domain name, www.ciappara.com, to make it more customizable. I’ve been meaning to do this for years, but now it’s time to do it
Blogging Solutions
I have been happy using wordpress for these last 4 and a half years, but now I would like to start using a .Net Blogging solution. This would help make customisations more easily, as I’m a C# guy
, and can add anything I want. I’ve been searching for a few solutions, and I found BlogEngine.Net and Graffiti, or else develop continue developing a blogging engine using Project Nine. I will be testing and reviewing them and let you know what I’m choosing.
But more info on my new blog later. Till then continue watching this blog ciappara.wordpress.com! Thanks for all your reading!
2011
Order BY Not Working in SQL Server Functions | Quickie
Ever created a function and needed to include the Order By clause. It would result in the following error being loaded:
The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions, unless TOP or FOR XML is also specified.
The problem is that to use, it requires a TOP clause or FOR XML. By if you specify TOP 100, you’ll only get the first 100 rows. You can specify a big number that you might think will never exceed. But what if you do? The best bet is to use TOP 100 PERCENT.
This will get you all the rows and works in Functions.
2011
For Loop with Negative Step | Quickie
Cannot believe that I’m writing some helpful examples using VB.Net, but that is the language that we’re using at work, so have to adapt now. Next find how to make a loop with a negative step (decreasing step):
Imports System Public Class MainClass Shared Sub Main() For intCount As Integer = 10 To 1 Step -1 'Add the item to the list System.Console.WriteLine(intCount) Next End Sub End Class
2011
Add AutoNumber to GridView showing the RowNumber | Quickie
<asp:TemplateField>
<ItemTemplate>
<%# Container.DataItemIndex + 1 %>
</ItemTemplate>
</asp:TemplateField>
2011
Solution | Unable to write output file ‘…pdb’; unspecified error
During this weekend, I started having a problem when building a solution in Visual Studio. It would load the following error:
Unable to write to output file Solution_Name.pdb
This Visual Studio solution has 8 projects, and a lot of files and folders. I tried several solutions that I found on the net, which worked for others, but none worked for my case including:
- Delete the .pdb file from the solution – Didn’t Work
- Delete the Debug folder – Still Didn’t work
- Delete the whole obj Folder – Nothing Continue reading »
2011
Quickie – New Line in an Excel Cell
Just found this quick tip on how to enter a new line in an Excel cell. The trick is to use the key combination of Alt+Enter to create a new line. And when you do it, Excel will automatically enable text wrap for that cell.
For Windows use
Alt+Enter
For the Mac Users it is a little more tricky
Hold down Apple Key + Option + Enter
2011
Implement “Master Pages” in Java
Found a good blog post on how you can emulate the use of ASP.Net Master Pages in Java,to create the desired layout of the site. Have a look here
What you missed
Check these Out!
Favourite Links
Tags
Archives
- May 2013 (1)
- January 2013 (2)
- December 2012 (5)
- November 2012 (4)
- October 2012 (3)
- September 2012 (1)
- August 2012 (4)
- July 2012 (2)
- June 2012 (1)
- May 2012 (10)
- February 2012 (6)
- December 2011 (2)
- October 2011 (3)
- September 2011 (1)
- April 2011 (6)
- March 2011 (14)
- February 2011 (9)
- January 2011 (10)
- December 2010 (6)
- November 2010 (10)
- October 2010 (6)
- September 2010 (10)
- August 2010 (4)
- June 2010 (10)
- May 2010 (2)
- April 2010 (1)
- March 2010 (1)
- July 2009 (1)
- June 2009 (1)
- April 2009 (4)
- March 2009 (1)
- February 2009 (5)
- January 2009 (10)
- December 2008 (8)
- November 2008 (4)
- September 2008 (6)
- August 2008 (11)
- June 2008 (2)
- May 2008 (3)
- March 2008 (1)
- February 2008 (1)
- November 2007 (1)
- September 2007 (2)
- July 2007 (2)
- June 2007 (1)
- May 2007 (2)
- February 2007 (3)
- January 2007 (4)
- November 2006 (1)
- October 2006 (1)
Categories
- Android (3)
- Apple (5)
- ASP.Net (37)
- Be Creative (1)
- Blackberry OS (1)
- CMS (5)
- Creative Computing (4)
- Crystal Reports (5)
- Day to Day (21)
- Deep Design Malta (8)
- Design and Development (22)
- Development Tools (15)
- Facebook (1)
- Games (3)
- Google Analytics (3)
- Google Gmail (1)
- Hotmail (1)
- Internet Explorer (7)
- iPhone/3G (19)
- iPod Touch (6)
- JavaScript (13)
- JQuery (2)
- Lumia (4)
- Microsoft (18)
- Microsoft SQL Server (21)
- Microsoft Visual Studio (27)
- MS Office (3)
- MVC (2)
- My Blog (3)
- NetBeans (1)
- Nokia (4)
- Off Topic (16)
- Online Services (3)
- Permissions (1)
- Phones and Tablets Platforms (7)
- Project NINE (11)
- PSP NGP (1)
- Quickie (9)
- SEO (7)
- Silverlight For WP7 (4)
- Sitefinity (1)
- Sony (1)
- Uncategorized (32)
- Utilities (57)
- VB .Net (1)
- Windows 7 (14)
- Windows 8 (3)
- Windows Live (3)
- Windows Mobile (5)
- Windows Phone 7 (18)
- Windows Phone 8 (1)
- Windows Vista (15)
- Wordpress (1)
- WP Apps (2)
- Yellow Pages (4)









