Import excel data to gridview
In this tutorial you will learn how to import excel data to gridview control. I have already written multiple posts for exporting gridview data to excel with different techniques, now its time to import records. Let’s have a look over how to do so … more
How To Design A Badge In Adobe Photoshop
How To Design A Badge In Adobe Photoshop. In this tutorial, we’ll discover how to make a beautiful badge with ribbons including a stitch effect in Photoshop. We’ll use textures and various other blending options to do this effect.
Read more
CodeIgniter 2.0.2 Released
n update to both CodeIgniter Reactor and CodeIgniter Core (v 2.0.1) was released today. This is a security maintenance release and is a recommended update for all sites. The security fix patches a small vulnerability in the cross site scripting filter. We also took the opportunity to iterate on some of our other filtering code. As a result, the Security library is now a core component.
Please make sure you follow the upgrade instructions. Core users can grab the 2.0.1 tag on BitBucket. For core, please follow the upgrade instructions bundled with the download.
We’re working on making these small maintenance releases easier to manage. We’ll have more information about that soon.
Most Promosing PHP Frameworks
Recess Framework
Recess is a RESTful PHP framework that provides a fun and enjoyable development experience for beginner and seasoned developers alike. If you want a full featured RESTful web application without having to master the command line or learn complicated deployment recipes, Recess is for you. Recess is fast, light-weight, and has a very small footprint—ideal for LAMP development and drag-and-drop deployment to shared hosts. Recess is a modern framework that uses a loosely-coupled Model-View-Controller architecture designed and optimized specifically for PHP 5.
Vork
Ease of use, intuitive project architecture and conventions maximize developer productivity and reduce learning & ramp-up time from weeks to a matter of minutes, thus greatly improving IT ROI.
Performance, unique system utilizes a bare minimum of resources and can be configured to operate entirely from RAM without any disk access resulting in a huge performance advantage and substantially greater traffic-handling capacity per server.
Extensive toolset includes interfaces to Google (maps, translation, charts, payments), social networking (Twitter, Meetup, Facebook), e-commerce (credit card validation & processing, automatic-SSL, PayPal), tag clouds, forums, embedded rich-media (YouTube, MP3), wiki, short-URL generation and much more!
Standards-compliant with nearly every web-development standard eases maintenance while maximizes reliability and cross-browser consistency. Vork is XHTML 1.1, MVC, Section 508 accessible, object-oriented, adherent to coding best-practices and more.
Universal compatibility with every PHP-based platform and mainstream database.
Cost, open-source licenses are free under the industry-standard terms of GPLv3.
Cake PHP
CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. Using commonly known design patterns like MVC and ORM within the convention over configuration paradigm, CakePHP reduces development costs and helps developers write less code.
ASP Format Date and Time Script
ASP has a very handy inbuild function called FormatDateTime().
Let’s start with the now() function to get the current date and time into a variable
<% dim todaysDate todaysDate=now() %>
RESULT: 3/23/2011 3:35:36 PM
Using 0 – the vbGeneralDate format creates a date as short date (if included), and time as long time.
CakePHP HTML image links
CakePHP HTML image links FAQ: How do I create HTML image links in CakePHP?
When I first started using CakePHP I had no idea how to create a CakePHP image link, so I thought I’d share what I’ve learned here, specifically the CakePHP HTML image and HTML link syntax.
Rather than go into any great detail, I’ll just share the source code from one of my CakePHP view pages. This is from a typical CakePHP index view page, but I wanted to use images for the Edit and Delete actions instead of plain links. Here’s the CakePHP view code I created to get this done:
Connect to a SQL database with JDBC
If you’re interested in connecting your Java applications to standard SQL databases like Oracle, MySQL, SQL Server, and others, the Java JDBC technology is exactly what you need. The combination of Java JDBC and standard SQL queries creates a simple and powerful database solution. JDBC makes the simple things easy — without making the complex tasks too difficult either.
In this first article in our JDBC tutorial series, we’ll show you step-by-step how to establish a database connection from your Java programs to an SQL database using JDBC (i.e., a “JDBC connection”). In the process we’ll show you how to connect to two different databases — Mini SQL (mSQL), and Interbase — just so you can see how the code changes when you switch from one database to another. (The databases you connect to don’t matter much — that’s one of the beauties of JDBC. Once you’re connected to the database with JDBC, most databases act the same.)
How to: Copy, Delete, and Move Files and Folders
The following examples show how to copy, move, and delete files and folders
in a synchronous manner by using the System.IO.File, System.IO.Directory, System.IO.FileInfo, and System.IO.DirectoryInfo classes from the System.IO
namespace. These examples do not provide a progress bar or any other user
interface. If you want to provide a standard progress dialog box, see How to: Provide a
Progress Dialog Box for File Operations (C# Programming Guide).
Use System.IO.FileSystemWatcher to provide events that will enable
you to calculate the progress when operating on multiple files. Another approach
is to use platform invoke to call the relevant file-related methods in the
Windows Shell. For information about how to perform these file operations
asynchronously, see Asynchronous File
I/O.
Work with VB.NET’s ArrayList methods and properties
The ability to use collections is important in any language and practical for
any application. Collections allow you to manage groups of objects. Irina
Medvinskaya looks at how to use an ArrayList class, which provides basic
functionality that is useful to most applications.