C# Corner

Resources  
  • Calling a COM Component From C# (Late Binding)Jan 08, 2001. This code sample shows how to call a COM component in .NET framework using C#.
  • Display data in a Data GridJan 22, 2001. The sample example show you how to use Data Grid to display data in a grid format.
  • Working with OleDb Data AdaptersJun 20, 2001. This step by step article guides you to create your database applications using OleDb Data Adapters in VS.NET.
  • Providing Style on Mobile PagesAug 03, 2001. This articles explains how to provides style in the mobile pages using Mobile Internet Toolkit.
  • Working with Data Bound ControlsAug 07, 2001. Step by step tutorials teaches you how to use data-bound controls DataGrid, ListBox, and ComboBox controls .
  • How to create a "ComboBox button" in a toolbar in .NETNov 20, 2001. You can actually put a ComboBox in your toolbar by just dragging a ComboBox from the toolbox onto the toolbar but if you want the ComboBox to be one of the toolbar buttons, you are out of luck using the regular old ComboBox. One way around this is to use the DropDownMenu style of a ToolbarButton to create a pseudo-ComboBox.
  • Using ADO RecordSet in ADO.NETDec 10, 2001. Using ADO recordset in managed code using ADO.NET data providers is pretty simple. Visual studio .NET provides you to add reference to the COM libraries. In this article I'll show you how to access data using ADO recordset and fill a ADO.NET data provider from the recordset data.
  • Data Binding in DataGrid Control - Part 1Feb 05, 2002. When it comes to data-bound controls and database programming, DataGrid control is the most versatile , powerful and flexible control available in Visual Studio .NET.
  • Check Your Mobile Device CapabilitiesMay 16, 2002. This sample is a utility to determine the capabilities of a Mobile Device. The MobileCapabilities class available in the Mobile Internet Toolkit provides a list of useful information on the client device.
  • C# Style-SheetMay 31, 2002. This article contains a C# style-sheet for the GNU a2ps print utility. The style-sheet keywords, comments, preprocessor directives, and [] style attributes are pretty-printed in the typical a2ps fonts.
  • Developing XP Style ApplicationsJun 26, 2002. Since Windows 95, Microsoft has always changed the styles of its GUI, but with Windows XP, the changes are very profound.
  • Using Currency Manager and MemoryStream to Display ImagesJul 01, 2002. This article and attached sample code demonstrates you how to use the CurrencyManager and MemoryStream to display images.
  • Programming Template in Web Server ControlsJul 15, 2002. Templates play a major role in managing the layout and format of the data being displayed in ASP.NET data bound controls.
  • 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.
  • User Management Utility for Web Form AuthenticationSep 06, 2002. This article deals with the management of user login and password information for a Forms Authentication in ASP.NET.
  • MS Office Style Color Picker DialogDec 18, 2002. For a project I'm working on I needed something more stylish than the standard color dialog which comes with .NET, so I decided to make a color picker dialog of my own.
  • COM Interoperability Part 1: Using COM Components in .NET FrameworkJan 02, 2003. In this article we review the concepts & walk-through an example that demonstrates COM interoperability in .NET framework.
  • Implementing Custom Paging in ASP.NET DataGrid ControlJun 01, 2003. This article shows you how to implement custom paging in ASP.NET DataGrid control.
  • Sorted List and Web Server ControlJun 09, 2003. This article shows you to take advantage of SortedList in data binding with Web Server controls.
  • DataGrid and Client Side EventsJun 17, 2003. This article shows you how to use DataGrid client side events including mouse over, on click and so on.
  • Formatting ASP.NET DataGrid's DataJun 17, 2003. This article shows you how to change the color of a DataGrid row and format of date.
  • How to Change DataGrid Header Text?Jun 30, 2003. This article shows you how to change the header text of a DataGrid programmatically.
  • Building a Navigation System in ASP.NETJul 16, 2003. This article shows you how to display single record per page and navigate through single record using ASP.NET.
  • Late Binding With ReflectionOct 20, 2003. Component based technology has done great things for software development, allowing reuse and leading to better-written code that separates subjects and entities into distinct components.
  • Edit/Update a Chosen Database RecordDec 09, 2003. This article and available source code shows how to edit and update a database record through a DataGrid control
  • Enhanced XP Button ControlDec 12, 2003. The enhanced XP style button is very easy to use and it supports rectangle, circle or ellipse shape with image and different colors. This control also inherit most of the properties from the Forms.Button.
  • Display Alphabetically Sorted Data in a Data GridDec 24, 2003. This code sample shows you how to display data sorted alphabetically based on the values in the database.
  • Hello World in different StylesJan 09, 2004. I've attempted to write the traditional 'Hello World' in different styles. This explores the different possibilities of addressing a problem - 'Hello World' with different features of C# language and .NET framework.
  • 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.
  • Oracle Data Provider for .NET : Part VIFeb 20, 2004. Oracle Data Provider for .NET (ODP.NET) is an implementation of a data provider for the Oracle database. ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data and features from any .NET application.
  • Understanding SQL Server Yukon Service BrokerFeb 25, 2004. The new version of Microsoft SQL Server™ "Yukon" comes together with a set of technologies capable of enlarging the horizon for database applications. One of the most remarkable technologies is the Service Broker that makes it possible to build database-intensive distributed applications. In this article we explore the core concepts of the Service Broker and show how to use its potentialities to build applications with message interchanging.
  • SOAP Client in Windows XPMay 06, 2004. This article covers the basics of using the SOAP Client software included with Microsoft Windows XP Professional to access Web Services using SOAP.
  • Object Binding in DataGrid with C#Jun 15, 2004. In this article, I will discuss how to bind objects such as an ArrayList to a DataGrid control using C#.
  • Introduction to ASP.NETNov 17, 2004. I have seen many tutorials on ASP.NET but most of them starts with coding and writing your first ASP.NET program. But here I have written this tutorial for explaining why there is a need for ASP.NET when classy ASP is working fine, what are the underlying technology behind ASP.NET, and what programming model ASP.NET provides to programmers.
  • Accessing Global Address List via System.DirectoryServices namespaceMay 21, 2005. This is a how-to article to access the GAL from ASP.NET, using the DropDownList ASP.NET server control as the UI. To accomplish this the article will illustrate by utilizing ADSI technology from a C# assembly returning an ArralList in order to bind to the DropDownList.
  • Accessing Global Address List via System.DirectoryServices NamespaceMay 21, 2005. This is a how-to article to access the GAL from ASP.NET, using the DropDownList ASP.NET server control as the UI. To accomplish this the article will illustrate by utilizing ADSI technology from a C# assembly returning an ArralList in order to bind to the DropDownList.
  • 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.
  • 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.
  • Object DataSource in ASP.NET 2.0Aug 19, 2005. ObjectDataSource control is one of these new data control added to ADO.NET 2.0. This control is used to bind objects to data-bound controls. In this step by step tutorial, I will discuss how to use ObjectDataSource control in your data-driven Web applications.
  • Introduction to ADO.NET 2.0 Data Source ControlsAug 19, 2005. ADO.NET 2.0 provides new data source and data-bound server controls, which allow developers to write full-fledged data-driven applications without writing even a single line of code. This article is an introduction to these new data source controls.
  • Binding an ArrayList with DataGrid ControlOct 24, 2005. I have seen several questions on how to bind an ArrayList with data-bound controls such as a DataGrid. In this step by step tutorial, I will show how to create an ArrayList of objects and bind it to a DataGrid control.
  • Glue IIS with Business Logical Tier using Batching, Asynchrony, and Parallel ComputationOct 26, 2005. A great and unusual way to boost your web application performance and scalability five times or more.
  • How Do I Bind Datagrid with SqlDataReader in C#Oct 29, 2005. This article will show, how do we bind our binding controls like DataGrid, DataList using SqlDataReader.
  • Presenting Child Data along with Parent Row in Data GridNov 10, 2005. This article explains how we can bind the parent and child data to a Data Grid with minimum code effort using the Repeater control.
  • Creating a Simple WebPart Page and Use WebServer Controls as WebPartsJan 10, 2006. Portal web sites such as MY MSN and MSN Spaces, often organize their data into discrete units that support a degree of personalization. Information is organized into standalone parts [WebParts], and users can rearrange those parts to suit their individual working styles. Here we will see how to add web parts to a web part page.
  • Set Web User Control Properties in Design Time Jan 27, 2006. This article will show that how can we initialize properties of web user control when we register it on some web page.
  • 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.
  • DataSource controls in .NET 2.0Mar 04, 2006. In this article, we're going to learn how to connect a database for querying data and binding the result set to ASP.NET controls in a very easy way with no looping or control manipulation required, thus avoiding writing any data source code.
  • Creating MS Word Document using C#, XML and XSLTMar 21, 2006. This simple program demostrate how to create well formatted MS Word documents using C#, XML and XSLT. Using XSLT to create Word documents requires the knowledge of RTF key words.
  • Antialiased Analog ClockApr 04, 2006. This is an antialiased analog clock sample written in C# using GDI+. It has no flicker at run time because of using Double Buffering technique, and it has many properties that you can customize it such as tick and hand colors, gradient background color, custom date and hand styles.
  • 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.
  • Building applications with DLinq DesignerJul 01, 2006. DLinq designer is the visual design surface to create the entity objects and bound the controls to the dlinq objects with relationships. We can easily create the windows form using the designer. The developer need not take more time to design the User Interface. The designer itself suggests you the controls suitable for the selected fields.
  • Accessing Data using Object Data Source in ASP.Net 2.0 and C# Aug 23, 2006. This tutorial demonstrates how to bind data against Objects using Visual Studio 2005.
  • Outlook Style Menu with Collapsable Side MenuAug 25, 2006. This article shows very good outlook style menu with collapsable side menu.
  • Bind Objects to a DataGridView ControlFeb 12, 2007. This article describes a simple approach to displaying object property data within a data grid view control.
  • Extending ASPX Panel Control to produce Rounded CornersMar 05, 2007. This article shows how to create a custom control which encapsulates scripts. Also shows how to add method attributes to interact with VS Designer and ToolBox as well as providing intellisense dropdowns.
  • Programming XAML - A Quick StartApr 10, 2007. XAML is a new descriptive programming language that is used to define user interfaces in WPF, Silverlight and Windows 8 Metro Style Apps. This article is an introduction to XAML.
  • XML Data Binding in WPFApr 11, 2007. This article describes how to bind XML data using a data template in WPF and XAML. For ease of demonstration, the XML is defined as a resource within the XAML document.
  • C# Asynchronous, Multi Threaded Development... Digging In. Part IIMay 13, 2007. In this article we'll dig a bit deeper into what is actually happening when we use the asynchronous calls using C#. Just as in my previous article, we'll simulate a long running I/O bound process as if we were fetching records from a database, making a web service call or reading or writing from a file and see how we can write more performant code by letting the main thread continue on and not wait for the results. 
  • Multi-threaded Asynchronous Programming in C#. Async Database Calls. Part III.May 14, 2007. In my last couple articles we looked at basic ways to have long-running i/o bound process be handled by the ThreadPool using the asynchronous programming model. In this article we’ll take a look at coding async calls against SqlServer which really comes in handy in production environments where our database is on another machine.
  • WPF ComboBox doesn't bind correctly - Binding to Nullable Ints Jun 07, 2007. If you have been working with WPF and have had issues with your ComboBox or any list control binding then you can stop pulling your hair out.
  • Distributed Transaction Coordinator/Control in asp.net (DTC)Jul 31, 2007. A transaction is a series of work perform as a single unit of work consistency and reliability of the system, can be achieved by binding a set of related operations together in a transaction. Here I will be discussing how we can run distributed application in a application.
  • Data Binding using LINQ to SQL in C#Aug 09, 2007. LINQ to SQL allows developers to work with databases using LINQ. This article discusses how to get, add, update, and delete data in a DataGridView control using LINQ to SQL.
  • Data Binding in WPF Windows ApplicationAug 23, 2007. In this tutorial I will discuss on how to bind Data with WPF windows application.
  • Creation of objects using Late-Binding techniqueSep 10, 2007. This article will explain how we can create objects in runtime, using late binding technique. Especially for a situation where you will come to know the class name only in runtime.
  • Data Binding in WPF ListViewOct 05, 2007. This article shows how to extract data from a database and show in a WPF ListView control.
  • Developing an Email Activity Control in WFDec 12, 2007. This article demonstrates activity binding and shows how to use an activity such as email within a workflow.
  • Introduction to Functional Programming in C#Jan 13, 2008. With the release of the 3.5 framework, we have a completely different coding style available (functional programming). We could actually do functional programming in the 2.0 framework, but the resulting code was ugly and hard to understand at a glance and thus hard to maintain. Now, with lambda method syntax and extension methods, we can produce very human-readable code written in a functional style.
  • Binding The TreeView Control to XML DataJan 15, 2008. This article explain how to bind the TreeView control to an XML file.
  • Functional Programming with C#: Asynchronous Method CallsJan 20, 2008. With the functional programming style and extension methods it is extremely easy to execute methods asynchronously. This article cover some simple extension methods that will allow you to easily execute your methods asynchronously with threads from the thread pool.
  • DetailsView Rich Data ControlFeb 01, 2008. DetailsView is a data-bound control that renders a single record at a time from its associated data source.
  • Filter data dispalyed in a DataGridView using BindingSource and DataViewFeb 27, 2008. In this article i will show you how to use the BindingSource or the DataView to filter data in a given data grid view.
  • Consolidate Your Binding CodeMar 22, 2008. I've noticed that in data driven UI projects there is often lots of repeated code wherever there is data binding. In this article we'll look at consolidating all the binding code in a helper class to make projects much easier to maintain by reducing the amount of code we have to dig through.
  • F# Tuples and Binding (and more Binding)Mar 26, 2008. Binding in F# is similar to using variables in C# but there are some big differences. This article discusses one of the most used keywords in F# for binding ("let") and how it is different than setting a C# variable. I also cover the tuple F# data structure.
  • Using the Prosper API to Automate the Loan MarketApr 23, 2008. This article describes how to begin building applications specifically geared to the Prosper.com website. Prosper.com is a popular auction-style site that helps fulfill loans to individuals through a bidding process.
  • Explicitly Binding Data to ListView Web ControlMay 19, 2008. This article talks about binding data without SqlDataSource and Eval / Bind methods.
  • Data Access and Data Binding in Silverlight Controls using WCF ServiceJul 15, 2008. In this article I will discuss how to bind data to Silverlight controls and access data in Silverlight 2 using WCF Service.
  • Data Binding in WPFAug 05, 2008. In this article, I discuss how we can use ADO.NET DataSet to get data from a database and bind to a WPF ListBox control using data binding process in WPF.
  • Data Binding in WPF ControlsAug 11, 2008. This article shows how to add data binding support among controls in WPF.
  • ListBox in WPFAug 26, 2008. This tutorial shows you how to create and use a ListBox control in WPF and XAML. The tutorial also covers styling and formatting, add images, checkboxes, and data binding in a ListBox contrtol.
  • Data Binding in Windows Forms 2.0Dec 02, 2008. This article is intented to illustrate the principles of data binding in .NET Windows Forms 2.0 as well as a description of data set and data-bound controls.
  • ASP.NET ObjectDataSource Control OverviewDec 04, 2008. This post explains how to represent business objects with the ObjectDatasource control. It allows you to bind DataBound controls such as GridView, DetailsView and FormView. It also enables you to separate your business logic and data access logic from presentation layer.
  • Data Binding Techniques Using Visual Studio.NET and JDeveloperDec 08, 2008. Today data binding techniques are very easy to apply using IDE such as Microsoft Visual Studio.NET and Oralce JDeveloper. In this article, I will show how to develop a client/server enterprise application by applying the Model-View-Controller (MVC) design pattern and using development tools such as Microsoft Visual.NET and Oracle JDeveloper.
  • Bind a Silverlight DataGrid to a given XML data sourceDec 10, 2008. In this article, I will illustrate how to bind a Silverlight DataGrid to a given XML data source
  • XAML and C# -Introduction: Part IDec 18, 2008. This article is supposed to be an introduction to Data Binding logic within Silverlight 2 context, five questions are introduced in this context and they will be answered briefly in this introductry article and in more details in the subsequent parts.
  • C# and XAML within a Silverlight 2 context? - Binding process: Part IIIDec 18, 2008. In this article I will continue with the Binding process and I will demonstrate binding technique but from the C# code behind this once.
  • XAML and C# within a Silverlight 2 context - Binding process: Part IIDec 22, 2008. In this article, I will show different techniques to interact with a given XAML UI with a C# code behind object.
  • C# and XAML within a Silverlight 2 context? - Binding Modes: Part VIIIDec 30, 2008. In this article I will expose the different binding modes.
  • Software Architecture StylesJan 13, 2009. An Architecture style is a set of principles which you can use to build a system Typically Architecture styles depends on their focusing areas. Implementing the software architecture styles depends on the capacity of your organization for implementing it and infrastructure constraints. This post explains which architecture style is to use based on demands.
  • Hello SilverlightJan 15, 2009. In this introductory article, we will run through a basic “Hello World” type of sample in Silverlight style.
  • Developing Web Applications using data binding technologiesJan 22, 2009. This article is intended to illustrate how to develop Web application using data binding technologies in Microsoft Visual Studio.NET and Oracle JDeveloper.
  • REST FundamentalsFeb 04, 2009. REST stands for Representational State Transfer, is an architectural style where you can build the software system in which clients (user agents) can make requests to the services [end points]. REST one of the ways to implement the client\server architectural style. REST can be used to build software applications in which clients can make requests of services.
  • SQL Server Compact and LINQFeb 13, 2009. In this article, I will cover how to access data in SQL Server Compact databases (.sdf file) using new development technologies such as LINQ.
  • Two-Way Databinding in WPFFeb 16, 2009. This article kick starts your two way data-binding model in WPF.
  • Control to Display Binary Images in ASP.NETApr 02, 2009. The RbmBinaryImage control will help you display images directly from your database. You could bind the Image field directly to the ImageContent property, also you could specify whether you want the display to be as a thumbnail or not and provide the thumbnail size.
  • Custom paging in ASP.NET 2.0 and SQL Server 2005 using ObjectDataSourceApr 13, 2009. This article is intended to show how to apply the paging mechanisms in Web applications using ASP.NET 2.0 and SQL Server 2005 as well as using the ObjectDataSource components.
  • 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.
  • Run Time Data Binding in SilverlightApr 20, 2009. This article will explain about run time Data Binding in Silverlight.
  • Data-binding in ASP.NET 2.0 using GridView controlApr 22, 2009. In this article, I will cove the principles and techniques of data binding with ASP.NET 2.0 and SQL Server 2005.

About style-binding

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.
techbash 2016