Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > C-Sharp
Search:
What's New - What's Hot
Listings for Applications Applications (66)
Listings for Articles & Samples Articles & Samples (18146)
Listings for C-Sharp Sites C-Sharp Sites (12)
Listings for Errors and Bugs Errors and Bugs (25)
Listings for Introduction Introduction (72)
Listings for Knowledge Base Knowledge Base (234)
Listings for Sample Chapters Sample Chapters (79)
Listings for Support WebCasts Support WebCasts (2)
Listings for Training Training (19)
 


Hide Hyperlinks From Site Visitors     
Total Hits: 134  |  Today: 0Author: Bipin Joshi      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you move your mouse pointer on any of the link in the browser, the corresponding hyperlink is shown in the status bar. As a webmaster or developer of a web site, many times you want to hide such hyperlinks in your pages. This is needed frequently in download pages to hide the original content location or payment related pages. In this small code sample we will use ASP.NET HyperLink web control to display our links and then write code to hide them from the site visitors....

Client Callbacks in ASP.NET 2.0     
Total Hits: 85  |  Today: 0Author: Bipin Joshi      Rating:  
Read Reviews | Write Review |  Your Rating: 

The default page processing model in ASP.NET is post back oriented. That means when you click a post back causing control (such as button) your form gets submitted back to the server. Server side events are raised and the entire page output is sent back to the client. This can cause significant network overhead. The Client Callback feature allows you execute code from a web form without posting the form back to the server. You just retrieve the required value and update a small part of the overa...

Stripping Accents from Latin Characters: A Foray into Unicode Normalization     
Total Hits: 232  |  Today: 0Author: Evan Stein      Rating:  
Read Reviews | Write Review |  Your Rating: 

We've come a long way from the world of 7-bit ASCII. In the beginning, the language of the PC was most definitely English, with a smattering of hard-to-find characters for a few Western European languages. Now the PC works in just about any language. The Unicode Consortium did some stunning work reconciling all of the many disparate standards, and Unicode is now part of the PC's basic plumbing. The .NET framework uses Unicode from the ground up, and its programming languages keep improving the w...

Tutorial: Working with ToolBars     
Total Hits: 507  |  Today: 0Author: Mahesh Chand      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article is updated to final release. In this tutorial, I will discuss how to create toolbars, load images in toolbar buttons and write event handlers for buttons using Visual Studio .NET. This is simple step by step tutorial. Just follow simple steps....

Autosize a DataGridView to Fit     
Total Hits: 675  |  Today: 0Author: Wilfried Mestdagh      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how you can resize a dbgrid to always fit the form after a resize so that you never have a horizontal scrollbar....

Using the clipboard to transfer data to and from your applications     
Total Hits: 456  |  Today: 0Author: Jon Boyce      Rating:  
Read Reviews | Write Review |  Your Rating: 

The .NET platform has simplified a lot of things in Beta1. Simplifications Range from window controls to Enterprise web services. In this tutorial we will go through some steps for teaching you how to use the clipboard to transfer data to and from your .NET applications or any other application. To transfer clipboard data in .NET we need to use three classes, Clipboard, DataFormats and IDataObject. These classes reside in the System.WinForms namespace....

Calculating tax on an item     
Total Hits: 987  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

A common task for developers is to have to calculate tax for an item depending upon a total price. This quick code example shows you how to convert from double to decimal data types and perform a simple tax calculation....

C# to VB.NET Translator     
Total Hits: 163  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

The C# to VB.NET Translation tool is not perfect. However, it is the best C# to VB.NET translation tool that I have come across. It's very easy to use. Simply copy and paste your C# code into the textbox and hit the 'Translate' button. Currently, the translator does not handle script tags or any other HTML so your C# code must be pure C#. The VB.NET equivalent will be generated in a textbox below the one with your C# code. Feel free to send me bug reports here....

Building Application Framework with C#     
Total Hits: 328  |  Today: 0Author: Nauman Laghari      Rating:  
Read Reviews | Write Review |  Your Rating: 

The Article introduces a C# developer to building framework. After reading, you'll get how the big names have performed most of the magic in Application Frameworks, like the Java Applet and Servlets Framework as well as the Microsoft Foundation Classes. This article is just an introduction to the complex topic. A short code sample is provided for practically demonstrating the purpose....

Web Enable your C# Program     
Total Hits: 371  |  Today: 0Author: Kamran Shakil      Rating:  
Read Reviews | Write Review |  Your Rating: 

This articles explains how to use your C# program in a web server (without using ASP.NET). You can either use IIS (built-in to Windows 2000/NT/XP Professional), or Apache....

C# Formatting Currencies in .NET by     
Total Hits: 1322  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This quick demo shows you how to format a string or a decimal into the correct Currency format as defined by the system. It also shows you how to use the System.Globalization.NumberFormatInfo class to alter the appearance of the formatting....

Forms Authentication Against An XML File      
Total Hits: 555  |  Today: 0Author: Brad Kingsley      Rating:  
Read Reviews | Write Review |  Your Rating: 

This code shows how to validate against an XML file for Forms Authentication security in ASP.Net. Please read one of the earlier articles on Forms Authentication for an introduction and to see the required settings in the web.config file. The code below is just a modification of the login.aspx page....

HOW TO: Pass Optional Method Arguments from C#     
Total Hits: 745  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

C# does not support optional method arguments. However, there may be times when you are using components that were created in a language that supports optional arguments, such as legacy COM components or components created with Visual Basic .NET. This article explains how to take advantage of optional arguments....

Mouse and Key Events     
Total Hits: 1390  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article explains the usage of key and mouse events. The following code shows you how you can read mouse position on mouse move....

Obtain all IP addresses of local machine     
Total Hits: 1279  |  Today: 0Author: Khalid Shaikh      Rating:  
Read Reviews | Write Review |  Your Rating: 

The code required to simply start up winsock in a Windows environment, and enumerate all the IP addresses on your local machine....

Detect OS Version Using C#     
Total Hits: 1833  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

In Win32 SDK, we have an API GetVersionEx that returns the information in OSVERSIONINFO structure. And then we can look at the values of various members of structures to decide what version of operating system we are running on. To accomplish the same task, .NET SDK provides a class named Environment. In this class there is a static method named OSVersion that returns OperatingSystem object. This object can be used to get the value of operating system version.


...

Jagged Array Example     
Total Hits: 1345  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Here is an example of how a Jagged Array works. The code I have included here also contains the decleration and it's operation....

C# Timer Demo     
Total Hits: 1881  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is an example of a timer in C#. It gives you an understand of time/clock and time conversion functionality....

Creating a Dll And Using It With C#     
Total Hits: 935  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Here is a very quick and easy way to create a Dll and use it in C#...

HOW TO: Use a File Name to Start an Application Using C# (Q306222)     
Total Hits: 1073  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article demonstrates how to start the application that is associated with a given document extension or file type without needing to know the name or location of the associated application. For example, you can start Arcade.bmp with the application that is associated with the .bmp file extension, which is MSPaint.exe in most cases....



Disclaimer - Privacy
© 2002-2014 DevASP.net