C# Corner

Resources  
  • Printing in C#Jan 26, 2000. This sample shows you how to print a text box contents in C# and .NET.
  • Business Card Designer Using C#Jan 30, 2000. For those of you that don't want to go out and buy a fancy business card utility, this article may prove to be just the trick for designing easy colorful business cards.
  • Meal Scheduler in C#May 04, 2000. In this application once you enter your meal timings. A message box will appear on the screen while you are working and remember you about your meal with light sound.
  • Graphics Animation SampleMay 16, 2000. After finishing a text program (lottery) its time for some fun. Everytime a have to work with a new language.I write a small program to bounce some balls in a box.
  • Boxing and UnboxingFeb 21, 2001. Boxing and Unboxing are fairly new terms introduced in C#. Author explains some concept of them.
  • Adding Items to a ListBoxMar 06, 2001. Sample code shows you how to add items to a list box.
  • Assemblies : The Ins and Out : Part IApr 13, 2001. In Part 1, I will cover what exactly an assembly is, and what an assembly contains.
  • Assemblies : The Ins and Out : Part IIApr 16, 2001. In this part, I will discuss both Private and Shared assemblies and how to create a "Shared Assembly".
  • Assemblies : The Ins and Out : Part IIIApr 20, 2001. In this part I will discuss in more detail than Part 2, the available utilities for manipulating assemblies.
  • Word Pad in C#May 11, 2001. This application explores the Rich Text control in C#,its properties and methods. Explains the usage of common dialog boxes File open, File save and Font dialog box.
  • Message Box BuilderAug 14, 2001. This program will help you using MessageBox Class. Program generates code from what you choose.
  • Visual MatrixAug 17, 2001. User can easily add ,sub any limit of matrices. Edit boxes are created dynamically.
  • Boxing and Unboxing in C#Aug 20, 2001. Boxing and unboxing is a essential concept in C#'s type system. With Boxing and unboxing one can link between value-types and reference-types by allowing any value of a value-type to be converted to and from type object.
  • Editor in C#Sep 03, 2001. C# Editor shows you how to use toolbar, status bar, dialog boxes, menus and other Windows forms controls.
  • Scrollable Picture BoxSep 13, 2001. This project contains a UserControl that allows you to place an Image inside and scroll around the Image.
  • Is there any need to Boxing and UnboxingSep 21, 2001. With Boxing and unboxing one can link between value-types and reference-types by allowing any value of a value-type to be converted to and from type object. Boxing and unboxing enables a unified view of the type system wherein a value of any type can ultimately be treated as an object.
  • Working with Windows Forms ControlsOct 12, 2001. This program shows you how to use Windows Forms controls such as Check Boxes, Radio Buttons, and Combo Box.
  • FlashCards Language Program : How to read and save Images in a Sql Server Database using ADO.NETNov 09, 2001. I thought it would be fun to write a simple program that displayed flashcards from a database and at the same time, show you how to read and write images to the database. This program is a simple flashcard program that talks to a single table in a Sql Server Database.
  • Adding Controls to Windows Forms at RuntimeNov 13, 2001. In this example I'll show how one can create and add controls to their Windows Forms at runtime.
  • Debugging Techniques in C#Dec 04, 2001. Debugging GUI applications for me mostly consists of printing out debug statements in the form of a dialog box with some text.
  • Graphics Programming in C#Dec 26, 2001. The new improved version of GDI is called GDI+. The .NET framework provides a rich set of classes, methods and events for developing applications with graphical capabilities.
  • Developing a Record Navigation Form with Unbound ControlsDec 26, 2001. Developing a record navigation form with unbound controls. The form enables you to navigate through the records one at a time. In this application we have used a combo box, two text boxes and various command buttons.
  • Multilingual Support in C#Jan 03, 2002. Many major languages of the world like Arabic, Hindi and Chinese are not written in Roman Script, so special features are provided for dealing with these languages. This article will tell how to implement multilingual application using C#.
  • Playing with DataGrid ControlJan 08, 2002. The article gives a user the overview to show the importance and versatility of the DATAGRID control.
  • Owner Draw ListBox Control in Windows Forms and C#Feb 08, 2002. In this article, we will see how to write owner drawn ListBox control using C# and Windows Forms.
  • Boxing and Performance of CollectionsMar 14, 2002. In this article, I will compare some performance issues of values and references types during boxing and unboxing operations.
  • Utilizing Assembly Information for Your Automated Splash DialogJun 05, 2002. There are cases when you need to reuse the same splash screen or about box in many applications.
  • Windows Forms Printer Selection ListJul 30, 2002. In this example we will create a sample windows form containing a combo box which will list the printers installed on the machine on which the program runs. The default printer for the machine is set as the default selection in the combo box.
  • Understanding Generic Type in C#Aug 15, 2002. Before we start tampering around the code, lets understand why we need a generic type?
  • Passing Data Between a Windows Form and Dialog BoxesAug 29, 2002. In this example, we will create a windows form application to demonstrate the transfer of data between a windows form and a dialog box displayed from the windows form.
  • Accessing Text Files using ODBC Data ProviderNov 12, 2002. In this article, I will show you how to access Access database files using ODBC data provider.
  • ImageCanvas Web User Control for ASP.NETDec 31, 2002. Most of you must have seen picture box control of windows forms. We can set image of picture box control and control will render that image in form.
  • The "ins" and "outs" of Using Stored Procedures in C#Jan 27, 2003. This article reviews the creation of stored procedures with parameters using the Visual Studio IDE.
  • Hash Password GeneratorFeb 10, 2003. This visual tool generates the hashed password using either SHA1 or MD5 hashing algorithm depending on the choice you make. It will display the hashed password in the read only text box, it can also copy the hashed password to clipboard on your choice for easy paste operation.
  • SQL Demo Login in C#Feb 23, 2003. This sample code contains a reusable control that allows you to build a dialog box that queries for SQL-Server connection parameters.
  • Hotmail using C# - An HTTPMail Client under .NETMar 21, 2003. The great thing about the POP mail protocol is that it is a well-documented open standard and writing a mail client to collect mail from a POP box a relatively painless process.
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
  • Boxing and Unboxing of Value Types : What You Need to Know?Jul 21, 2003. Programmers new to C# can encounter less than ideal performance and even unexpected results due to boxing and unboxing of value types.
  • Installing a Service ProgrammaticallySep 04, 2003. With the arrival of .NET, creation of a windows service has become a piece of cake by just selecting Windows Service as project type in the New Project Dialog Box.
  • Generating Combo Box in DataGrid ColumnsJan 09, 2004. DataGrid programming in .NET is real fun. And that too if you’re trying to get it programmed in a Windows Forms world its double the work. You got to write a whole lot of code for a simple extensibility of the existing features of datagrid. One good example is having a combobox in one of the columns of the datagrid.
  • Generics in C#Mar 08, 2004. Parametric Polymorphism is a well-established programming language feature. Generics offers this feature to C#. The best way to understand generics is to study some C# code that would benefit from generics.
  • Image Processing in C#Apr 13, 2004. This application explains basic concepts of image processing including brightening, converting to gray and adding notes to an image using C# and GDI+.
  • Forum Alert Service Version 1.0Aug 24, 2004. The Alert Service is a Windows service that can be deployed in any discussion forums and whenever a thread is posted to the forums, an alert will be issued in the form of a message to the user.
  • 3D Real-Time Stock Exchange Quote Stream Ticker in GDI+ and C#Oct 04, 2004. This article represents 3D Real-Time Stock Exchange Quote Stream Ticker version 1.0. The big option here is internal email-alert control with built in POP3 and SMTP protocols. This control starts when some condition is execute. You can save current quote in some graphics format and print it.
  • Using ListBox in C#Dec 28, 2004. The source code demonstrates how to use a listbox control in C# - adding, deleting and altering strings.
  • Sokoban Pro Game in C#Jan 21, 2005. Sokoban Pro is a modern version of the classic Sokoban puzzle game. The game rules are extremely simple, yet the game is very challenging and addictive. The rule of the game is to move all the boxes in the right places. You can only push a box, not pull.
  • SmartPhone Album Program with C#Mar 16, 2005. This article shows how to represent image’s thumbnail in ListView control, how to work with multi-forms and pass information with each other in a smart phone application, how to do simple image-processing, how to scroll picture in a picturebox and use the smart phone’s dpad keys.
  • Localizable Message Box ControlApr 02, 2005. This is localizable MessageBox control. Buttons on standard windows message box controls are always Yes, No, Abort, Cancel, OK, Ignore, Retry. I needed different text on my message boxes so I decided to develop custom message box control.
  • What the heck is Generics?May 20, 2005. This article provides the use of Generics and scenarios in which it will be useful.
  • Checked List Box Sample in C#May 31, 2005. This example shows how to use CheckedListBox control in C# and Windows Forms.
  • Adding & Retrieving items from listbox and check list boxJun 02, 2005. The attached source code shows how to add and retrieve items of Windows Forms ListBox and CheckListBox controls.
  • Adding a ComboBox Column Style to a DataGrid in Windows Forms Jul 30, 2005. The sample introduces how to add the Combobox DataGrid Column Style into a DataGrid on your .NET Windows form.
  • How to Select all Checkbox when Header Checkbox is SelectedDec 30, 2005. Here I have provided the code using javascript to check/uncheck all checkboxes when header checkbox is checked. I recommend JAVA Script because its executed at client side and saves request Round-Trip time.
  • Select/Deselect all Checkboxes at Server side in ASP.NET using C#Jan 11, 2006. In this article we will see that how to select/deselect all checkboxes using C#.net server side code inspite of simple Javascript code.
  • The GrouperJan 25, 2006. The Grouper is a special groupbox control that is rounded and fully customizable. The control can paint borders, drop shadows, gradient and solid backgrounds, custom text and custom icons.
  • Usage of doPostBack in a Real EnvironmentJan 29, 2006. Many atricles describes about "__doPostBack". But here I am trying to say some real practical ways to use it and also mentioned some precautions waant to take before use it. Believe me this article derived from my practical experience and will continue only such items from my side, as only those thing will help a developer.
  • AJAX Pager controlFeb 01, 2006. After AJAX Repeater control next logical thing was to try and create paging control, a control which renders paging links when you set its properties like page count and page number, I have been using similar control in asp.net page so I decided to implement same thing with JavaScript.
  • Introduction to the MagicAjax.NET - The Magic Ajax Engine for .NETFeb 11, 2006. MagicAjax.NET is a free open-source framework, designed to make it easier and more intuitive for developers to integrate AJAX technology into their web pages, without replacing the ASP.NET controls and/or writing tons of JavaScript code.
  • C# 2.0 Nullable TypesFeb 14, 2006. The designers of C#2 have added the concept of nullable types to deal with a weakness of value types versus reference types. It is then essential to have properly assimilated these two notions.
  • The C# Value Type and BoxingFeb 17, 2006. Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize the performance of our applications. One of the things we need to be aware of is how the Common Language Runtime (CLR) deals with references to value types.
  • AJAX Repeater control Feb 19, 2006. AJAX has been in shadows for a decade now but it started buzzing right after the launch of the Google Earth. This article shows how to create an AJAX Repeater control with item, header, footer, alternative item, and seperator item templates using AJAX and ASP.NET.
  • Client Side Validation with JavaScript in ASP.NETMar 22, 2006. This simple program will guide how to do client side validation in JavaScript.
  • A Practical Approach to .NET Testing using Visual Studio 2005 Test Team SuiteMar 22, 2006. This article will cover practical approach to White box Testing Techniques using Microsoft Visual Studio 2005 Test Team Suite. It covers concepts with a simple, easy to follow example.
  • How to Automatically Send a Resolution Optimized Markup of a Web Page to the ClientApr 15, 2006. This article will tell you about a technique through which you can make intelligent ASP.NET websites which will automatically detect the resolution of the visitor's desktop and generate a resolution optimized mark-up of a page, not forcing the visitor to keep the resolution of his/her desktop according to the website's best view resolution.
  • Generics in C# 2.0Apr 17, 2006. This articles comes in series with my last article - <a href= http://www.c-sharpcorner.com/UploadFile/Saurabh.Mishra/GenericsInC2PartI04122006074306AM/GenericsInC2PartI.aspx class=normal>Limitations in ArrayLists</a>. In this article, I specifically talk about Generics and how they improve upon arraylists and how they solve the issues posed by ArrayLists.
  • Fuligginedialogs in C#May 09, 2006. In this article the author explained how we can expand feature of the framework for an immediate use of MessageBox.Show(); function.
  • AJAX DataGrid: An ASP.NET User ControlMay 16, 2006. This DataGrid is a Client Side Control. It is created by JavaScript and uses Ajax.net technology.
  • Debug Client Side Script in Visual Studio 2005May 18, 2006. This article is for web developers, because it's target is one of the new feature in Visual Studio 2005 which is debug client side script.
  • AJAX Document Management - AJAX Document ViewerJun 16, 2006. AJAX (Asynchronous JavaScript and XML), is a web development technique for creating interactive web applications. The intention of AJAX is to exchange small pieces of data with the server without the necessity of reloading the entire web page.
  • System components performance in ASP.NET using C#Jul 01, 2006. This article shows how to retrieve system properties in a webpage on just singleclick of mouse.
  • Calling the Server-Side method asynchronously from Client ScriptJul 19, 2006. This article describes how to call the server-side method asynchronously from JavaScript with the use of Client Callbacks that is built in ASP.NET 2 so that the client browser receives the data dynamically without page postback.
  • Handling new line and carriage return with TextboxAug 08, 2006. This article shows how to handle newline and carriage return with Textbox while working with Databases.
  • Aural Alert Generator (Voice and Tones)Aug 25, 2006. This article describes an application used to generate and test aural alerts; I wrote the application originally to allow me to define and test aural alerts for use in a couple of cockpit simulators, however, you could use the application to generate aural alerts for any purpose. The application also may be used to define voice messages which may be optionally saved as wave files for subsequent use in other applications.
  • Outlook Style Menu with Collapsable Side MenuAug 25, 2006. This article shows very good outlook style menu with collapsable side menu.
  • Mortgage Calculator in C# and .NETSep 05, 2006. This article shows you how to create a mortgage calculator in .NET for computing a home loan. It also illustrates how to override a TextBox in order to create your own masked text box that includes thousand separators.
  • ASP.NET MessageBoxSep 11, 2006. The attached source code contains a class WebMsgBox, which is a message box written in C# for ASP.NET applications.
  • Building control derived from Windows Forms control in Visual Studio 2005: Part ISep 13, 2006. Reusability and component oriented development is one of the features of .NET development. This approach may be applied to any project. In this article I share how you can build your own Windows control derived from an Windows Forms control in Visual Studio 2005. The examples are written using C#.
  • Infragistics UltraWebNavigator Context Menu Integration with JavascriptSep 13, 2006. This article shows one of the difficult functionality of adding context Menu on Infragistics UltraWebGrid, in conjunction with mouse right click.
  • Flashing Stock Alert Application using C# and the Basic Stamp IISep 15, 2006. This article describes an application for reading stock quotes into an excel spread sheet and alerting the user when the stock quotes have exceeded or dropped below a certain price threshold. The project uses the SerialPort class to send commands to the Parallax Basic Stamp Microcontroller.
  • C# Friendly Assemblies: Looking at Building Truly Reusable ComponentsNov 01, 2006. This article discusses how we can hide our base class implementation and require referencing of our objects through their interfaces. This keeps our own projects loosely coupled and also allows us to publish our assemblies as truly reusable components because they are 100% “Black box”.
  • Using Client Callbacks for Building the ListBoxesFTs_C ASP.NET Web User Control: Part INov 23, 2006. In this article I share how you can build your own ASP.NET web user control with the help of the Client Callbacks. The examples are written using C# and JavaScript.
  • Using Client Callbacks for Building the ListBoxesFTs_C ASP.NET Web User Control: Part IINov 27, 2006. In this article I share how you can build your own ASP.NET web user control with the help of the Client Callbacks. The examples are written using C# and JavaScript.
  • Extending the ASP.NET ImageButton ControlDec 18, 2006. This article describes an easy approach to extending an existing ASP.NET control; in this example, the standard toolkit’s Image Button control is extended to support roll-over effects. Given the standard control already contains existing support for both server side click events and client click events, the control is well furbished prior to the addition of the roll-over effect.
  • Restricting User InputDec 28, 2006. This article describes an approach to restricting the user’s input to letters only, numbers only, letters or numbers only, and special characters only. The approach is simple to implement and can be used whenever it is necessary to restrict a user’s response to instances where it is necessary to capture information from the user into a form’s text box control.
  • Extend the Textbox Control to Validate Against Regular ExpressionsJan 05, 2007. This article describes an approach to validating text box entries against a regular expression.
  • Refreshing a parent page from a child in ASP.NET 2.0 Jan 19, 2007. I'm going to explain how to refresh a parent page from a child page using the new API of ASP.NET 2.0 and JavaScript language.
  • Using a COM Callable Wrapper to Launch a Program from a Hyperlink in the WebBrowser ControlMar 02, 2007. This article describes how you can launch an application from a link inside the WebBrowser Control using a combination of javascript and an ActiveX Control created in C#.
  • Display Currency Values with a Custom ControlMar 12, 2007. This article shall describe the construction of a custom control used to display currency values. The control is intended for use in Win Forms application development.
  • Clipboard Ring Utility With Yahoo Messenger Alert Like Popup Window.Mar 12, 2007. An article to illustrate the use of windows clipboard via a clipboard ring utility. It also illustrates yahoo messenger like popup alert feature.
  • Bulk Uploader in ASP.NET 2.0Mar 28, 2007. The FileUpLoad control enables you to upload file to the server. It displays a text box control and a browse button that allow users to select a file to upload to the server.
  • How to debug clientside Javascript code in VS2005 or VS2003Mar 30, 2007. This article helps you to debug Javascript code on an ASPX page.
  • Enforce Text Case with Custom ControlsApr 02, 2007. This article shall describe the construction of three custom controls; each is used to format its text content to be either all upper case, all lower case, title case, or normal (as typed) case regardless of the format of the input.
  • Build a Simple Watermarking Utility in C#May 07, 2007. This article shall describe an approach to building a simple watermarking utility that may be used to add watermarks to any supported image file format. The resulting application shall permit the user to open any supported image file format into a scrollable picture box.
  • Spell check enabled RichTextBox custom controlMay 16, 2007. This article describes a quick and simple approach to applying a spell check function to the rich text box control and bundling both features into a single custom control. Of course there is nothing novel or particularly interesting about performing spell checking upon a selection of text using the Word.DLL.
  • How to Submit Form When User Press Enter Key on DropDownList BoxMay 25, 2007. This small codes written in JavaScript will help you to submit form when user press enter key on dropdownlist.
  • Boxing and UnboxingJun 12, 2007. Details about the value type, reference type and details about the boxing and unboxing in C#.
  • A Scrollable MessageBox in C#Jul 30, 2007. This article demonstrates how to create a message box that contains messages that scroll. This message box also allows you to read the message in from a file as well as change fonts and color properties.
  • WPF ListBoxAug 31, 2007. This tutorial shows you how to work with the ListBox control available in WPF.
  • Introduction to Building a Plug-In Architecture Using C#Sep 10, 2007. In this article we'll take another look at how we can use the state pattern to build a plug-in architecture that will allow us to change the behavior of our application by placing differnt plug-ins into a folder.
  • JavaScript Calendar Control in ASP.NET 2.0Oct 01, 2007. The problem with ASP.NET Calendar control is it refreshes the page every time any event is fired. To avoid this, we have to use JavaScript Calendar control.

About alert-box-in-javascript

NA

SPONSORED BY

C# Corner Chandigarh DevCon16
Chandigarh DevCon16 is a one-day Developer Conference where programmers, technologists, authors, and members meet, demonstrate, plan, and hang out.
Visual Studio Live - Redmond 2016