C# Articles (378) - Page 26

Articles posted by registered members of DotNetFunda.com. You can also post an article and win monthly prizes as well as gain community credit points.

378 records found.
 
Majith
Reading and Writing Text Files 
Last updated on: 23 Jul 2008 01:20:05 AM by Majith | Views: 7196 | Category: C# |
Text files provide a common denominator format where both people and programs can read and understand. The .NET Framework includes convenience classes that make reading and writing text files very easy.
Majith
C# and ActiveX DLLs 
Last updated on: 23 Jul 2008 01:06:22 AM by Majith | Views: 11598 | Category: C# |
You may wonder about the idea of calling this DLL in a C# Application. Well, the C# language provides a way to call this COM server in a program. When we compile a C# program, Intermediate Language is generated and it is called as Managed Code. A Visual Basic 6.0 DLL is Unmanaged, meaning it is not generated by the Common Language Runtime, but we can make this VB DLL interoperate with C#, by converting it into a .NET compatible version. The following example shows how to create a simple server by using Visual Basic 6.0 and implementing it in a C# client program.
SheoNarayan
Looping through all rows of the DataTable 
Last updated on: 08 Oct 2007 06:54:47 PM by SheoNarayan | Views: 96681 | Category: C# |
Votes: 2 | Rating: 5 out of 5
Here is the working example of looping through all rows of the DataTable. You can download the code and simply run it by placing to your IIS root folder. Let me explain you looping through all rows of the DataTable step wise.