Author: admin

  • Blog
  • Author: admin

TRY-CATCH Block-SQL Server

In SQL server 2000, to handle sql server exception we have to use goto statement while in the sql server 2005 support the try-catch type of exception handling just like vb.net or c#.here is exmple of it. set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoCREATE PROCEDURE [dbo].[sp_InsertState]@StateId int,@Name varchar(30)ASBEGIN declare @Error Int declare @TableName sysname declare @ErrorMessage nvarchar(2000)

Easy URL routing in ASP.NET 4.0 web forms

In this post I am going to explain URL routing in greater details. This post will contain basic of URL routing and will explain how we can do URL routing in fewer lines of code. Let’s consider a simpler scenario we want to display a customer details on a ASP.NET Page so how our page

Angular 1.5 packages for Sublime Text 3

One of my friends was using Sublime text 3 as  editor for the Angular.js application but he was using it without packages so he has to do manually all the things. I suggested him few packages and now he is much more productive than ever. So in the blog post, I’m going to share few

applying CSS in multiline textbox of asp.net

I have seen many time whenever we try to apply css classes to the the multi line text of asp.net. It does not work.It may happened due to the browser treat that text box as the text area. So you can do it with defining text area element in css and it will automatically apply