C# Corner

Resources  
  • Read Microsoft Access Database in C#Jan 01, 2000. How to connect and read data from a Microsoft Access (.mdb) database using ADO.NET and C#.
  • Creating and Using Custom Attributes in C#Feb 27, 2000. Attributes are classes that allow you to add additional information to elements of your class structure.
  • Write data to an access database using SQL Query and ADO.NETDec 06, 2000. See how to use SQL Statements to write data to an access database.
  • 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#.
  • The Convert Class : Conversion Made Easy in .NETJan 08, 2001. The Convert class takes care of most of the data type conversions in .NET programming.
  • Get a database table propertiesJan 22, 2001. Get a table properties such as column names, types etc using DataColumn and DataTable.
  • A Database Access Class with Overloaded SELECT StatementsJan 24, 2001. A useful database access class with overloaded SELECT and other statements.
  • Database Explorer-IVJan 25, 2001. This is version IV of the Database Explorer, which include the support for Access Database with SQL Server.
  • Web ProxyServer in C# and VBFeb 06, 2001. Web Proxy Server is HTTP proxy server written in C#.It is Multithreaded so many clients can access the web through this WebProxy Server.
  • Boxing and UnboxingFeb 21, 2001. Boxing and Unboxing are fairly new terms introduced in C#. Author explains some concept of them.
  • Reflection in .NETFeb 26, 2001. Refelction is the mechanism of discovering class information solely at run time. Wondering where it would be useful?
  • Deploying Programs in C#Mar 08, 2001. Deploying projects in Visual Studio.NET is fairly straightfoward. Most of the process is automated for you through some convenient wizards so it doesn't require much effort.
  • Using Transforms with GDI+ in C#Mar 15, 2001. Transforms are matrices that allow you to rotate and translate your graphics shapes. In this example we are going to rotate a very powerful element in C# called the GraphicsPath.
  • Complex Numbers ClassMar 20, 2001. This small example demonstrates using some of the interesting language elements of the C# language.
  • Mail Merge Program - Part 2Mar 21, 2001. This is a simple mail merge program (Part 2). This program reads from the access database (by default) from a specified table.
  • 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.
  • POP3 AccessMar 29, 2001. This is a follow up to my SMTP example that shows how to access your POP3 server.
  • Writing Secure Code using C#Apr 06, 2001. Code access security is a mechanism that grants/denies access to resources within a method call. For example, code written by a person may be allowed to write to the disk while code from another one may be forbidden from accessing the disk. This control can be enforced even if the code written by both of them is used within a single application
  • Compilation and Runtime Execution of a C-Sharp ProgramApr 10, 2001. C-Sharp (C#) is a strongly typed object-oriented programming language designed to give optimum composition of simplicity, expressiveness and performance.
  • 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.
  • Understanding How Assert Effects SecurityApr 25, 2001. Assert is a security action that is evaluated at run time. Code Access Permission classes and Permission Sets support a method called Assert. Using the Assert method to control access to resources or actions will allow your code to perform actions that it normally has permission to perform and will allow other callers up stream in the call stack to have access that they would not normally have.
  • Viewing Assembly PermissionsMay 02, 2001. In this article I will show you how you can view the Code Groups that an assembly belongs to and what permissions belong to the assembly. I will demonstrate the Caspol utility supplied with the .NET SDK.
  • Working with Relational Data in ADO.NETMay 03, 2001. Working with hierarchal data was not that easy with the previous version of ADO.
  • .NET framework comparison with Java ArchitectureMay 08, 2001. This article outlines Microsoft's proposed standardization of .NET framework in ECMA forum as CLI (Common Language Infrastructure), but the Microsoft documentation refer this as CLR (Common Language Runtime).
  • Regular Expressions ExampleMay 14, 2001. The following example shows the use of Regular Expressions in C#.This program has basic validation scripts for validation easily useable in all programs.
  • Image Viewer in C#Jun 07, 2001. ImageViewer lets you to view images of types bmp, gif, jpeg, ico, wmf, emf. It also allows you to convert images to bmp, gif and jpeg formats. This application illustrates the usage of PictureBox class, Bitmap class etc.
  • C# and its FeaturesJun 09, 2001. C# is a modern, type safe programming language, object oriented language that enables programmers to quickly and easily build solutions for the Microsoft .NET platform.
  • Exception HandlingJun 12, 2001. Exceptions in C# provide a structured, and type-safe way of handling both system level and application level error conditions. The exception mechanism in C# is very similar to that of C++, with a few important differences.
  • .NET Brings The Fun Back to ProgrammingJul 11, 2001. Today, we are all comfortable sitting in front of our high powered computers running graphical user interfaces and compiling code in sophisticated development environments.
  • Mobile with Access DatabaseJul 14, 2001. Till now we had done the Programming using SQL Server and XML as Database.
  • Exception HandlingJul 21, 2001. Exceptions in C# provide a structured, and type-safe way of handling both system level and application level error conditions. The exception mechanism in C# is very similar to that of C++, with a few important differences.
  • Compute Feature of DataTableAug 01, 2001. The following code is for implementing least known feature of DataTable Compute() method.
  • Text Reader and Text Writer in C#Aug 03, 2001. A detailed tutorial and C# types such as Value and Reference types with sample examples.
  • CDataService: A Generic Database Access ClassAug 09, 2001. Using a generic database access component in data-aware applications can simply development and separate data tier from business tier.
  • 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.
  • Super String in C#Aug 20, 2001. Today I realized that I miss those Visual Basic/Visual C++ type operators. You know the ones: Left, Mid, Right.
  • Basic Database operations using ADO.NETAug 21, 2001. I found very interesting database features incorporated into the .NET as ADO.NET.
  • Active Directory Sample IAug 23, 2001. This sample shows how to access Active Directory information in a Windows 2000 domain.
  • Web Services between .NET, Java and MS SOAP Toolkit: Part IAug 24, 2001. WinGhost 2.0 application allows you to show and hide applications running on your machine. I find this program useful at my work as I do lot of programming at any given time I can have a bunch windows open. I use it normally to hide just my windows I don't access that often.
  • File Info on Mobile Aug 30, 2001. Here is an example of Accessing the Information in a File to be given to Mobile User.
  • Accessing Oracle DatabaseSep 21, 2001. This source code shows you how to connect to an oracle database and do operations such as select, insert, update and delete.
  • IComparable: Under the HoodSep 21, 2001. We now calling Array.Sort() on C# Types such as int, char, string will automatically do sorting based on that type.
  • 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.
  • Share Information between C# and VBScript with RegistryOct 06, 2001. VBScript is widely used to write automation and system scripts. It is more powerful within Windows Script Host (WSH).
  • Encapsulation in C#Oct 12, 2001. In Object Oriented programming Encapsulation is the first pace. Encapsulation is the procedure of covering up of data and functions into a single unit (called class).
  • Understanding Structures in C#Oct 23, 2001. A structure in C# is simply a composite data type consisting of a number elements of other types.
  • Enumerators in C#Oct 25, 2001. An enumeration (enum) is a special form of value type, which inherits from System.Enum and supplies alternate names for the values of an underlying primitive type.
  • Pointers in C#Oct 25, 2001. C# also supports pointers in a limited extent. A pointer is nothing but a variable that holds the memory address of another type. But in C# pointer can only be declared to hold the memory address of value types and arrays.
  • Inheritance and PolymorphismOct 29, 2001. By using the concept of inheritance, it is possible to create a new class from an existing one and add new features to it.
  • Exploring delegates in C#Oct 30, 2001. Delegates are a kind of type safe function pointers which are actually declared as class derived from System.MulticastDelegate.
  • Implementing Stacks in C#Nov 06, 2001. With the help of C# we can also implement ADT (Abstract Data Types) with little effort. An example of ADT is a simple stack of integers.
  • Network Programming in C# - Part 2Nov 12, 2001. This is the second part of the series of articles about the network programming with C#.
  • Exceptions and Exception StackNov 16, 2001. The purpose of this tutorial is to explain firstly how you would go about creating your own set of exceptions to trap error conditions that could occur in your code or library, for your own benefit or for the benefit of another developer using your library. The second lesson is on how the C# exception stack works, and how you can use it to catch all types of exceptions.
  • Type Conversions in c#Dec 04, 2001. Type conversion is a process of converting one type into another. Using C# type conversion techniques, not only you can convert data types, you can also convert object types.
  • 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.
  • Working With Data TypesJan 02, 2002. Explains data types in C# and how to work with them.
  • 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#.
  • Interrogating Systems with WMIJan 18, 2002. WMI allows you to retrieve information such as hardware types, software installed and much much more.
  • Interrogating System with WMI - Part 2Jan 24, 2002. After my last article on WMI it was time to get serious. WMI or Windows Management Instrumentation is useful on a local machine to produce a WINMSD type program but using it across a network makes it even more useful.
  • C# Discussion Forum from Harrison LogicJan 29, 2002. Threaded Discussion Forum that utilizes the .NET framework, with C# as the ASP.NET server side language. Uses MS Access Database for data.
  • Data Access through Web Services, Stored Procedures and SQL QueriesFeb 12, 2002. Web Services has been the most revolutionary aspect of the .NET framework developed by Microsoft. This article presents the three different modes through which data can be accessed viz. through Web services, stored procedures and SQL query using the power of ADO.NET and XML.
  • Creational Pattern - BuilderFeb 19, 2002. The Builder pattern allows a client object to construct a complex object by specifying only its type and content. The client is shielded from the details of the objects construction.
  • XML Web Services Type MarshalingFeb 20, 2002. This article illustrates that various data types can be passed to and returned from Web Service methods.
  • xBase Engine for C# and VB.NETFeb 25, 2002. This library is written to handle DBF files from C# or VB.NET applications.
  • SOAP Message with Binary AttachmentsFeb 28, 2002. Recently Microsoft announced new format called DIME: Sending Binary Data with Your SOAP Messages.
  • Sorting Object Using IComparer and IComparable Interfaces Mar 01, 2002. The System.Collections namespace contains interfaces and classes that define various...
  • Authenticate Web ServiceMar 04, 2002. In this example we will build a web service that authenticates userid and password from an a very simple MS Access database. This web service exposes only one method to the client.
  • Authenticate Web Service Client - Windows ApplicationMar 04, 2002. This client application shows you how to access Authenticate Web service from a Windows application.
  • Authenticate Web Service Client - An ASP.NET Web ApplicationMar 04, 2002. This client application shows you how to access Authenticate Web service from an ASP.NET Web application.
  • Calling Managed Code from Unmanaged CodeMar 11, 2002. One significant part of developers (including myself) are doing some kind of automation of Microsoft Office. So I will concentrate on opposing side of problem, how to use managed assembly from MS Office or VB script. In this article, I will discuss how to call managed code from unmanaged code.
  • 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.
  • XbWrapper - Xbase InterpreterMar 15, 2002. XbWrapper-Xbase script inter XbWrapper is a simple scripting language. It is intended to use as an embedded language in other C# programs.
  • .NET Remoting: The Interface ApproachMar 26, 2002. .NET Remoting provides a powerful and high performance way of working with remote objects. Architecturally, .NET Remote objects are a perfect fit for accessing resources across the network without the overhead posed by SOAP based Web services. .NET Remoting is easier to use than Java's RMI, but definitely more difficult than creating a WebService. In this article, we will create a remote object, and access this object using the Interface.
  • .NET Remoting: The Simple ApproachMar 26, 2002. .NET Remoting provides a powerful and high performance way of working with remote objects. Architecturally, .NET Remote objects are a perfect fit for accessing resources across the network without the overhead posed by SOAP based Web services.
  • .NET Remoting: The Interface ApproachMar 26, 2002. In this article, we will create a remote object, and access this object using the Interface. The object returns rows from a database table.
  • Poorman's Installation program in C# and .NETApr 08, 2002. Installation programs can be quite expensive these days. Although programs such as Wise and InstallShield have fantastic features and are fairly comprehensive, sometimes you just want to do the easy installation of copying and pasting files into a directory and perhaps placing a shortcut in the start menu.
  • Multithreading Part 3: Thread SynchronizationApr 11, 2002. The .NET framework provides a number of classes and data types that you can use to control the access to shared resources. Thread synchronization refers to the act of shielding against multithreading issues such as data- races, deadlocks and starvation.
  • Using XML Based Configuration File in Windows Form ApplicationsApr 15, 2002. Often when building an application, a programmer wants to be able to change application settings without having to recompile the application.
  • .NET Security in C#Apr 22, 2002. This article shows how to make file I/O access be denied if the user running the application did not have administrator privileges.
  • Remoting in C#May 13, 2002. This simple article shows you how to write simple server and client to access the server remotely.
  • Assembly Browser: Browsing a .NET AssemblyMay 17, 2002. This program lets you browse an assembly and lists the methods and the parameter name and parameter type for each assembly.
  • Unit Conversion Tool for Pocket PC with Compact FrameworkMay 22, 2002. I have created a Unit conversion tool to calculate conversion from 16 different types.
  • Comparison of C# with Java: A Developer PerspectiveMay 29, 2002. The .NET is a language and operating system (on Windows as of now) independent platform pretty similar to Java.
  • Determining Windows Users for Web Forms ApplicationsMay 30, 2002. In this example we will see how to determine the identity of the logged in user for an ASP.Net Web Forms using Windows Authentication.
  • Spell Check Web ServiceMay 31, 2002. In this example we will create a Web Service which provides spell check functionality.
  • ADO.NET From Windows DNA's PerspectiveJun 12, 2002. Windows DNA is a framework to build multi-tier, high performance, scalable distributed applications over the network. This article takes a Windows DNA perspective and compares how ADO.NET fits in Windows DNA.
  • Writing a Generic Data Access ComponentJul 17, 2002. OK, I've received couple of emails people asking me how can they use a common data provider to access various types of data sources without loosing the power and flexibility of native data provider libraries.
  • Writing a Generic Data Access ComponentJul 17, 2002. I've received couple of emails people asking me how can they use a common data provider to access various types of data sources without loosing the power and flexibility of native data provider libraries.
  • Writing a Generic Data Access Component - Flexible ApproachJul 18, 2002. Here is one more flexible approach to achieve the same. I prefer this approach to generic data access.
  • Web Forms Code ModelJul 23, 2002. ASP.NET introduces a new programming model for Web Forms to separate the code and visual elements in different files.
  • A Generic Data Access Component using Factory PatternJul 24, 2002. This article shows to utilize the System.Activator class and a factory pattern to create the concrete provider classes.
  • A Generic Data Access Component using Factory PatternJul 24, 2002. Another way to solve this problem is to utilize the System.Activator class and a factory pattern to create the concrete provider classes as was pointed-out in Dan Fox's article "Design an Effective Data-Access Architecture" (.netmagazine, vol. 2, no. 7).
  • A Generic Data Access Component using Factory PatternJul 30, 2002. the article A Generic Data Access Component using Factory Pattern provides a very good way of creating ADO.Net data provider independent applications, but there is one problem with it. Different ADO.Net data providers use different approaches in labeling of parameters in SQL statement.
  • Validation Server Controls in Web FormsAug 05, 2002. When working with Web applications, developers need to write two separate codes using Java Script and VB Script to validate user inputs.In this article we are going to see, how we can reduce the programmers effort on coding, reducing the execution process time and simplify the code handling and less number of lines in the coding.
  • Implementing Search in a DataList Web Forms ControlAug 07, 2002. Searching for the data and displaying the result in paging on the site it is important functionality for the web type applications.
  • Building an Assembly in .NETAug 07, 2002. In this article, I'll show you how to build an assembly step by step and create a client application to access it.
  • Understanding Generic Type in C#Aug 15, 2002. Before we start tampering around the code, lets understand why we need a generic type?
  • Recipe to Implement Threads Quick n Easy in C#Aug 28, 2002. In this tutorial type article, author shows how to write threading applications quick and easy in C#.

About Access-element-in-Type-Script

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