Content feed Comments Feed

The Official ASATO Site

Hi, welcome to my blog.

Katrina Kaif The New Face of Lux

Bolywood actresses Katrina Kaif has joined hands with celebrities Aishwarya Rai and Priyanka Chopra as the new brand ambassador for Lux and she thinks it is only a selected lot to have had the “honour”. Katrina has been roped in as ...

Scarlett Johansson pops cork in new campaign

Scarlett says she is 'honoured' to front the campaign Scarlett says she is 'honoured' to front the campaign The head of the champagne house says Scarlett was the 'obvious choice' to be the company's celebrity ambassador The actress holds a champagne glass between ...

The New York Times on Gossip Girl

For adults, romances are variable, and friendship is the constant. Privileged Youth reverses the equation: Love affairs are constant, and it's the friendships that vary. And matter most. That is the essence of Gossip Girl, the semi-satirical portrait of power and privilege ...

Katrina Kaif The New Face of Lux

Posted by admin On March - 10 - 2010
Bolywood actresses Katrina Kaif has joined hands with celebrities Aishwarya Rai and Priyanka Chopra as the new brand ambassador for Lux and she thinks it is only a selected lot to have had the “honour”. Katrina has been roped in as the face of the Lux Purple Lotus & Cream, a soap infused with anti-ageing properties. “I don’t think every actress in Bollywood has been associated with Lux. A select few actresses, who they felt suited the brand right (have been associated with it) and they all have been actresses of great stature with wonderful careers and some wonderful work,” Katrina...
Comments Off

jQuery Datagrid Script

Posted by admin On March - 10 - 2010
At end 3.0 (rc) version of jqGrid is out. This version is a major release, because I have totally rewrite the code for the methods without affecting the behavior of the plugin. The grid is now compatible with jQuery 1.2.1, but in the example page I use 1.1.4 version of jQuery. The problem is that with 1.2.1 jqGrid has a little slowly behavior. I do not know why? The example page is totally rewritten. Every example has a separate code for html and javascript. You can view this here. This version fixes a lot of bugs relating to json data, formating, xml manipulation and add following features. *...
Comments Off

Creat basic-sleek-button with photoshop

Posted by admin On July - 22 - 2009
In this tutorial I am going to be teaching you how to make a sleek button using photoshop! I’ll be going through in very small steps so even the most novice user can follow along. Step 1 First up create a new document – I’ve made sure that I have lots of room to work with so I chose 540 by 440 as my size. Fill the background with a dark gradient or just a solid colour (Edit > Fill and use a colour like #262626) if you don’t know how. Step 2 Create a new layer (Layer > New > Layer). Select the rounded rectangle tool and use the settings below. Left click somewhere in the middle...

Prevent SQL Injection Attacks –part 1.

Posted by admin On July - 8 - 2009
What is a SQL Injection Attacks? A SQL Injection attack is a form of attack that comes from user input that has not been checked to see that it is valid.There are two main types of attacks. First-order attacks are when the attacker receives the desired result immediately, either by direct response from the application they are interacting with or some other response mechanism, such as email. Second-order attacks are when the attacker injects some data that will reside in the database, but the payload will not be immediately activated. I will discuss each in more detail later in this article. There...

Gossip Bombs Away

Posted by admin On July - 7 - 2009
May 19th, 2009 I can barely keep my eyes open after what was an extremely busy and strenuous week. You’re welcome for all the juicy gossip I gave you. You know I had to reward my faithful readers with something for these past four loyal years. Hope I didn’t disappoint… Graduation day was here and all our favorites were ready to pomp and circumstance and do whatever it was that graduating seniors do. It seemed like our kids were leaving Constance and St. Jude’s unlike how they arrived: quietly. That was until I decided to go out with a bang. Sorry. But I just had to do something to liven...

open pdf files in new window with javascript

Posted by admin On July - 7 - 2009
Opening documents such as PDFs in a new window should be automated using JavaScript for the following reasons: Users will often close the web browser when a PDF is opened, mistakenly believing the document has been opened in Adobe Reader The attribute historically used to open a new window, target, has been removed from the HTML 4.01 Strict specification (it’s now deprecated) Opening a new window is a behaviour and should be moved to the behavioural layer11. Using JavaScript can also be particularly useful when a website is content managed. Rather than having to rely on site editors to...
Introduction Stored procedures are T-SQL statements that are stored in the SQL Server. They are executed by calling their names, as in our case, from ASP.NET pages. They add more efficiency and compactness to the code. Imagine what it’d cost in terms of server performance if we were to send with every request to the SQL Server, a set of 5-10 T-SQL statements, which the SQL Server would have to parse and compile and then execute. This will be performance heavy. Now, compare this with the performance of a pre-compiled set of high performance code that is kept on the SQL Server and executed...

how to read XML file with asp?

Posted by admin On July - 1 - 2009
in this article,we will study how to reading xml file with asp. first: what is xml file ? XML is tag based just like HTML. there is a example: <?xml version=”1.0″?> <boot> <name>Faisal Khan</name> <name></name> <name/> <name language=”US-EN”>Faisal Khan</name> </boot> second: we save the xml file named “aspreadxml.xml”, and we will reading this xml with asp. we can get the xml document elements and attributes. the code like this: ?View Code CSHARP1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 <?xml...

Is Your Liver Working Like It Should?

Posted by admin On June - 29 - 2009
So many people that are concerned with improving their health over look the health of their liver. The liver is called LIVE -R for a reason. The reason is the liver is involved with digestion and assimilation. It processes nutrients to give life to your body, to repair diseased and damaged tissue. It removes toxins and eliminates pathogen from getting into the blood that flow to all of your body cells. Over 27,000 people every year die from chronic liver diseases and Cirrhosis. People with diabetes have a high number of deaths from liver deterioration. Over 60,000 people die from liver failure....

Make an menu bar use photoshop

Posted by admin On June - 29 - 2009
Step 1. Start off by making a new Photoshop document. Choose the rounded rectangle tool, set the radius to 12 pixels, and create a wide rounded recntalge, as shown below, It doesn’t matter what colour it is because we’ll be creating a gradient with the shape next. Step 2. Choose dark maroon (6f1300) for the foreground color and a lighter shade for the background color (c82e00). Make a selection (select > load selection) using the rectangle a) b) Step 3. Choose the linear gradient, cirlcled in green (a). Open the gradient editor, by clicking on the sample gradient, and choose...

Exploring ASP.NET Pages

Posted by admin On June - 29 - 2009
Explore ASP.NET pages and dig into some of their core functions, such as page events and properties, and directives. Alive!!! It’s alive!!…The page is ALIVE!!!!! I don’t want to sound like a nag or like I’m harping on the same issue over and over, but ASP.NET is really about events and objects. The ASP.NET page is no exception. It is an object in the eyes of ASP.NET just like anything else. It has properties and methods and can be interacted with, similar to the other objects you’ve seen so far, and the plethora of things to come as you move through the remainder of...
in this article,wo will learn how to convert images to byte arrays, how to convert byte[] back into images: first: convert images to byte arrays ?View Code CSHARP1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 /// <summary> /// convert image to byte[] /// </summary> /// <param name="filePath"></param> /// <returns></returns> public byte[] PhotoToBytes(string filePath) { FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read); BinaryReader...

About Us

There is something about me..

Recent Comments