Feb 05

Custom directory to Partial Views in MVC3

Custom directory to Partial Views in MVC3

In this article I will describe how to change the default directory path of Razor View Engine Partial Views.  By default in Asp.Net MVC3 when you create a partial view, Visual Studio will by default create partial view in the controller view folder. I am working on a project and want to put all the …

Continue reading »

Jan 09

HTML tags in Crystal Report

Hi, After a long time I get a chance to update my blog. Nowadays I am working on project and using Crystal Report. I am passing HTML to crystal report to display data. But I find it out that Crystal Report not support all the HTML tags. For example Crystal Report will not recognize <br/> …

Continue reading »

Dec 10

Selecting DOM elements and Events in JQuery

Continuing with JQuery(refer previous posts on JQuery Introduction to JQuery and Watermark textbox with JQuery) , today I thought to write down a small article about selecting DOM elements and events in JQuery. This will show the power of JQuery, how easily you can play with the DOM elements on a webpage. JQuery uses CSS …

Continue reading »

Dec 06

Watermark textbox with JQuery

Watermark textbox with JQuery The more I explore JQuery, the more I get impressed with its power and flexibility. With classic JavaScript what you are writing with ten lines of code. The same functionality you can achieve with JQuery in fewer lines. This is the one good reason I prefer to user JQuery in my …

Continue reading »

Dec 04

Introduction to JQuery

Select Empty Webite

JQuery is developed by John Resiq.  JQuery was first announced at BarCamp NYC in 2006. JQuery grows fast and become very popular between web developers. Google, Microsoft and others like the JQuery concept and adopt it immediately. You can get help articals from JQuery website http://jquery.com. And to download latest version you can go to http://docs.jquery.com/Downloading_jQuery. …

Continue reading »

Nov 28

Unable to connect local server

Start SQL Server

I was on vocation and when I came back and try to start SQL server. It give me below error. Connect to Server —————————— Cannot connect to localhost. —————————— ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that …

Continue reading »

Nov 28

How to make joins in SQL Server

In database joins are used to retrieve data from two or more table based on logical relationship between these tables. A typical join specifies a forgien key from one table and its associated primary key in the other table. To do this, it specifies the following, •The column from each table to be used for …

Continue reading »

Nov 28

Creating table in SQL Server

You can create table in MS SQL Server either of the following way, •Enterprise Manager •Transact SQL (T-SQL) statement Currently we will create table using T-SQL. Syantax: CREATE TABLE <TABLE_NAME> (<COLUMN_NAME> <DATA_TYPES>); Example CREATE TABLE Airlines_Master (Aircode Char(2), Airline_Name Varchar(25), Country Int, DateCreate DateTime); Once table is created you can modify the table. Add new …

Continue reading »