Thursday, January 17, 2008

How to show javascript alert message from asp.net code behind

Javascript is one of the most important language for webdevelopement. We need to build the interactive websites. For the desktop application Messagebox are very important thing for building interactive websites. But from server side (asp.net) we can not display messageboxes and other things. But with the help of java script we can display the alert(Messagebox) messages on our websites.

I have found a great link on this. Here is the link:

http://www.devnewz.com/devnewz-3-20061129JavaScriptAlertShowmessagefromASPNETCodebehind.html
Share:

ASP.NET validation control in Depth.

From asp.net 1.0 to ASP.NET 3.5 asp.net having validation controls like required field validator,Compare field validation, Range Validator,Validation Summary, Regular Expression Validator, Custom Validator.

This control can be use very efficiently without writing much of javascript and other code.

I have found a great link which describes each and every aspect of validation control from asp.net 1.0.

Here is the link for that article..

http://msdn2.microsoft.com/en-us/library/aa479045.aspx
Share:

How to Alter ColumnName in sql server with query..

We are normally using Alter Column Modify command to modify the column defination. But SQL Server does not support it. Rather then then that they are are supporting new syntax Like

"ALTER TABLE ALTER COLUMN"

Here is the syntax for ALTER TABLE command for sql server.

ALTER TABLE table { [ ALTER COLUMN column_name { new_data_type [ ( precision [ , scale ] ) ] [ COLLATE <> ] [ NULL NOT NULL ] {ADD DROP } ROWGUIDCOL } ] ADD { [ <> ] column_name AS computed_column_expression } [ ,...n ] [ WITH CHECK WITH NOCHECK ] ADD { <> } [ ,...n ] DROP { [ CONSTRAINT ] constraint_name COLUMN column } [ ,...n ] { [ WITH CHECK WITH NOCHECK ] CHECK NOCHECK } CONSTRAINT { ALL constraint_name [ ,...n ] } { ENABLE DISABLE } TRIGGER { ALL trigger_name [ ,...n ] } }

If you want more to know about it. Please visit following link at Micorosft sql server developement center.

http://msdn2.microsoft.com/en-us/library/aa275462(SQL.80).aspx
Share:

.NET Framework Source Code Available

Have you ever think that you can view the source code available for .net framework. If you have dream of it, this is the time to come it true. Microsoft has just released the source code to debug.

I have found a great post that how to debug the cod the .net framework.

Here is the link for the code...
http://www.hanselman.com/blog/NETFrameworkLibrarySourceCodeAvailableForViewing.aspx
Share:
Wednesday, November 28, 2007

Some handy Visual Studio 2005 shortcuts

We always use to perform the things faster without interacting with mouse. I have found a great link for visual studio 2005 short cuts. It's is very use ful when we want to save time while developing applications.

Here is the link:

http://jason.diamond.name/weblog/2006/07/29/some-handy-visual-studio-2005-keyboard-shortcuts
Share:

How to debug process with visual studio 2005 + aspnet_wp.exe

Some time while you are testing you need to debug some things in your asp.net application. Suppose you have run the application with ctrl + f5 and now you want to debug some things, then there are two things either you close the browser and press f5 and start debuging but if your application is heavy that will waste lots of time for your application, second way is some thing tricky but you can debug things.

We have aspnet_wp.exe(asp.net worker process) running on machine where iis and application is installed. Now suppose at present you are browsing default.aspx page and you want to debug it without pressing f5 . Then go to the your visual studio IDE -> Debug menu-> Attach Process. Select the aspnet_wp.exe process and click 'attach to process'. Now your application instance will bind with code. You can set the debug point as you do with normal debugging and it will work just as normal debugging.

So you can start debugging without wasting so much time.

Happy Programming...
Share:
Tuesday, November 27, 2007

What's new in visual studio 2008 and .NET Framework 3.5

Microsoft has just released the visual studio 2008 and .net framework 3.5. I have found a great link to discover what's new in visual studio 2008 and .net framework. The Link contains following things.

1) WPF improvements.
2) What's new in visual studio 2008
3) What's new in .net framework 3.5

Here is the link for that:

http://windowsclient.net/vstudio2008.aspx
Share:

Support this blog-Buy me a coffee

Buy me a coffeeBuy me a coffee
Search This Blog
Subscribe to my blog

  

My Mvp Profile
Follow us on facebook
Blog Archive
Total Pageviews