Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > C-Sharp
Search:
What's New - What's Hot
Listings for Applications Applications (66)
Listings for Articles & Samples Articles & Samples (18146)
Listings for C-Sharp Sites C-Sharp Sites (12)
Listings for Errors and Bugs Errors and Bugs (25)
Listings for Introduction Introduction (72)
Listings for Knowledge Base Knowledge Base (234)
Listings for Sample Chapters Sample Chapters (79)
Listings for Support WebCasts Support WebCasts (2)
Listings for Training Training (19)
 


Events and Delegates     
Total Hits: 559  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Events in C# are based on delegates, the Originator defining one or more callback functions. A class that wants to use events defines callback functions as delegates and the listening object then implements then....

Accessing an access database using ADO     
Total Hits: 1186  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This program shows how access an access database using ADO. I have an Access 2000 database in project\bin\debug directory. My database name is mcTest.MDB. You can create your own database and copy in your project's debug directory. I am not attaching database with this code because of size problem....

XML Serialization using C#     
Total Hits: 3026  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Serialization is a process of storing state of an object to some media like disk file or stream. Few weeks back we saw how to serialize objects to disk file in binary format . .NET further provides a way to serialize objects in XML format. Thus objects can be converted into XML documents (serialization) and later on can be constructed back from the XML documents (deserialization). This article demonstrates how to use XML serialization techniques using C#....

Detect OS Version Using C#     
Total Hits: 1855  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

In Win32 SDK, we have an API GetVersionEx that returns the information in OSVERSIONINFO structure. And then we can look at the values of various members of structures to decide what version of operating system we are running on. To accomplish the same task, .NET SDK provides a class named Environment. In this class there is a static method named OSVersion that returns OperatingSystem object. This object can be used to get the value of operating system version.


...

TextBox Validation     
Total Hits: 3947  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Sometimes we can make the Textbox to Accept Only Number is any other value is entered then we may alert the user to enter the Numeric value.In C# what we have to do is write the Validate event for each and every Textbox to be validated for Numbers....

Boxing And Unboxing C#     
Total Hits: 511  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

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. Boxing and unboxing enables a unified view of the type system wherein a value of any type can ultimately be treated as an object....

Interface Componenet Interoperability     
Total Hits: 580  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

The fundamental concept behind both COM and DCOM is the interface. An interface is an agreement between a client and an object about how they will communicate with each other. When we define interfaces in language s other than Visual Basic, we have to use Microsoft's Interface Definition Language (IDL), which we must compile within the Microsoft Interface Definition Language Compiler (MIDL)....

Console Based Windows Form     
Total Hits: 1257  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This C# Windows Form example shows how one can create different form properties including borderless windows, autoscroll windows, sized windows, uncloseable windows and windows that are not included in the task bar....

NotePad Like Editor In C#     
Total Hits: 1524  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Here is an example of how to create a NotePad like editor in C#. This code involves the usage of ToolBar, StatusBar, Menu, File Manipulation and a lot of String Functions. For this project I tried to use as many basic aspects of C# functionality as possible....

XML Data Manipulation in C# Using DataSet Class     
Total Hits: 1798  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article illustrates how you can use ADO.NET's DataSet class to work with XML data. A simple C# code example is used to explain the concept....

C# Frequently Asked Questions for C++ programmers     
Total Hits: 1006  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This FAQ tries to address many of the basic questions that C++ developers have when they first come across C#. I recommend that you read the .NET Framework FAQ before reading this one....

C# DB Connection With Beta 2     
Total Hits: 703  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

If you are using Beta 2, then try this code to connect to your SQL server. Some words about connect string: Persist Security Info can not be omitted.Data Source is your SQL server name, not ODBC DNS name!(if you run SQL locally, put
your cursor over the icon on system toolbar , you will see "\\XXXXX", that XXXXX is your server name)....

Q302902 - BETA-HOWTO: Binding for Office Automation Servers with Visual C# .NET     
Total Hits: 1188  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article explains and compares early and late binding for Visual C# Automation clients and provides code samples that demonstrate both types of binding....

Exploit COM Interop in .NET     
Total Hits: 726  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Explore COM's interoperability features in the .NET Framework and Visual Studio.NET. VBPJ's Brian Noyes shows you how to write a .NET component you can expose as a COM component to unmanaged clients, then build an ActiveX control that expands the component's capabilities.

...

Consume COM Components from .NET     
Total Hits: 971  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Don't dump your existing COM components and ActiveX controls. VCDJ's Brian Noyes shows you how to use them in your .NET client applications.

...

Build a COM Component with VC#.NET     
Total Hits: 1271  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

Explore COM's interoperability features in the .NET Framework and Visual Studio.NET. In part one of this three-part series, VCDJ's Brian Noyes shows you how to write a .NET component that you can expose to unmanaged clients as a COM component.

...

Mixing C and C++ Exceptions     
Total Hits: 458  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

If you want to write more portable code, using structured exception handling in a C++ program is not recommended. However, you may sometimes want to mix C and C++ source code, and need some facility for handling both kinds of exceptions. Because a structured exception handler has no concept of objects or typed exceptions, it cannot handle exceptions thrown by C++ code; however, C++ catch handlers can handle C exceptions. As such, C++ exception handling syntax (try, throw, catch) is not acce.....

C# Introduction     
Total Hits: 918  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

According to Microsoft (MS) C# is, "C# is a simple, modern, object oriented, and type-safe programming language derived from C and C++. C# (pronounced “C sharp”) is firmly planted in the C and C++ family tree of languages, and will immediately be familiar to C and C++ programmers. C# aims to combine the high productivity of Visual Basic and the raw power of C++."...

Regular Expression Sample     
Total Hits: 648  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

The following example shows the use of Regular Expresssions in C#.This program has basic validation scripts for validation easily useable in all programs....

How To Learn C#: A Roadmap to Success in Getting Started with C# Programming     
Total Hits: 3103  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

So you are interested in programming in C# (pronounced "C Sharp"). Getting started with a new programming language can normally take some effort and time. You need instructions, tools, and good examples to help you get started. In this article, I'll do just that, giving you tips and pointing you in the right direction....



Disclaimer - Privacy
© 2002-2016 DevASP.net