C# Corner

Resources  
  • Accessing .NET Components from COM Clients and COM components from .NET ClientsMar 26, 2001. In this article I am going to explain how to access a .NET component from a COM client and accessing COM from .NET clients.
  • Defining Custom Entry PointsApr 30, 2001. In this article i am going to demonstrate how we can manipulate the IL code to change the behaviour of how the .NET programme executes.
  • A Lottery Program in C#May 05, 2001. I am learning C# in any spare time I have and instead of diving in and writing a monster program I thought a nice introduction would be good.
  • Validation Contol in Mobile FormJun 04, 2001. In this article i'll be showing the power of Valiation Control which u can use with Mobile Application.There are total six Valiation Control as provided. Here i am showing four of them in this example and the rest two are Valiationsummary and CustomValidator.
  • Animate System Tray in C#Jun 18, 2001. I am sure those who have worked with Visual C++ would have experienced the problem of displaying an icon in system tray and manipulating with context menus for that. Previously I use to display System tray icons with Shell_NotifyIcon by filling a structure and manipulating with a context menu for that icon is another problem.
  • Monitoring File System using FileSystemWatcher Class - Part 1Nov 27, 2001. In this article, I am explaining you how to use FileSystemWatcher class. In part 2, a sample application, which helps you to monitor a specified directory.
  • .NET Framework and Web Services - Part 3Jan 31, 2002. Here I am going to explain Web methods and how to write Web methods in C# and VB.NET.
  • Microsoft Knowledge Base Web Service ConsumerFeb 22, 2002. In this Article I am going to show you how to consume Microsoft knowledge base Web service from our client.
  • Mastermind Game with Drag and Drop FunctionalityMay 15, 2002. There as nice article some time ago on this site for creating mastermind game by Mike Gold. I am rewriting complete game from scratch to implement Drag and Drop feature and presentable User interface.
  • Using Visual Studio .NET to Build and Deploy ApplicationsJul 29, 2002. No matter how much time you spend designing your application there is one key stage where it can all fall apart, the build and deployment stage.This is a first in a series of articles in which I am going to demonstrate how to use Visual Studio .NET.
  • Master-Detail Display using Nested Repeater Web Forms ControlAug 05, 2002. In this example, we will create a web page that displays a formatted view of data with a master detail hierarchy using nested Repeater controls. We will use the Northwind sample for our example. There are many different ways to accomplish this task. We will use data binding and data relations in an effort to get a simple solution.
  • Transactions and Concurrency Control using ADO.NETAug 15, 2002. In this article I am concentrating on the transaction management and concurrency control in .NET environment.
  • Hex Colors in C#Sep 05, 2002. Currently I am developing a shareware application for generating image galleries for the web. There is a template engine built in that allows the user to specify colors as hexadecimal values, plus many other features.
  • Generating Maze using C# and .NETSep 25, 2002. Did you ever get the feeling that cubicles were laid out with the idea that there could be no escape? (Must be I am a bit overworked these days). Today's article focuses on how to generate a maze using the depth first search algorithm. This is a very simple but clever algorithm that creates a maze by randomly stripping one available wall between two cells for every cell in the grid.
  • Customize User Interfaces and Pass User Input to Installer ClassesOct 19, 2002. In this article I am going to demonstrate how to customize your MSI install to prompt the user for some information and then pass this information to an installer class. This can be useful when needing to do something during an install based on the user input.
  • Customize User Interfaces and Pass User Input to Installer ClassesOct 29, 2002. In this article I am going to demonstrate how to customize your MSI install to prompt the user for some information and then pass this information to an installer class. This can be useful when needing to do something during an install based on the user input.
  • Singleton Patterns in C# RevisedDec 16, 2002. I am coming from the Java world, where synchronizing the Singleton creation is common practice.
  • Run Time CompilerFeb 07, 2003. In this article, I am going to discuss how to take a string then compile it and then how you execute it.
  • 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.
  • Enter Null Values for DateTime Column of SQL ServerSep 26, 2003. Inserting a null value to the DateTime Field in SQL Server is one of the most common issues giving various errors. Even if one enters null values the value in the database is some default value as 1/1/1900 12:00:00 AM.
  • DataTable in C#Feb 17, 2004. The ADO.NET DataSet is a data construct that can contain several relational rowsets, the relations that link those rowsets, and the metadata for each rowset. The DataSet also tracks which fields have changed, their new values and their original values, and can store custom information in its Extended Properties collection. The DataSet can be exported to XML or created from an XML document, thus enabling increased interoperability between applications.
  • DataAdapter in C#Feb 17, 2004. The ADO.NET DataSet is a data construct that can contain several relational rowsets, the relations that link those rowsets, and the metadata for each rowset. The DataSet also tracks which fields have changed, their new values and their original values, and can store custom information in its Extended Properties collection. The DataSet can be exported to XML or created from an XML document, thus enabling increased interoperability between applications.
  • DataTable Events in C#Feb 17, 2004. The ADO.NET DataSet is a data construct that can contain several relational rowsets, the relations that link those rowsets, and the metadata for each rowset. The DataSet also tracks which fields have changed, their new values and their original values, and can store custom information in its Extended Properties collection. The DataSet can be exported to XML or created from an XML document, thus enabling increased interoperability between applications.
  • Constructing a DataTable using C#Feb 17, 2004. The ADO.NET DataSet is a data construct that can contain several relational rowsets, the relations that link those rowsets, and the metadata for each rowset. The DataSet also tracks which fields have changed, their new values and their original values, and can store custom information in its Extended Properties collection. The DataSet can be exported to XML or created from an XML document, thus enabling increased interoperability between applications.
  • DataReader in C#Feb 17, 2004. The ADO.NET DataSet is a data construct that can contain several relational rowsets, the relations that link those rowsets, and the metadata for each rowset. The DataSet also tracks which fields have changed, their new values and their original values, and can store custom information in its Extended Properties collection. The DataSet can be exported to XML or created from an XML document, thus enabling increased interoperability between applications.
  • DataView in C#Feb 17, 2004. The ADO.NET DataSet is a data construct that can contain several relational rowsets, the relations that link those rowsets, and the metadata for each rowset. The DataSet also tracks which fields have changed, their new values and their original values, and can store custom information in its Extended Properties collection. The DataSet can be exported to XML or created from an XML document, thus enabling increased interoperability between applications.
  • Data Binding in DataGrid Control using C#Feb 17, 2004. The ADO.NET DataSet is a data construct that can contain several relational rowsets, the relations that link those rowsets, and the metadata for each rowset. The DataSet also tracks which fields have changed, their new values and their original values, and can store custom information in its Extended Properties collection. The DataSet can be exported to XML or created from an XML document, thus enabling increased interoperability between applications.
  • DataSet in C#Feb 17, 2004. The ADO.NET DataSet is a data construct that can contain several relational rowsets, the relations that link those rowsets, and the metadata for each rowset. The DataSet also tracks which fields have changed, their new values and their original values, and can store custom information in its Extended Properties collection. The DataSet can be exported to XML or created from an XML document, thus enabling increased interoperability between applications.
  • Building WebParts in ASP .Net 2.0Aug 08, 2005. Web Parts is a framework built into ASP.NET 2.0 for building highly customizable portal-style pages. End users can customize Web Parts pages by changing the page layout, adding and removing Web Parts, editing Web Parts properties, establishing connections between Web Parts, and more. I would like to share how to build web parts in ASP .Net 2.0. I am providing the source code of application as well.
  • Programming with .NET Compact Framework 1.0 and SQL CE 2.0 : Part IIAug 11, 2005. In this article I am going to talk about garbage collection and JIT process in .NET compact framework and what are the differences between these two model of framework.
  • Building Managed Code Using Common Language Runtime (CLR) Integration in SQL Server 2005Oct 24, 2005. In this article I am going to talk about a cool new feature of SQL Server 2005 called "CLR Integration", its advantages and how to program database objects using managed code with a simple project in Visual Studio 2005 beta 2.
  • Algorithm to Normalize and Sort FilesDec 20, 2005. A program which do all the sorting work for you. This program is just for Windows, I am working on a Mono Version for Linux.
  • 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.
  • Customized Binding Using CollectionBaseMar 04, 2006. In this article I am trying to explain the use of CollectionBase class. In a simple example I used CollectionBase to bind a DataGrid control with data from Employees table of NorthWind database. So please be sure that your system exists with NorthWind database before using the sample code along with this article.
  • AndAlso & OrElse Operators in C#Mar 13, 2006. Hi all, in a very short note I am trying to explain some interesting logical operators in C# and their VB.NET counter part. You must ware of the differences between these operators for a better usage of them.
  • Iterator Design PatternJul 11, 2006. This article, explains how to use the Iterator pattern to manipulate any collection of objects. To explain this I am using two interfaces IEnumerator and IEnumerables.
  • 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.
  • Whose Online in ASP.NET 2.0Aug 06, 2007. I had problem in one of the project to show who is onlne & how to track multiple login/prevent from multiple login. I had gone back and forth so many time and finally am here with small snippet of code, I guess eveyone should read this article!
  • Iterator in C# 2.0Aug 21, 2007. Iterator is one of the new feature in C# 2.0. I am trying to explain it with Employees and Department classses.
  • Understanding WEBPARTS in ASP.NET 2.0: Part ISep 24, 2007. In this article I am going to discuss about "WEB PARTS" in ASP.NET 2.0, and the most exciting feature of ASP.NET 2.0.
  • Edit, Delete and Update in a DataGrid in Visual Web developer 2005Sep 26, 2007. Here in this article I am going to show, how to edit, Delete and update data in a DataGrid.
  • Events in C#Mar 03, 2008. This article discusses events in c#. It will show you the relation between delegates and events.
  • Login Control in ASP.NET 3.5Jul 28, 2008. In this step by step tutorial, I am going to discuss the Login control available in ASP.NET 3.5.
  • ListView Control in ASP.NET 3.5Jul 28, 2008. In this article I am going to discuss about features and examples of ListView control in ASP.NET 3.5.
  • Database connectivity using silverlightJul 29, 2008. In this article, I am going to discuss how to do database connectivity in silverlight using DataGrid.
  • CreateUserWizard control in ASP.NET 3.5Aug 06, 2008. In this article, I am going to discuss how to use CreateUserWizard control in ASP.NET 3.5.
  • Functions in SQL Server 2005Aug 07, 2008. In this article I am going to explain about some SQL Server 2005 functions with examples. Here are going to discuss about some string functions, numeric functions and date/time functions.
  • ListView Control in Visual Studio 2008 and ASP.NET 3.5Sep 04, 2008. In this post, I am going to explain the new data driven ListView control that ships with Visual Studio 2008.
  • GridView Examples for ASP.NET 2.0Sep 15, 2008. In this article, I am going to show how you can display and edit data in an ASP.NET 2.0 GridView control without writing a single line of code.
  • Xml DataSource control in ASP.NET 3.5Sep 17, 2008. In this article I am going to discuss how to use XmlDataSource control in ASP.NET 3.5
  • What is DelegateSep 25, 2008. In this article i am going to explain about delegate.
  • Passing Values between forms in SilverlightNov 20, 2008. Here in this article, I am going to show how to navigate between pages in an application and to pass values between them.
  • PasswordStrength control in AJAXJan 01, 2009. In this article, I am going to describe how to make strong password using AJAX.
  • Image Comparison using C#Jan 02, 2009. In this article, I am going to describe how to compare two images using C#.
  • Popup control in ASP.NET 2.0Jan 07, 2009. In this article I am going to describe Popup control in ASP.NET 2.0.
  • Animated pop-ups using the ASP.NET AJAX frameworkJan 19, 2009. In this article, I am going to show how to create animated pop-ups in your ASP.NET application using the ASP.NET AJAX framework and the ASP.NET AJAX Control toolkit.
  • How to create an address book using XMLJan 19, 2009. In this article I am going to describe how to crete an address book application using XML file.
  • Eight queens puzzle and its solution using C#.NetJan 23, 2009. In this article I am going to describe about Eight queens puzzle. and how to solve this puzzle.
  • 6 basic steps of how to create a WebPart in SharePointJan 26, 2009. This is beginners tutorial of how to deploy a WebPart in SharePoint. It is a 6 step procedure and this tutorial will walk through the same. In case you are fresher to SharePoint you can read my FAQ articles listed below. I am sure within an hour you can get acquainted to SharePoint and get started.
  • Tab Control in WPFJan 29, 2009. In this article I am going to explain how to implement tabcontrol in WPF.
  • Abstract Class, Interface and relation to Method Overriding and Method Hiding in C#Feb 17, 2009. In my this article I present a way to easily understand Abstract Types, Interfaces and their difference with Overriding and Hiding.
  • Weird thing with inner queries in SQL SERVER 2005Feb 19, 2009. This articles helps you in understand that how inner queries works with relation to outer queries and what problems it can create if not used in proper manner.
  • Weird Thing With Inner Queries in Sql Server 2005Feb 24, 2009. This articles helps you in understand that how inner queries works with relation to outer queries and what problems it can create if not used in proper manner.
  • DrawingBrush in WPFFeb 26, 2009. Through this article I am going to discuss DrawingBrush in WPF, and its properies and how we can use in our application.
  • Uploading Multiple Files in ASP.NET 2.0: Part IIMar 27, 2009. In ASP.NET 2.0, the FileUpload control enables the users to upload the files from your web pages. Here, I am going to show you, "how can you upload multiple file on a single button click in ASP.NET 2.0." Here, in the same article I am adding one more functionality, i.e. the user can get the right to upload any number of images by clicking on Add button.
  • GridView Paging and Sorting using AjaxMar 27, 2009. In this article i am going to demonstrat how to enable browser back button. You will also learn gridview control and how to use paging, sorting using AJAX.
  • SharePoint Quick Start FAQ: Part VApr 09, 2009. This is the 5th tutorial of SharePoint FAQ series. This series will mainly concentrate on custom columns, content types and document list library. I am sure once your read this article your thinking of how SharePoint organizes document centralization will change.
  • Windows Communication Foundation FAQ: Part IIApr 16, 2009. In this article, we will run through a quick FAQ for WCF. I am sure after reading this you will get a good understanding of the fundamentals of WCF.
  • Ajax tab control using CSSApr 20, 2009. In this article, I am going to discuss how to use Ajax tab control using CSS.
  • Rich AJAX Toolkit control: AccordionApr 28, 2009. Through this article I am going to introduce about AJAX Accordion Control.
  • Multiple Image Upload in ASP.NETMay 12, 2009. In this article, I am going to discuss how to upload multiple images in ASP.NET simultaneously.
  • Ajax CollapsiblePanelExtenderMay 14, 2009. In this I am going to discuss about Ajax CollapsiblePanelExtender and how to use it in Asp.net.
  • An Introduction to JQuery with ASP.NET May 27, 2009. In this article, I am going to show how to get started with JQuery using Visual Studio 2008. The article also shows you how to use Visual Studio 2008 intellisense feature to develop JQuery and ASP.NET applications.
  • Export Data Grid in Excel Word And Text FileJul 03, 2009. In this article I am going to show how we can export data grid in excel, word and notepad file.
  • Simple 6 steps to use stored procedure in LINQJul 08, 2009. This is an extremely small article which describes how to flourish LINQ objects using stored procedure. What provoked me to write this article is the ‘ExecuteMethodCall’ function which helps to execute stored procedures in LINQ. As this is a protected function it changes the way you architect the DAL using ‘DataContext’ class and probably you would like to tweak and consider some options here. You can see more details of it when you read through the steps below. I am writing a huge series of LINQ FAQ and these small articles form small sprints to complete the huge FAQ series. I hope you enjoy it.
  • How to find your search location using asp.netJul 08, 2009. Here I am going to discuss a simple application to find your search location in the google map using asp.net with C#.
  • PopUp box with Repeater Control using JavaScriptJul 10, 2009. In this article I am going to discuss how to create JavaScript to raise popup box with repeater control in asp.net.
  • CRUD operations using LINQ EntitiesJul 12, 2009. This is a pretty simple tutorial dedicated to LINQ newbie’s who want to learn how to do CRUD operations using LINQ entities. I am sure many experienced LINQ players would criticize me for such a mild article.
  • 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.
  • Web Browser control in WPFJul 30, 2009. In this article, I am going to show you; how to work with Web Browser control in WPF? We will be opening a web site (even a Silverlight Enabled web site in WPF application) in the new Web Browser control.
  • Walkthrough on creating a Task List in SharePointAug 10, 2009. In this article, I will give step by step explanation of how to add a task list in SharePoint site. I am going to add a list in existing SharePoint site.
  • Walkthrough: How to add user in a SharePoint siteAug 10, 2009. In this article, I am going to show step by step, how to add an existing windows user to SharePoint site.
  • Raising Events, Event Handlers, and the Use of DelegatesAug 12, 2009. This article focuses on delegates, how to use them, their relation to events, and their relation to raising events. It is meant to help the beginner learn delegates by example code.
  • Programmatically adding document to SharePoint Document libraryAug 21, 2009. In this article, I am going to add a document through code to a SharePoint document library. I am going to use SharePoint object model to add document.
  • Programming SharePoint ListAug 21, 2009. In this article, I am going to show how we could work with SharePoint items using object model or in other words using .Net code.
  • 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.
  • .NET Best Practice No: 2:- Improve garbage collector performance using finalize/dispose patternAug 23, 2009. In this article we will first understand the concept of generations and then we will see the finalize dispose pattern. I am sure this article will change your thought process regarding destructor, dispose and finalize.
  • Defining Content Type in MOSS 2007Aug 24, 2009. In this article, I am going to give a walkthrough of how to define a custom Content type in MOSS or SharePoint.
  • Programmatically creating folder in SharePoint Document libraryAug 24, 2009. In this article, I am going to create folder inside a document library using the SharePoint object model or in other words using .Net code.
  • Parent Child Content Type using SharePoint Object ModelAug 24, 2009. In this article, I am going to show how programmatically Content type could be fetched. How we could manage parent child relationship of the Content types.
  • Printing in ASP.NETAug 27, 2009. One of the most common functionality in any ASP.NET application is to print forms and controls. In this article I am going to show how we can achieve this print functionality in our asp.net application.
  • WPF Animations Part I- Color AnimationSep 07, 2009. WPF is a new framework that has many advanced capabilities. Animations are one of those capabilities, where an object can be animated via rotating, stretching, scaling, moving it across the screen, changing its color, etc. In this article I am going to show color anmiation on a coltrol.
  • Streaming in WCFSep 07, 2009. In this article, I am going to explain various aspects of streaming of messages in WCF.
  • One Way Operation in WCFSep 08, 2009. This article will discuss about One Way Operations in WCF. I am also going to explain One Way Operation with Session full service pros and cons.
  • Removing/Hiding the Web Part Title in SharePoint through CodeSep 17, 2009. This article is on very simple topic. In this article; I am going to show how to hide Web Part's title in SharePoint through code.
  • Multiple user insertion in Sharepoint listSep 23, 2009. In this article, I am going to explain, how to insert multi user or more than one user in Sharepoint list.
  • Adding CheckBoxes in SharePoint GridView (SPGridView)Oct 29, 2009. In this article, I am going to show how to add a checkboxes in SPGRidVIew. I will iterate through the SPGridView to find out the selected rows.
  • Upload File With Update PanelOct 29, 2009. In this I am going to show how we will upload file with update panel in asp.net.
  • DataRelation in ADO.NETOct 30, 2009. In this article I will explain you about DataRelation in ADO.NET.

About what-is-Fishhook-Relation

NA

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
European SharePoint Conference