Content feed Comments Feed

The Official ASATO Site

Hi, welcome to my blog. ASP,asp.net,Health,Javascript,JQUERY

‘Dancing With the Stars’ Recap: Jake Takes to the Skies

[caption id="attachment_172" align="alignnone" width="450" caption="Jake Takes to the Skies"][/caption] We're halfway through the season, and this is when it starts getting tough. People who are working hard and dancing well get sent packing. This week it was Jake's turn to say ...

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 ...

WebService Class Introduce

Posted by admin On April - 28 - 2010
Defines the optional base class for XML Web services, which provides direct access to common ASP.NET objects, such as application and session state. Namespace:  System.Web.Services Assembly:  System.Web.Services (in System.Web.Services.dll) Examples The example below creates an XML Web service, deriving from WebService, in order to use the Context property to obtain the time of the request on the server. <%@ WebService Language=”C#” Class=”Util” %> using System; using System.Web.Services; public class Util: WebService {    [ WebMethod(Description="Returns the time...

How to upload File use a C# Web Service?

Posted by admin On April - 28 - 2010
Download Files: UploadAnyfilePack.zip   Introduction This article shall describe an approach that may be used to upload any sort of a file through a web service from a Windows Forms application. The approach demonstrated does not rely on the ASP.NET file uploader control and allows the developer the opportunity to upload files programmatically and without user intervention. Such an approach may be useful for doing something like processing out the contents of a local message queue when internet service is available (if the user base were mobile and had only intermittent connectivity)....

Top 10 (ASP.NET C#) CMS,FREE CMS System for ASP.NET

Posted by admin On April - 28 - 2010
1、Ludico URL:http://sourceforge.net/projects/ludico/ 2、umbraco  URL:http://umbraco.org/ 3、mojoPortal URL:http://www.mojoportal.com/ 4、Kodai CMS URL:http://www.gotdotnet.com/workspaces/workspace.aspx?id=070f30c3-6089-4a75-b84c-fac654a7ec08 5、nkCMS URL:http://nkcms.sourceforge.net/ 6、Go.Kryo URL:http://sourceforge.net/projects/gokryo/ 7、Amplefile URL:http://sourceforge.net/projects/amplefile/ 8、ndCMS URL:http://ndcms-net.sourceforge.net/ 9、Cuyahoga   URL:http://www.cuyahoga-project.org/ 10、Rainbow URL:http://www.rainbowportal.net/Rainbow/Default.aspx 

How to get mimetype Windows

Posted by admin On April - 28 - 2010
What are MIME types? Similar to file extensions but more universally accepted, “MIME types” are used to identify the type of information that a file contains. While the file extension .html is informally understood to mean that the file is an HTML page, there is no requirement that it mean this, and many HTML pages have different file extensions. Here are some examples of common mime types seen on the web: Type Common                 File Extension              Purpose text/html             .html                Web Page image/png         ...
How can I convert any  file into byte array? It is very easy to save your bytes to File, look at the example below, copy and paste it into your program: public byte[] FileToArray(string sFilePath) {         System.IO.FileStream fs = new System.IO.FileStream(sFilePath,        System.IO.FileMode.Open, System.IO.FileAccess.Read);        System.IO.BinaryReader br = new System.IO.BinaryReader(fs);        Byte[] bytes = br.ReadBytes((Int32)fs.Length);        br.Close();        fs.Close();        return bytes; }  some time we require to convert file into...
Jake Takes to the Skies We’re halfway through the season, and this is when it starts getting tough. People who are working hard and dancing well get sent packing. This week it was Jake’s turn to say goodbye. You have to be confident to pull off the samba, but technique matters too. Jake’s hip action, posture and timing have really improved over the last six weeks, but he stumbled coming out of a series of spins during this week’s routine. “The Bachelor” star talked about what a great experience the show was for him. Remember, it takes a brave man to cha-cha in...

Create a xml file with asp!

Posted by admin On April - 14 - 2010
The following example shows how to create a XML file with asp. First, we write a function named “CreateXml” ?View Code CSHARP1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 sub CreateXml(FilePath) startime=timer() dim XmlDoc,Root Set XmlDoc = Server.CreateObject("Microsoft.XMLDOM") XmlDoc.async = False Set Root = XmlDoc.createProcessingInstruction("xml","version='1.0' encoding='UTF-8'") XmlDoc.appendChild(Root) XmlDoc.appendChild(XmlDoc.CreateElement("files")) XmlDoc.Save(Server.MapPath(FilePath)) Set...

How to read text file in asp.net

Posted by admin On April - 14 - 2010
this is show how to read text from a text file(C#). ?View Code CSHARP1 2 3 4 5 6 7 8 9 10 string str = ""; using (StreamReader sr = new StreamReader("G:\\zencart\\categorytlinks.txt", System.Text.Encoding.Default)) { strline = sr.ReadLine(); while(strline!=null){ str += strline+"\r\n"; } sr.Dispose(); sr.Close(); } Response.Write(str);

20 amazing lightbox use JQUERY or MooTools

Posted by admin On April - 9 - 2010
20 amazing lightbox use JQUERY or MooTools As we collected them, hope you like Smoothbox   Media: Images, Inline HTML, Ajax, iFrame View Demo    Download Multibox     Media: Images, Inline HTML, AJAX, iFrame, Flash, Video View Demo   Download RoeBox     支持媒体: Images View Demo   Download Litebox     Media: Images View Demo   Download Milkbox     Media: Images, Flash View Demo   Download Slimbox     Media: Images View Demo   Download ImageZoom     Media: Images View Demo   Download mediaboxAdvanced     Media: Images, Inline HTML, AJAX,...

A good jQuery plug-ins “pop-up window” Facebox

Posted by admin On April - 8 - 2010
facebox is a jquery plug-ins. we can show images or divs use it. it very easy use. You’ll need a loading image, close label, four corners, and solid border images in addition to the javascript and css files. All are included in the tarball. DEMO click here

How Get Strong, Toned Legs ?

Posted by admin On March - 24 - 2010
This routine targets all of your leg muscles, from your butt down. In addition to making your lower half look fabulous, this workout will also help you walk faster. A recent study found that simply doing one move to strengthen your quads (the fronts of your thighs) could increase your walking speed by 15 percent. That’s equivalent to increasing your pace from 3.5 mph to 4 mph. Imagine what you could do if you shape up all of your lower-body muscles. These exercises also challenge your balance, giving your core muscles an extra workout, and improve your posture for a stronger, pain-free stride....

How to Upload multiple files in asp.net

Posted by admin On March - 23 - 2010
In asp.net 2.0, if you want to upload a file, you can use FileUpload server control in your in your applications.like this: ASPX code: ?View Code CSHARP1 2 3 4 <div> <asp:FileUpload ID="FileUpload1" runat="server" /> <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Upload--File" /> <asp:Label ID="Label1" runat="server"></asp:Label></div> ASPX.CS code: ?View Code CSHARP1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 protected...