C# Corner

Resources  
  • FileDownloader : Download files using HTTPJan 10, 2000. This application contains a Form and a Class module . From Form we create a thread which execute the procedure to handle the NET download. This application can be enhance to do more down load as in Download manager by creating more threads.
  • Move Grid PuzzleAug 15, 2001. This is a console based application the user will be prompted for move such as L-Left, R-Right, U-Up, D-Down, E-Exit.
  • Messaging between Threads using Message LoopAug 20, 2001. MessageLoopLib is a stripped down version of a complete, threading communication subsystem Ive written. This implementation is a single thread created in the GUI constructor. Ive dropped all thread management and have had to change some of the message code to accommodate this.
  • Mortgage Calculator in C#Mar 22, 2002. Mortgage Calculator is a C# Application developed for calculating the detailed monthly mortgage payments based on the loan amount, down payment, interest rate, mortgage duration.
  • XML News Feeds from Harrison LogicSep 04, 2002. This application provides a compilation of news headlines from many sources, using the MoreOver.com's XML service.
  • 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.
  • Daleks in .NETDec 11, 2002. The other night my girlfriend dragged me down to the NYC Public Library claiming that they had a huge Science Fiction movie section. Admittedly my taste in movies and my wife's taste in movies can vary slightly, however, I was willing to take a chance, given that rentals at the library are free as opposed to $4 at the local video store.
  • Low Down on Installing a .NET Assembly into the Global Assembly Cache (GAC)Jan 02, 2003. This article will walk you through the process of giving your assembly a strong name, and installing it into the GAC.
  • Designing and Implementing a Versatile Data Access Tier Jan 16, 2003. In this tutorial, we will drill down deeper in to the design of a n-tier architecture and our focus will be on the data access tier(DAT). Our goal is to design and implement an appropriate data access tier(DAT) for scalable, reliable and interoperable web application.
  • EggTimer in C#Aug 26, 2003. This simple timer app will count down from whatever value is set in the textbox.
  • WinGhost 2.0Nov 22, 2004. The winGhost 2.0 application allows you to show and hide applications running on your machine.
  • How to integrate Google searches into your applicationDec 06, 2004. Google has been able to turn the search business up-side-down within the last five years. Google provides a web service interface which allows you to integrate Google searches right into your application.
  • Wrapper Patterns in C#: Part IFeb 13, 2006. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# wrapper rabbit hole and see how it is all possible with some patterns: Proxy, Decorator, and Adapter.
  • Wrapper Patterns in C#, Part II: The Proxy PatternFeb 14, 2006. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# wrapper rabbit hole and see how it is all possible with some patterns: Proxy, Decorator, and Adapter.
  • Wrapper Patterns in C#, Part III: The Decorator PatternFeb 15, 2006. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# rabbit hole and see how it is all possible with some wrapper patterns: Proxy, Decorator, and Adapter.
  • Wrapper Patterns in C#, Part IV: The Adapter PatternFeb 16, 2006. In this series of four articles, we will travel down the C# rabbit hole and see how it is all possible with some wrapper patterns: Proxy, Decorator, and Adapter.
  • Client-Side XML Data Islands Jun 17, 2006. This article demonstrates how to send xml data to the web client, filter records from xml at client side by using XPath expression and populate all products of selected category into product drop-down.
  • Multi-threaded Asynchronous Programming in C#... Getting started.May 12, 2007. Trying to build better solutions and growing as a developer has always been fun for me and I’m always looking for ways to build more scalability and robustness in the software I am writing. I had a revelation that I’ve been doing a lot of C# tweaking but not taking advantage of the core performance enhancements cooked right into C# and it all comes down to one thing: Asynchronous multi-threaded programming.
  • Polymorphism, Up-casting and Down-castingJun 25, 2007. This article gives an introduction to polymorphism in C#. Using the example created in this introduction, the article then goes on to describe how we up-cast and down-cast objects.
  • Abstract Base Class PolymorphismAug 30, 2007. Refactoring the program code from my Polymorphism, Up-casting and Down-casting article to use an abstract base class.
  • Creating Drilldown Hierarchical Report using SQL Server Reporting Services 2005Feb 25, 2008. In this article you will see how to create drill down hierarchical report using SQL Server reporting services 2005.
  • Software Design Guidelines for .NETSep 02, 2008. Through this article I will attempt to break down this fire breathing dragon. And hopefully at the end of it, you would feel confident of riding this dragon towards glory and respect.
  • Silverlight Date Picker ControlDec 08, 2008. The DatePicker control in Silverlight 2 enables you to select a date by either typing it into a text field or by using a drop-down Calendar control.
  • Master-detail data-binding using DropDownList in ASP.NET 2.0Apr 17, 2009. This article is intended to illustrate how to implement the master-detail presentation pattern using the ObjectDataSource components and DropDownList Web control.
  • Month UPDown Control In Silverlight 3Jul 06, 2009. This is a Custom Control, called Month Up Down Control
  • How to improve your LINQ query performance by 5 X times ?Jul 17, 2009. LINQ has been criticized by many early adopters for its performance issues. Well if you are just going to drag and drop using DBML code generator I am sure you will land up in to mess. Try doing this make a simple LINQ to SQL project using DBML and see your SQL profiler, I am sure you will never like to touch DBML code generator again. In this article we will first look in to how LINQ queries are executed, and then we will touch base on how compiled LINQ queries can help us improve our application performance at least 5 times. My numbers can be 10% up and down as I had come to that figure using my environmental situations.
  • Swapping GridView rows Up and DownAug 22, 2009. In this article I am posting code about swapping GridView rows Up and Down using Data Tables.
  • Populating name of files from SharePoint Document library in a drop down listNov 04, 2009. This article will show how to iterate through SharePoint document library and list out all the file names and bind the list to a drop down list.
  • Bind a Struct to a ComboBox in C#Feb 08, 2010. This tip and code snippet shows how to bind a struct to a ComboBox in WPF and load its properties in the drop down.
  • Cascading dropdown column in a SharePoint 2007 ListFeb 08, 2010. This article will show how to use codeplex project to achieve Cascading drop down columns in SharePoint list.
  • How to handle Drop-Down event in Repeater controlFeb 24, 2010. In this article we will see how to handle Drop-Down event in Repeater control and getting the current Item index of Repeater control.
  • Crystal Reports User Group SelectionsMar 25, 2010. This is a great to allow users control over their reports and cutting down on the volume of reports needed to meet the business’s needs.
  • Move Up/Down ListBoxItem in ListBox in WPFApr 03, 2010. In this article we will see how we can move up/down a ListBoxItem in ListBox.
  • Move Up/Down TreeViewItem in TreeView in WPFApr 05, 2010. In this article we will see how we can move up/down a TreeViewItem in TreeView.
  • Country Application for Window 7 mobileApr 09, 2010. In this article, I am going to show you a Country Application. User will select country from drop down and details of selected country will be displayed.
  • Mind Puzzle Game in C#Apr 12, 2010. This is a simple game written in C# in which user presses Up, Down, Left, Right arrow keys to play this game.
  • Shut down, restart, log off and forced log off system using C#May 19, 2010. In this article we will see how to shut down, restart, log off and forced log off system using C#.
  • DomainUpDown in C#Jun 21, 2010. A DomainUpDown control allows users to provide a spin (up/down) interface to move through pre-defined strings using up and down arrows. In this tutorial, we will see how to create a DomainUpDown control and use it in a Windows Forms application.
  • NumericUpDown in C#Jun 22, 2010. A NumericUpDown control allows users to provide a spin (up/down) interface to move through pre-defined numbers using up and down arrows. In this tutorial, we will see how to create a NumericUpDown control at design-time as well as at run-time.
  • ComboBox in C#Aug 09, 2010. A ComboBox control is a combination of a TextBox and a ListBox control. Only one list item is displayed at one time in a ComboBox and other available items are loaded in a drop down list.
  • Cascading Dropdown in Share point using JQuerySep 02, 2010. Here I am showing how to make a cascading drop down in share point using JQuery have created two lists Stationary and Items. In Items list Stationary be a look up column from Stationary.
  • Going on a Safari, Don't Pet the Books!Oct 14, 2010. In the old days, I liked to walk into a Borders Bookstore and wander up and down the technical aisle to see if anything caught my eye. Like many impulsive buyers, I invariably found a useful book and justified its purchase as a business expense. These days, the thought process is a little different. I'll walk into Borders, find an interesting technical book, go home and try to find it on Amazon for a fraction of the cost. Of course if you find yourself buying a lot of technical books over the course of a year, I have a better option: a subscription to Safari Books Online, a vast repository of technical books.
  • GridView rows swapping in ASP.NETNov 17, 2010. In this article I am posting code about swapping GridView rows up and down using Data Tables.
  • Accelerometer and Location service in Windows Phone 7 Nov 23, 2010. Windows Phone 7 that provide information about the outside world. With the user’s permission, the location service lets your application obtain the phone’s location on the earth in the traditional geographic coordinates of longitude and latitude, whereas the accelerometer tells your program which way is down.
  • WPF DataGrid StyleJan 01, 2011. The DataGrid control provides a flexible way to display a collection of data in rows and columns. The DataGrid includes built-in column types and a template column for hosting custom content. The built-in row type includes a drop-down details section that you can use to display additional content below the cell values.
  • Dynamically Adding Dropdown using JQueryFeb 02, 2011. In this article, we will see how to create a DropDown dynamically and Add options to Drop down dynamically.
  • Applying Custom Filtering with AutoCompleteTextbox in SilverlightFeb 02, 2011. The AutoCompleteBox fuses a text entry with a drop-down list of suggestions. This feature is a common sight on the Web, powering everything from the search box on the Google homepage.
  • Saving DropDownList Selected Value Across PostBack in MVCMar 04, 2011. How to get a drop down list with the selected value across the Post back.
  • How to Hide Fields in SharePoint Custom List With Drop Down ValueJun 21, 2011. In this article I am describing how we can use JavaScript to hide/unhide fields in a SharePoint Custom List.
  • Use DataList Tag as Drop Down List in HTML5Jul 26, 2011. The Datalist tag represent a list of options that represent predefined options for other controls. A DataList is not visible to the user, but it is associated with the input tag through the input tag list attribute.
  • Drop Down List in AJAX Update PanelAug 03, 2011. In this article I am going to show how to use Drop down list in AJAX update panel.
  • Auditing Events in .NET ApplicationsAug 12, 2011. In this article we are pushing further down into murky depths of .NET event driven application internals. Several concepts used to implement event subscriptions in practice (all strictly based on MSDN) will be explained and their functioning used to implement otherwise hardly implementable entity: event auditor.
  • JQuery/JSON Multi-Select Combo Box (drop down list) ControlAug 23, 2011. Sometimes, we want users to be able make multiple selections in a combo box (drop down list). This JQuery control does that.
  • WPF DateTimeUpDown ControlNov 10, 2011. A DateTimeUpDown control allows us to increment or decrement the value of a DateTime using up/down keys, button spinner or the mouse wheel. The increment or decrement value depends on the current value and format of the control.
  • WPF DropDownButton ControlNov 17, 2011. This article demonstrates how to use the DropDownButton control in a WPF application using C# and XAML.
  • WPF DecimalUpDown ControlDec 14, 2011. A DecimalUpDown control allows us to display, increment or decrement decimal values including a number, currency, floating point, and even a percentage.
  • CODE- TALES: Series IJan 23, 2012. CODE-TALES is an effort for passionate technologists who are always out there trying to learn every day. I can assure you that each series will bring a new topic and though there can be several ways to do the same thing so any approach other than penned down here is always welcomed.
  • Dropdown List in PHPMar 03, 2012. In this article you will see how to create a static and dynamic drop down list in PHP.
  • How to Shut Down Windows 8Mar 19, 2012. In this article, I will explain how to shut down or restart your PC
  • Automatic Turn Off Windows 8Apr 15, 2012. In this article we will configure the scheduling of automatic turning off of the Windows 8 operating system.
  • ASP.NET Select DropDownList Item Using Tab KeyJul 01, 2012. In this article you will learn how to select a drop-down list item with jQuery plug-in in ASP.NET.
  • Drill Down With SharePoint 2010 Chart Web PartJul 10, 2012. In this article you will see how to achieve Drill Down with SharePoint 2010.
  • Expandable Control in Windows Store App Using JQueryJul 18, 2012. In this article we will implement an expandable control in a Windows store Application using jQuery.
  • Popup Menu in Windows Store App Using JQueryJul 19, 2012. Today we are going to implement a popup Menu in a Windows store Application using jQuery.
  • Use of BLOCK ARROW With Layout Property in Expression Blend 4Jul 20, 2012. We are going to see the use of Block Arrow Shapes of Expression Blend 4. Block arrow Shapes are divided into 4 parts; they are: Block Arrow Down, Block Arrow Left, Block Arrow Right and Block Arrow Up.
  • MVC Populate DropdownJul 26, 2012. This example will demonstrate how to populate a dropdown list from a database.
  • Sound Effect In Simple Media Player Using Windows Store AppsOct 04, 2012. In this article I explain how to use sound effects in Windows Store apps.
  • Add Shutdown and Restart Options in the Windows 8 Context MenuOct 13, 2012. In this article we are going to explain how to add shutdown and restart options to the right-click context menu.
  • Fill ASP.Net Dropdown List From Database Table Using ASP.NET C#Oct 23, 2012. In this article I will explain how to fill the Drop Down List from database table.
  • Messaging Between Threads using Message Loop in VB.NETNov 10, 2012. MessageLoopLib is a stripped down version of a complete, threading communication subsystem I’ve written. This implementation is a single thread created in the GUI constructor. I’ve dropped all thread management and have had to change some of the message code to accommodate this.
  • DropDownList Control in ASP.NETNov 10, 2012. In this article we will discuss how to use Drop Down List Control in ASP.NET.
  • XML News Feeds from Harrison Logic in VB.NETNov 10, 2012. This application provides a compilation of news headlines from many sources, using the MoreOver.com's XML service. It is built on the .NET framework and uses VB.NET as the ASP.NET server side language. The pages we built using Visual Studio .NET.
  • Determine Web Visitors Country of Origin in the Drop Down List using VB.NET or C#Nov 10, 2012. During the transaction online, there are times when it is important to preset the web visitor's country of origin, ZIP code, ISP and domain name at the drop down list to prevent fraud and to ease the complexity of registration task. This article shows you how by using .NET Framework, it can be done.
  • Lock Down IE 10 by Disabling Flash in Windows 8Nov 28, 2012. In this article we are going to explain how to lock down IE 10 by disabling Flash in Windows 8.
  • SharePoint 2013: Customize a custom drop down field by using client-side renderingDec 12, 2012. This sample demonstrates how to customize the rendering process for a custom drop down field in SharePoint 2013 Preview. You can provide custom logic to control the rendering process of various template sets, such as the View, Display, Add and Edit forms.
  • Descending DropDown List In ASP.NETFeb 04, 2013. In this article I am describing a descending dropdown list in ASP.NET.
  • Filter Data by Values in Model Binding Using Drop Down List in .NET 4.5Feb 04, 2013. In this article we will learn how to filter data by values in Model Binding using a Drop Down List.
  • Creating Dynamic Drop Down List in PHPFeb 27, 2013. In this article I will explain creation of a Dynamic Drop Down List in PHP using a MySQL database.
  • Drop Down Menu in iPhoneMar 09, 2013. In this article I explain how to make a drop down menu for iPhone.
  • Creating Drop Down Menus in PHPMar 26, 2013. I will explain Creating drop down menus with the help of twitter bootstrap file.
  • Moving ListBox Items UP Or Down In WPFMay 23, 2013. This article descripbes how to rearrage listbox items up and down.
  • jQuery Effects Using Slide MethodsJun 14, 2013. This article explains that How can you slide methods of jQuery to show and hide an element of web page. These slide methods do the up and down element.
  • Spinner in Android Using Android StudioJul 09, 2013. This article explains how to create a Spinner in Android. A Spinner is similar to a drop down list. It provides a quick way to select a value from a list. It displays the current selected value and touching the spinner gives a drop down list from which we can choose the required value.
  • Vertical Drop Down Menu on Hover Using CSS and HTMLJul 30, 2013. This article explains how to create a Vertical Drop Down Menu using CSS and HTML.
  • Floating div on Page Scroll Using JavaScriptAug 08, 2013. This article explains how to create a div that will float up and down when the page is scrolled.
  • Binding Various HTML Controls With Knockoutjs - Part 4Sep 11, 2013. This article explains the binding of some more HTML Controls with Knockout.
  • Bind Multi Select List Box and Radio Buttons Using Knockout in MVCOct 01, 2013. In this article I will tell you how to bind a Multi-Select Drop Down and Radio Buttons Using Knockout in MVC.
  • Options Binding in Drop-Down List Using KnockoutOct 15, 2013. Today's article explains Options Binding with a Drop-Down List using Knockout.
  • Ways to Bind Dropdown List in ASP.Net MVCDec 02, 2013. I would like to share the ways to bind the Dropdown list in ASP.net MVC.
  • Mouse/Pointer Events in AngularJSDec 28, 2013. This article explains how Mouse/Pointer Events work in AngularJS.
  • Key Up and Key Down Event in AngularJSJan 10, 2014. This article explains the ng-keyup and ng-keydown directives of AngularJS.
  • How to Create a DropDown List in Excel Using C#Jan 13, 2014. This article demonstrates how to create and fill in a drop-down list in Excel using C#.
  • Getting Started With Auto Complete Box in WP8Jun 01, 2014. This article explains the "auto complete box" control of the Windows Phone toolkit.
  • Auto Complete Box Control With Double Line ItemsJun 02, 2014. This article covers the advanced version of auto complete box that provides features such as double-line items, item templates and binding.
  • Cascading Drop-Down List in SharePoint 2010 List Using jQueryAug 05, 2014. This article explains how to implement a Cascading Drop-Down List in a SharePoint 2010 List using jQuery and Sp services.
  • Cascading Drop-Down List in SharePoint 2010 List Using jQueryAug 06, 2014. In this article we will learn how to implement Cascading Drop-Down List in SharePoint 2010 List using jQuery and Sp services.
  • Login With Twitter Style Using jQuery in ASP.NetOct 11, 2014. Today, I have provided an article showing you how to create a login drop-down with a Twitter style using jQuery.
  • Cascading Drop Down in Codeigniter Using AJAXDec 24, 2014. In this article, I am explaining how to create a cascading dropdown in codeigniter using ajax.
  • Display Data in GridView Without Using CodeJan 05, 2015. In this article you will learn how to display data in a GridView without using code.
  • Retry WCF Service Call When DownJan 08, 2015. This article shows how to retry your method or service call upon failure.

About Shut-down

NA

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
Download Free eBooks