Pages

Monday, October 15, 2012

Samsung extends lead over Apple in smartphone race: Reuters Poll

Monday, August 27, 2012

Collection of Free Microsoft eBooks

Large collection of Free Microsoft eBooks for you, including: SharePoint, Visual Studio, Windows Phone, Windows 8, SQL Server 2010 / 2012, Azure, and more.

Thursday, April 26, 2012

Google Drive. Keep everything. Share anything.

Google Drive is everywhere you are – on the web, in your home, at the office and on the go. So wherever you are, your stuff is just...there. Ready to go, ready to share. Get started with 5 GB free.

Google Drive is available for:

PC and Mac
iPhone and iPad (coming soon)
Android devices

Things happen. Your phone goes for a swim. Your laptop takes an infinite snooze. No matter what happens to your devices, your files are safely stored in Google Drive.




Google Drive lets you do more than just store your files. Share files with exactly who you want and edit them together, from any device.

Google Drive gives you instant access to Google Docs, a suite of editing tools that makes working together better – even when your teammates are miles away.

Get started with 5 GB of free space. Upgrade to 25 GB for less than $2.50 a month and you can store practically everything for next to nothing.

Friday, February 24, 2012

Microsoft Visual Studio Light Switch 2011

Overview
Microsoft Visual Studio LightSwitch 2011 makes it simple for users of all skill levels to quickly build and deploy polished, user-friendly business applications that look like they were created by a professional designer.

Familiar and professional applications, coding optional
You can download one or more of the extensible, pre-built application shells—called starter kits—to help you give your application the look and feel of popular Microsoft software, like Office and Windows, without starting from scratch.

Desktop, web, or cloud—you choose
Create one application and deploy it to ensure the highest adoption and use by your users. LightSwitch lets you decide on a deployment method after your application is built, then writes the code to make it happen.

Build your first LightSwitch Application

Wednesday, January 11, 2012

Multiple Files Uploading using JQuery in ASP.NET

In this article, i tried to explain that how to upload multiple files using JQuery in as asp.net page. Also, you can check the file size and file size during the upload process and restrict the user.

Follow the below steps:

Step No. 1

You have to have the following files in and create the reference of these files in your header section of your page.

<head runat='server' ID='head1'>
    <title>Multiple Files Uploading</title>   
    <script src='Scripts/jquery-1.3.2.js' type='text/javascript'></script>
    <script src='Scripts/jquery.MultiFile.js' type='text/javascript'></script>
</head>

jquery.MultiFile.js can be download from here.


Step No. 2

Add a HTML file uploader control in your body section.

<input type='file' id='fluFile' runat='server' class='multi' accept='gif|jpg|png|bmp|jpeg' maxlength='5' />

<asp:Button ID='btnUpload' runat='server' Text='Upload All' />

class='multi' is shows that the user can select multiple files.
maxlength='5' is shows that the user can not select more than 5 files.
accept is shows that the mentioned file formats are allowed to upload.

Step No. 3

Place the following code on the button click event

Dim hfc As HttpFileCollection = Request.Files

            For i As Integer = 0 To hfc.Count - 1
                Dim hpf As HttpPostedFile = hfc(i)
                If hpf.ContentLength > 0 Then
                    If hfc.Item(i).ContentLength > 524288 Then
                        Throw New Exception('File size should not be more than 512KB')
                    Else
                        hpf.SaveAs(Server.MapPath('Files') & '\' & hpf.FileName)
                    End If
                End If
            Next

lblmsg.text = 'File(s) uploaded successfully'

The above code can be more precize and expandable as per your requirements like you can put up your own code to get file extensions and vaildate the file type and size during the uploading process.

Hope, it will work for you!