C# Zone

    C# ZONE

 
Article Author:
Introduction

Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.

Also called: Implicitly typed local variables

The var keyword – in VB

I have heard many an argument about this new addition to the C# language. One of the main debates being: It’s so VB ...
Article Author:
Introduction

This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would get that off the bat and you are one of them you should understand by the end of the Part 1. Part 2 will deal with creating objects and inheriting from IDisposable.

With wonderful things like disposable objects and garbage collection I feel most of our developer colleagues have forgotten...
Article Author:
Having new technologies does not mean they will completely replace old components. Recently I had to create WCF that will be called by VB6 component. Here I will describe what steps one should follow while doing so, please feel free to post any questions.

WCF can not be directly called by VB6; we need to create a .NET bridge for it. Below is how to create that bridge.

Create a .NET Class Library project

1. What all functionality are intended to be used in COM, ...
Article Author:
In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions.
Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column.

First solution, the easy way
The first solution is to make the column slim enough, so that the record selectors are not drawn: the are on the left side of the column. Set the property RowHeaderWidth to a value less than 20, but this value depends on the style you used...

...
Solution by:
i can this with ado.net but i want to use it linqtosql

foreach (string ky in ld.Keys)
{
cmd.Parameters.AddWithValue(ky, ld);
}


public bool AccessProcess(string sp, ListDictionary ld, CommandType cmdType)
{
SqlConnection con = new ...
Solution by:

how to use dynamic insert - linq to sql?



i want to use below codes. So i have a generic list<MyClass> i think that i should use using System.Reflection; method to get list<MyClass> property to fill string columnNames, object columnValues but how can i use it?


foreach (var item in List<myClass>)
{
...
Overall Rank:
Genius
guru_sami has been a member of Experts Exchange since 02/03/2009. Since then he has earned 9 certifications, including a Genius in ASP.NET.

To date, he has answered 1267 questions, and posted 3979 comments on Experts Exchange.
 
 
Zone Advisors

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
 
2000th Corporate Account

2000 organizations, including eBay, Ericsson, and Lockheed Martin, now work smarter with Corporate Accounts. Save over 36%!

 
 
[x]
Neglected Question
Neglected questions are any questions that either have not yet been addressed by an expert, or a solution has not been awarded, and may be eligible for bonus points (see your profile page for details).
Filter: Date
amenkes posted an expert comment! Is it possible to databind within the UI from a background thread? 07/31/10 05:54 AM
astridz posted an expert comment! WordAutomation 07/31/10 05:45 AM
FernandoSoto posted an expert comment! Is it possible to databind within the UI from a background thre… 07/31/10 05:39 AM
amenkes posted an expert comment! System.Windows.Forms.Timer terribly unaccurate? 07/31/10 05:34 AM
chrisbray asked a question! Is it possible to databind within the UI from a background thread? 07/31/10 04:49 AM
mseit posted a comment! How to resolve the Error " Message service error 500" ,SMS Sending fr… 07/31/10 04:35 AM
DaTribe posted an expert comment! How to resolve the Error " Message service error 500" ,SMS … 07/31/10 03:44 AM
DaTribe posted an expert comment! What is the difference this oop patterns pros and cons? 07/31/10 03:29 AM
mseit posted a comment! How to resolve the Error " Message service error 500" ,SMS Sending fr… 07/31/10 03:23 AM
programmerist asked a question! What is the difference this oop patterns pros and cons? 07/31/10 03:06 AM
 
 
 
Loading Advertisement...
ADVERTISEMENT