Browse by Tags
All Tags »
.Net (
RSS)
Last day my colleague asked me the provide her a solution to call the Web service from classic ASP. (Yes Classic ASP. still people are using this :D ) We can call web service SOAP toolkit also. But invoking the service using the XMLHTTP object was more...
Consider the following class public class Person { public string FirstName { get ; set ; } private string LastName { get ; set ; } protected string Email { get ; set ; } public int Age { get ; set ; } virtual public void showName() { Console .WriteLine...
Sometimes we have to create generic dictionary from the values in datatable. Usually we will loop through all the rows in the datatable and add the relevant keys to dictionary object for ( int _iExRowCnt = 0; _iExRowCnt < dsReturn.Tables[0].Rows.Count;...
Anonymous types are used to define strong types without defining the type. Anonymous types are strongly typed and checked at compile time. It provides a convenient way to encapsulate a set of read-only properties into a single object without having to...
Why do we need LINQ? Most of us would have wrote code to access data from different data sources a database, in memory objects , XML files or from other formats. We have different guidelines, architectures and methods to process and retrieve these data...
Most of us would have encountered these questions What is the difference between constant and readonly fields? When to use constant and when to use readonly fields? What is the advantage/disadvantage of each? Constants In C# you can declare a constant...
With the release of .Net framework 3.0 & 3.5 a lot API in .Net 2.0 has become obsolete. I found two excellent links in MSDN which gives a comphrensive list of all the obsolete API's of .Net 2.0 The Obsoleted Types count is the number of obsoleted...
More Posts