- It must actually be a .ico (an Icon) file. Bitmaps, pngs, gifs, etc, will not work. IE7 will download your favicon to the Temporary Internet Files folder and call ExtractIcon() on the file. If this fails, we will show the default icon instead of your favicon.
- 16x16 pixel size icon
- Since IE loads your icon out of the Temporary Internet Files folder, it must be able to actually store it there. If you are setting the no-cache directive for the icon file, then IE will not be able to display your icon and will display the default icon instead.
Tools->Internet Option->(Browsing history section)Settings->(Check for newer version of stored page) Select: Every time I visit web page. - favicon has to put in the root directory of the website.
- Code for ASP.NET C#:
<LINK runat="server" REL="SHORTCUT ICON" HRef="favicon.ico"/>
Wednesday, 14 September 2011
ASP.NET: Favicon is not displaying in Internet Explorer
Requirements:
Thursday, 8 September 2011
Decimal storage in SQL
What happens is it rounds off the hours to interger value. So if I insert 22.3 in the text box what i get in the database is 22 and if I insert 22.7 I get 23 in the database.
If you wanted to store up to 4 places after the decimal point, you could make it decimal(18,4). Anything over 4 places would get rounded in that case.
If you wanted to store up to 4 places after the decimal point, you could make it decimal(18,4). Anything over 4 places would get rounded in that case.
Subscribe to:
Posts (Atom)