Welcome

Welcome to CMS n Web. Learn & Study completely Free Articles\Training about Web Designing\Development and CMS.

Search This Web

Monday, July 29, 2013

Introduction to MVC architecture and Separation of Concerns

Topics to be Covered

  1. What does MVC mean.
  2. Understanding MVC Architecture.
  3. Separation of Concerns

Players

Model: The business entity on which the overall application operates. Many applications use a persistent storage mechanism (such as a database) to store data. MVC does not specifically mention the data access layer because it is understood to be encapsulated by the Model.
View: The user interface that renders the model into a form of interaction.
Controller: Handles a request from a view and updates the model that results a change in Model’s state.
To implement MVC in .NET we need mainly three classes (View, Controller and the Model).

Validation For File Upload Control in ASP

By , 25 Jul 2013



Introduction
In this tip, I explain validation with a file upload control using regular expression validation control in ASP.NET. This tip will help you to validate the extension of a file to be uploaded before the file is uploaded in ASP.NET.

Select Multiple RowS in DataGrid with Checkbox

By , 28 Jul 2013


Introduction 

It is difficult to retrieve data from selected row in datagrid to another control like button. To solve this problem, this code is useful for the user to retrieve data from selected row of datagrid in other control of ASP.NET.

Sunday, July 28, 2013

How to Create a Responsive Website in About 15 Minutes

The buzz around responsive design has been going on for several months now, and a lot of websites are already responsive, or underway. You know what that means? Today I will teach you how to create a responsive website.
If you follow 1WD on Facebook or Twitter, then you already know that we’re already preparing for an explosive design, which includes being responsive. Watch out for it!
  • Tutorial Level: Beginner
  • Skills Required: Basic knowledge in HTML and CSS
  • Completion Time: Approximately 15 minutes
  • Warning: this tutorial is targeted towards beginners, but it can also be for designers and developers who want to have fun!
By the end of this quick tutorial about responsive design, you will already be on your way to web stardom, and by that I mean you’ll be ready to convert and create responsive websites!
Are you ready? Show me your war faces! Roaaar!

Preparing for the Responsive Website Tutorial

I promised that it will only take about 15 minutes to create a responsive website, and I will hold true to my words. Only, we shall start slow and small. We will start by creating a simple single-page website. Cool? Okay!

Thursday, July 25, 2013

Building Apps with HTML5: What You Need to Know

HTML5 is here, and the Web will never be the same.
You’ve no doubt heard that before, or something like it. I’d guess that when you did, you got excited, rolled your eyes, or mouthed the word “why?” and furrowed your brow a bit. Perhaps your reaction was a mix of all three.
I wouldn’t blame you for any of these. HTML5 is exciting, and it does have the potential to change the Web as we know it, but it also gets blown out of proportion. What’s more, its true meaning can be elusive. I’ve experienced each of those reactions myself while building applications with HTML5. It’s a broad topic, so it’s difficult to wrap your head around HTML5, much less know where to begin with this exciting new set of technologies.
This is the first article in a series for MSDN Magazine, and the goal is to give you a complete picture of why the first sentence in this article is true—and important. Over the next several months, I want to help you understand what HTML5 means to you—both as a Web developer and as a developer who uses Microsoft tools and technologies. I hope to simplify some of the complexity around HTML5 for you, and demystify much of the hype. I’ll also introduce some HTML5 features that are available today, as well as some exciting technologies that, though a bit further out, are worth paying attention to. Finally, I’ll leave you with some tips that will help you adopt HTML5 technologies now, while you continue to 
provide great experiences to users with older browsers.
If you’re excited about HTML5, I want to help you turn that excitement into ideas you can put into practice immediately. If you’re skeptical, I want to help you understand just why HTML5 is important. And if you’re just confused about what HTML5 even means, fear not: that’s our first stop in this series.

Tuesday, July 23, 2013

ASP.NET - Export GridView to Excel

ASP.NET - Export GridView to Excel


Exporting GridView Data to Excel Sheet in ASP.NET is a common task for many Applications. In this article I am explaining problem and solution for this task.

In this article, I am going to explain steps for exporting GridView Data to Excel Sheet and what are the problems we face in this task.

There are two cases  when you export GridView Data-


1. GridView without  control like (Button, LinkButton, ImageButton etc.)
2. GridView with  control like (Button, LinkButton, ImageButton etc.)

30 Sites That Offer Free Website Templates and Free Flash Templates

How long does it take to create a new website? Is it a matter of days or weeks? Wrong: it’s a matter of hours! If you have doubts, then you have never used website templates (web designs that enable you to build static websites) or Flash templates (web designs that enable you to build animated websites). So, why don’t you download a free website template or a free Flash template and test it? After all, free templates are free and you have nothing to loose.