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 > Knowledge Base > C-Sharp
Search:
What's New - What's Hot
Listings for About C-Sharp About C-Sharp (8)
Listings for Automation Automation (14)
Listings for C# and XML C# and XML (30)
More Categories for Database Database (72)
Listings for Errors Errors (1)
More Categories for Errors and Bugs Errors and Bugs (25)
Listings for Exception Handling Exception Handling (3)
More Categories for File Management File Management (2)
Listings for Miscellaneous Miscellaneous (29)
More Categories for Office Documents Office Documents (6)
More Categories for Server Controls Server Controls (14)
Listings for Windows Form Windows Form (30)


HOW TO: Update a Database from a DataSet Object by Using Visual C# .NET     
Total Hits: 4397  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

DataSet objects, a key part of data access in the Microsoft .NET Framework, are in-memory objects that can hold tables, views, and relationships. This article demonstrates how to take a DataSet that contains data (which is loaded from a database), how to modify that data, and then how to send it back to the database to update the original source....

HOW TO: Query and Display Excel Data by Using ASP.NET, ADO.NET, and Visual C# .NET     
Total Hits: 10519  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article demonstrates how to display data from an Excel worksheet through an ASP.NET (.aspx) page by using Visual C# .NET....

BUG: "Documents in This Folder Are Not Available" Error Message When You Open a Web Project (Q316097)     
Total Hits: 1237  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you open a Web project that is hosted on a remote server, if you originally created that Web project with Visual Studio .NET Beta 2 Professional Developer Conference (PDC) Release, you may receive the following error message:
Documents in this folder are not available. The folder may have been moved or deleted, or network problems may be preventing a connection to the server....

BUG: Automatically-Generated Page Event Handler Inserts Incorrect Event Name (Q318279)     
Total Hits: 586  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you automatically generate a page event handler, the automatically-generated page event handler is named WebForm1_Load , but the Page_Load event handler is connected to the function....

BUG: Debugger Steps Incorrectly Through Visual C# .NET Code (Q316834)     
Total Hits: 567  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you use the debugger to step through Visual C# .NET source code, the debugger appears to step incorrectly through the code....

HOW TO: Bind an Array of Objects to a Windows Form by Using Visual C# .NET (Q313635)     
Total Hits: 1624  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article describes how to bind an array of objects to a Windows form. The example consists of a Windows form with three text boxes to display the object properties, and four command buttons to browse the array....

HOW TO: Automate Microsoft Access From Visual C# .NET (Q317114)      
Total Hits: 1319  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article provides step-by-step samples that show you how to automate Microsoft Access from Visual C# .NET....

HOW TO: Query and Display Excel Data by Using ASP.NET, ADO.NET, and Visual C# .NET (Q306572)     
Total Hits: 6403  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article demonstrates how to display data from an Excel worksheet through an ASP.NET (.aspx) page by using Visual C# .NET....

HOW TO: Retrieve an Identity Value from a Newly Inserted Record from SQL Server by Using Visual C# .NET (Q320897)     
Total Hits: 1228  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article explains how to retrieve the identity value when you add a record into a SQL Server table with an identity field....

HOW TO: Enable and Disable DataTable Editing by Using the DataGrid in Visual C# .NET (Q322932)      
Total Hits: 3233  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article demonstrates how to control editing tables in the DataGrid control on a table-by-table basis. The Navigate event of the DataGrid only fires when you move from DataTable object to DataTable object, not record to record. When you move between DataTable objects, the DataMember property of the DataGrid is set to the relative relationship between DataTable objects. The sample in this article enable and then disables editing for the Details table.

...

BUG: Unexpected Exception on Serialization of DbConcurrencyException (Q306726)     
Total Hits: 698  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you serialize a DBConcurrencyException object, the value of the
Row property in the serialized version of the object is set to a null value and an exception occurs:

An unhandled exception of type 'System.NullReferenceException' occurred in app_name.exe
Additional information: Object reference not set to an instance of an object....

BUG: "Old Format or Invalid Type Library" Error When Automating Excel 2002 (Q320369)     
Total Hits: 2404  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

If you automate Microsoft Excel 2002 with Microsoft Visual Basic .NET, Microsoft Visual C# .NET, or Microsoft Visual C++, you may receive the following error when calling certain methods:

Error: 0x80028018 (-2147647512)

Description: Old Format or Invalid Type Library...

PRB: Compiler Error Occurs When You Duplicate Namespace Names (Q316734)     
Total Hits: 588  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you compile your project, you may receive a compiler error that states that a method or a property does not exist in a specific namespace. You may notice that the namespace that the error refers to is a namespace that you created, not the common language runtime namespace that you intended to use....

FIX: Unhandled Exception Error Querying with the Data Mining Provider from ADO+ and C# (Q297728 )     
Total Hits: 780  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

When you execute a query with the Data Mining provider using ActiveX Data Objects (ADO+) from a Microsoft C# application, the application fails with an error message that resembles the following:

An unhandled exception of type 'System.Security.SecurityException' occurred in
C:\WINNT\Microsoft.NET\Framework\v1.0.2204\System.Data.DLL...

HOW TO: Compute and Compare Hash Values Using C# .NET (Q307020)     
Total Hits: 950  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

The System.Security.Cryptography classes in the Microsoft .NET Framework make it easy to compute a hash value for your source data. This article shows how to obtain a hash value and how to compare two hash values to check whether they are identical....

Q302902 - BETA-HOWTO: Binding for Office Automation Servers with Visual C# .NET     
Total Hits: 1189  |  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....

Q304655 - Programmatically Compile Code Using C# Compiler     
Total Hits: 927  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article discusses a Beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.No formal product support is available from Microsoft for this Beta product. For information about obtaining support for a Beta release, please see the documentation included with the Beta product files, or check the Web location from which you downloaded the release.
The information in this article contains Microsoft .NET Development Platf.....

HOW TO: Use a File Name to Start an Application Using C# (Q306222)     
Total Hits: 1089  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article demonstrates how to start the application that is associated with a given document extension or file type without needing to know the name or location of the associated application. For example, you can start Arcade.bmp with the application that is associated with the .bmp file extension, which is MSPaint.exe in most cases....

BETA-HOWTO: Determine OS Service Pack Level in C# .NET (Q304721)     
Total Hits: 624  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

The OSVersion property that is provided for obtaining operating system information does not contain a member that provides service pack information. If you want to determine what service pack is installed, you must call the GetVersionEx API function directly. Normally it is better to avoid this practice--the .NET Framework provides access to the underlying API sets in a much more consistent (and easier to use) manner than calling the individual API functions. When it is necessary to call an API ...

HOW TO: Connect to a Database and Run a Command Using ADO .NET and C# .NET (Q306636)     
Total Hits: 1525  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how to use ActiveX Data Objects (ADO) .NET to connect to a database and run a command....



Disclaimer - Privacy
© 2002-2017 DevASP.net