C# Corner

Resources  
  • 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.
  • A Database Access Class with Overloaded SELECT StatementsJan 24, 2001. A useful database access class with overloaded SELECT and other statements.
  • 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.
  • Control Statemenats - Part 1Jun 01, 2001. This lesson shows how to use c# control statements, and the difference between these controls in C++/ JAVA and c#. Sample includes single selection, if-else, and multi case ..
  • Control Statements - Part 2Jun 04, 2001. This lesson shows how to use while,do, for, for..each statements.
  • Catch Hold of Device CapabilityJun 05, 2001. If you are developing Mobile Application and been through the different standards in Market.
  • 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.
  • 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.
  • 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.
  • Difference Using Directive and StatementJul 26, 2001. This article explains difference between using directive and using statement with sample example.
  • ASP.NET and VB.NET Error HandlingAug 24, 2001. ASP.NET and VB.NET both are providing excellent error handling options when compared with ASP and VB6. In VB.NET we can make use of the structured way of error handling with the Try & Catch statement.
  • Exception Handling in C#Oct 17, 2001. Exception handling is a builtin mechanism in .NET framework to detect and handle run time errors.
  • 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.
  • Debugging Techniques in C#Dec 04, 2001. Debugging GUI applications for me mostly consists of printing out debug statements in the form of a dialog box with some text.
  • Web Enabled C# ApplicationJan 02, 2002. C# is a sharp-edged weapon for Microsoft Visual Studio Programmers. My article beneath presents a brief eye-catching vivid view of programming internet web-browser using C#(C Sharp), and solves today's need with tomorrow's software!
  • Exception Handling in C#Jan 03, 2002. In C# Exception is a class in the system namespace. An object of an exception is that describe the exceptional conditions occur in a code That means, we are catching an exception, creating an object of it, and then throwing it. C# supports exceptions in a very much the same way as Java and C++.
  • Create a SQL Server Database dynamically in C#Mar 05, 2002. In this article, I’ll show you how to create a new SQL Server database and its objects such as table, stored procedures, views and add and view data. I’ll also show you how to change database table schema programmatically. You’ll see how SQL statement ALTER TABLE is useful when you need to change a database table schema programmatically.
  • Key Logger Application in C#Jun 30, 2002. In this article, I'll explain an easy but an important concept of how to catch user pressed keys and write them into a log file.
  • 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.
  • The "Using" Statement in C#Dec 11, 2002. The .Net Framework provides resource management for managed objects through the garbage collector - You do not have to explicitly allocate and release memory for managed objects.
  • ADO.NET, COBOL and Stored ProcedureDec 13, 2002. A stored procedure is basically a series of SQL statements that reside on the database. The procedure could create a new table, retrieve data from one or more tables, update one or more tables or perform many other tasks.
  • Using Stored Procedures in Conjuction with DataAdapterJan 09, 2003. A stored procedure is a named collection of SQL statements that are stored in the database. To the client a stored procedure acts similar to a function.
  • The "ins" and "outs" of Using Stored Procedures in C#Jan 27, 2003. This article reviews the creation of stored procedures with parameters using the Visual Studio IDE.
  • How To: Printing Form Controls in C# and .NETMar 06, 2003. The other day a user asked me how to print out a form. I suggested they use my Form Capture article which catches the bitmap that the form is in by using bit belting commands from the old windows SDK.
  • 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.
  • Error Logging in ASP.NETSep 02, 2003. I have written some code that provide your system with some nice features on error logging in ASP.NET.
  • Real Life SQL and .NET: Part IVJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET : using SQL with C#: Part XJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Getting Started With Exception Handling in C#Jul 14, 2004. This article explores exception handling mechanisms in C#, including an explanation of exceptions and why we need to catch exceptions.
  • CopySchemaOct 05, 2004. CopySchema is a utility for copying all the data from one Oracle schema to another. Although similar to the exp/imp and bulk load utilities of Oracle, it has the advantage of offering a simple GUI interface and of handling changes to the schema.
  • Insert Master-Detail Data using Transact-SQLJun 24, 2005. Microsoft SQL Server 2000 SQLXML allows among other things to manage batch operations in a database, which reduces significantly the need of more than one round-trip to a database. OpenXML is a Transact-SQL statement that allows to represent data in XML format and can be used to insert, update, and delete more than one row (represented by an element) in a table or group of tables.
  • Customized Exception Handling Using Resource FileMar 03, 2006. A good exception handling should care about user as well as developer. i.e. developer can easily locate the exception entry point, may be a function or any where in a vast project, and fix it as soon as possible. So in this writing I tried some exception handlings which will consider both user and developer.
  • System Views and Functions in SQL Server 2005 by Steve on Jul 06, 2006 Jul 06, 2006. I tried to explore some basic TSQL functions and VIEWS in SQL Server 2005. I believe this would be useful when we write DDL-DML Statements.
  • Illustrates the use of the lock in multithreading applicationAug 17, 2006. Any application must have one or more processes. A Process is structural unit with a memory block and using some set of resources. For each executable, the Windows operating system creates some isolated memory block. This article tries to explain the use of lock basics of Multithreading in C# .Net.
  • Enhanced Oracle Explorer in C# and .NET Using Windows FormsApr 27, 2007. This application will allows to do multiple simple activities on oracle database like running select statements and getting selected procedure's definition simultaneously in a thread-based GUI.
  • Generate SQL Statements With Objects, Attributes and ReflectionJun 12, 2007. Create a SQL Command with SQL Statement and Parameters dynamically.
  • Difference between Composition and Aggregation Jul 27, 2007. Apart from programming, a lot of my spare time sat at the computer is spent reading group, blog postings, etc from other developers. One particular posting that caught my eye recently provoked a lot of response and mixed answers to a question posed by a poster. This question was, ‘What is the difference between composition and aggregation and how would I express it in my programs?’
  • Introduction to Building a Plug-In Architecture Using C#Sep 10, 2007. In this article we'll take another look at how we can use the state pattern to build a plug-in architecture that will allow us to change the behavior of our application by placing differnt plug-ins into a folder.
  • Anonymous methods in C#Mar 06, 2008. This article discusses the anonymous methods as a new feature in .NET 2.0, it will show you how to associate a delegate directly to a block of code statements at the time of event registration.
  • Using LINQ to Objects in C#May 26, 2008. This article provides an introduction to employing LINQ to Objects queries to support a simple win forms application; the article addresses the construction of LINQ to Objects statements and then goes on to describe how one might use LINQ to Objects within the context of an actual application.
  • Catch a Snapshot via your webcam using C#: Part VIINov 08, 2008. In this article, I will show how to catch a snapshot view from your personal web cam.
  • Using Statement in C#Feb 09, 2009. This article is about Using statement and how it has been implemented.
  • Introduction to Visual Studio Add-insMar 03, 2009. This article explains about Visual Studio 2008 Add-ins.
  • Introduction to Interfacing Win Forms with VS Add-insMar 04, 2009. This article explains about integration of Windows Forms with Visual Studio Add-ins.
  • Paging and Sorting ListViews with ASP.NET MVC and jQueryMar 23, 2009. This article provides a simple example of using jQuery along with the jQuery tablesorter and tablesorter.pager plug-ins to provide sorting and paging support for a listview within the context of an ASP.NET MVC application. JQuery has partnered with Microsoft and is now integrated within the IDE to include the availability of intellisense support.
  • Microsoft Technology OverviewMay 21, 2009. In today’s fast changing technology, keeping up with technological changes is a challenge. Every time we try to keep up with technology changes, technology changes again. It is never ending chase to catch up with technology and that is what makes software development even more interesting. Focus of this article is to give developers, project managers a quick view of many of new Microsoft technologies out there and help them realize the value of these new technologies. To be frank, technologies covered here are not new and some of them were introduced to IT world, 3 to 4 year ago. But in relative terms, these are still new technologies in Microsoft world as real-world projects and products might take some time to adapt to these changes in technology.
  • Search and selection of data using LINQMay 27, 2009. In this article I will explain how you can use LINQ, when we should search and select some data according to parameters, defined by users.
  • Exception Handling in C#Jul 08, 2009. This article explains you about exceptional handling in C#. How to use try, catch, finally block to handle exception handling
  • Exception Handling in C#Aug 19, 2009. In this article we will see exception handling technique in C#.
  • List Events Handling in SharePoint 2007Sep 07, 2009. The objective of this article is to give a very basic explanation of how to catch an event on a SharePoint list and deploy them programmatically. I will achieve in this article "User will get error message; whenever any item will get deleted from a particular list ".
  • Exception handling in C#Sep 14, 2009. This article explains about the Exception handling in C# with code example.
  • SQL Server 2005 features - Part ISep 18, 2009. This article explains about the features in the sql server 2005 with example sql statements.
  • Creating Data Adapters with the Data Adapter Configuration Wizard Oct 14, 2009. This article will help you in understanding Creating Data Adapters with the Data Adapter Configuration Wizard.
  • Control Statements in C#Nov 20, 2009. In this article I will explain you about different control statements in c#.
  • Exception Statements in C#Dec 24, 2009. In this article I will explain you about Exception Statements in C#.
  • Try-Finally in C# Dec 28, 2009. In this article I will explain you about Try-Finally in C#.
  • Try-Catch-Finally in C#Dec 31, 2009. In this article I will explain you about Try-Catch-Finally in C#.
  • Throw Statement in C# Jan 01, 2010. In this article I will explain you about Throw Statement in C#.
  • Propagation of Exceptions in C# Jan 02, 2010. In this article I will explain you about Propagation of Exceptions in C#.
  • Rollback, Commit, and Savepoints in ADO.NETJan 20, 2010. In this article I will explain about Rollback, Commit, and Savepoints in ADO.NET.
  • Create a Data Adapter in ADO.NET Jan 28, 2010. In this article I will explain how to Create a Data Adapter in ADO.NET.
  • LINQ to XML Part 5: Catching Parsing ExceptionsFeb 22, 2010. This is a very high level article which will explain how to handle exception in parsing XML using LINQ to XML.
  • Programmatically Enumerating, Attaching, and Detaching SQL Server DatabasesApr 14, 2010. This writing is like an encyclopedia for the SQL statements and stored procedures used to enumerate, attach, and detach databases on a SQL Server instance.
  • Goto statement in C#Jul 17, 2010. How to use go to statement in C#.
  • Is it Possible to Use the Select Statement to Access Stored ProceduresSep 07, 2010. In this article you will learn how it possible to use the select statement to access stored procedures.
  • AFTER INSERT TRIGGER Example Using the Inserted and Deleted TablesOct 14, 2010. DML trigger statements use two special tables: the deleted table and the inserted tables. SQL Server automatically creates and manages these tables.
  • 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.
  • Values caught in intervalsOct 26, 2010. In this article we will see how to set your variables in defined interval or range.
  • Using statement in C#Nov 22, 2010. The using statement defines the scope of the object/resource.
  • Named arguments in C# 4.0Dec 02, 2010. This new feature of c# 4.0 allows users to define arguments in the calling statement in any order rather than defined in the parameter list.
  • How to: Easily Query a DatabaseFeb 14, 2011. Often there is a need to obtain data from a database and sometimes it becomes hectic to write pieces of code again and again. Like Connection Open statement, Error Message Coding, Connection string etc. This can be optimized by making a class and calling the methods of the class with the appropriate query string.
  • SQL Server: WAITFOR StatementMar 07, 2011. WAITFOR statement used to delay execution of T-SQL command for a specified period of time. This can be used to block the execution of batch statement, stored procedure and T SQL commands for a specified time.
  • Acceptable uses for the goto statement in C#Apr 05, 2011. In those days, he had a point because the 'goto' statement produced a lot of spaghetti code particularly by those using early versions of the BASIC programming language.
  • C# File Operations: Part 2Apr 27, 2011. In this article we will see additional file operations like delete a file, copy a file & move a file from source to destination.
  • How to Use InsertBatch With BSon Serialization in a Mongo database in C#May 17, 2011. In this article I will describe the use of the insert batch statement in a Mongo database for inserting a large amount of data.
  • Case Statement in SQL ServerJun 02, 2011. In this article I will describe the usef of a case statement in SQL Server.
  • SQLCommand Class ConstructorJun 24, 2011. The SqlCommand Class is used for T-SQL, SQL statements and stored procedures to execute against a SQL Server database. This class cannot be inherited because it is a sealed class.
  • Imperative Control Statements in F#Jul 08, 2011. In this article you will learn about F# Imperative control statements which includes if-then, elif, else and looping statements. The people who want to learn F# can have a quick review.
  • Ins Tag in HTML5Aug 02, 2011. The ins tag defines text that has been inserted into a document.
  • FaultHandlerActivity in WorkflowNov 11, 2011. The FaultHandlerActivity has a FaultType property. This property represents the type of exception we want to catch.
  • Output keyword in Sql Server 2008Nov 12, 2011. In a simple word we can say OUTPUT clause used with INSERT, UPDATE, or DELETE to identify the actual rows affected by these statements and also used for the auditing purpose.
  • Select, Insert, Update, Delete Using Stored Procedure in SQL Server 2008Nov 16, 2011. Here, we will see how to create select, insert, update, delete statements using stored procedure.
  • Audio tag in HTML5Nov 22, 2011. This new element allows you to deliver audio files directly through the browser, without the need for any plug-ins. embedding the audio file into a web page via the src attribute.
  • Conditional Statements in MySQLDec 07, 2011. In this article we will describe how to use Conditional Statements in MySQL.
  • GROUP BY in MySQLDec 08, 2011. In this article you will see how to use the Group By statement in MySQL.
  • Help and Show Commands in MySQL Dec 12, 2011. This article describes general information about the database and provides help for these commands.
  • Difference between delete, truncate and drop statements of MySQL Dec 14, 2011. This article explain the difference between the delete, truncate and drop statements in MySQL.
  • Exception Handling in SQL ServerDec 15, 2011. In this article, we will learn how to handle the exception in SQL server and store the error log in a SQL server table for reference.
  • Insert Statement With PHP ScriptDec 27, 2011. In this article we are going to have a glance at the insert into statement through PHP. The INSERT INTO statement is used to insert new records in a table. Here we are going to explore the concept thoroughly.
  • Help Statement in MYSQL ServerJan 02, 2012. This article explains the help statement which provides a list of help categories.
  • DROP in MySQLJan 04, 2012. This article represents how to work the drop statement in MySQL database.
  • Select Statement With PHP ScriptJan 08, 2012. In this article we are going to understand the database select statement using PHP. The SELECT statement is used to select data from a database.
  • Exception Handling in JAVAJan 31, 2012. In this article you will learn what an exception is and how to handle it in various ways.
  • Performing SQL Server Transaction Using ADO.NETJan 31, 2012. A transaction allows you to execute two or more SQL commands in such a way that if any one of the statements fail, then no other statement will change the database.
  • Operators in PHPFeb 13, 2012. In this article you will see the types of operators available and how to use them in PHP.
  • Conditional Statemets (if...else) in PHPFeb 14, 2012. Using this article one can easily understand conditional statements or decision statements in PHP.
  • Database Connectivity (Insert and Select) With MySQL in PHPFeb 28, 2012. This article explains how to insert and select data from database into a HTML table in PHP.
  • Update Statement in PHPFeb 29, 2012. In this article you will see how to update data in the database through HTML table.

About catch-statement-in-typescript

NA

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.
Download Free eBooks