Sunday, December 15, 2013

Jquery datepicker prevent from selecting future date in Asp.Net

Hello Friends, Today I am writing this post for developer who face problem to disable future date using Jquery datepicker in asp.net. First of all you have to use "jquery-1.7.1.min.js","Jquery-ui.min.js" and "jquery-ui.css that can be dowload it form  http://jqueryui.com/download/all/ and add in your page.  For add datepicker add below code inside tag.         $(document).ready(function () {             var d = new Date();            var curr_year = d.getFullYear(); ...


Tuesday, October 8, 2013

Quick Link For Download Visual Studio 2013 RC

...


Friday, September 13, 2013

Difference between Local Temp Table and Global Temp Table ?

What is the difference between Local Temp Table and Global Temp Table ? Temporary tables are temporary storage structures. You may use temporary tables to store data that you will manipulate before arriving at a final format.    Local Temp Table:  The hash (#) character (prefix with tablename) is used to declare a temporary table  as it is prepended to the table name. A single hash (#) specifies a local temporary table.  Local temporary tables are available to the current connection for the user, so they  disappear when the user disconnects. Within SQL Server, temporary tables are stored  in the Temporary Tables folder of the tempdb database. Syntax for creating Local Temp Table Create table #tempLocalTableName(EmpId int, EmpName varchar(50), EmpAdd varchar(100)) Global Temp Table: Global temporary tables may be created with double hashes (##) (Prefix with table name).  These are available to all users via all connections, and they are deleted only when all  connections are closed. Once created, these tables are used just like permanent tables;  they should be deleted when you are finished with them.  Syntax for creating Temp Table Create table ##tempGlobalTableName(EmpId int, EmpName varchar(50), EmpAdd varchar(100)) If...


Sunday, September 1, 2013

.Net Interviews Question For Beginners

Hello Friends, Today I am writing this post because of in Interviews I have faced so many question when I was beginners. So, I think I should share these question with you. Interview I 1. Tell about your technical profile. 2. What was your role in your project? 3. In which module you have worked explain? 4. Describe GridView events (Paper). 5. How to change Label's color based on Label's value  (Paper)? 6. Write the code to perform edit and delete operations using  GridView        (Paper). 7. What are the Validation controls in ASP.Net? 8....


Difference between Asp.Net MVC 3 and MVC 4

Hello Friends, Today I am writing this post because of this is very important question in interview as well as you should know the difference between MVC3 and MVC4. So let enjoy this.                                    MVC ASP.NET MVC  is a framework for building scalable, standards-based web applications using well-established design patterns and the power of ASP.NET and the .NET Framework. BEST/NEW FEATURES...


Monday, August 26, 2013

Create Connection String in Asp.net using web.config file

Hello Friends, Today I am writing this post because of I found out that beginners got a problem to create connection with database in web config file in asp.net. So, Solution is here. Enjoy it..... Web Config File <configuration>   <connectionStrings>     <add name="nameofConnection" connectionString="Data Source=servername; Initial Catalog=DatabaseName; User ID=UserName; Password=Password;"/>   </connectionStrings>   <system.web>     <compilation debug="false" targetFramework="4.0"...


Sunday, August 25, 2013

Creating a virtual directory in IIS 7.5 and 7.0

Hello Friends, Many times we face the problem to host our website on local machine to createa virtual directory, So solutions is here for creating virtual directory in IIS 7.5 and 7.0. Since IIS 7, there exists a separate concept for a virtual directory and an application. You can map a virtual directory to a physical directory that is located on a local  a or remote computer. The physical directory (under the specified name of the virtual directory) then becomes part of the application's URL. An application, on the other hand, is a group...