A Brief Concept on Collection and Generic Collection classes

Collection classes are used for data storage and manipulate (sort, insert, remove etc) the data.
Most of the collection classes implement the same interfaces, and these interfaces may be inherited to create new collection classes on the basis of more specialized data. These collection classes are defined in System.Collections.Generic.
Main collection classes which are used in c# as
·         ArrayList Class
·         HashTable Class
·         Stack Class and Queue class etc.

Proceed Further..

by Asp.net-C#.Net · 0

You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent.

Step1: before using WCF serive you have to add  Two XML files in C:\Inetpub\wwwroot

1. clientaccesspolicy.xml :


2. crossdomain.xml:

Proceed Further..

by Asp.net-C#.Net · 0

The type 'Systemat.Software.Services.PopsyWS.PopsyWebService',


You need to add a reference in the web site project to the WCF project.


Publish and check the out put



Proceed Further..

by Asp.net-C#.Net · 0

Unable to cast object of type 'System.Data.Linq.DataQuery`1[Customer]' to type 'System.Data.D...

Depending on your requirements and current implementation, you could also return a list of your custom type (Customers) - that will also change:

- your method signature
- references to that method and your code that processes a DataTable instead, at the receiving end
..as such these are part of a larger 'layer' etc
Re: Unable to cast object of type 'System.Data.Linq.DataQuery`1[Customer]' to type 'System.Data.D...

Proceed Further..

by Asp.net-C#.Net · 0

Err: You must install Office SharePoint Server 2007 – Please read Microsoft Knowledge Base article: 962935 with the most recent service pack

You must install Office SharePoint Server 2007 with the most recent service
packs. Office SharePoint Server 2007 without service packs has a known
compatibility with this version of Windows

by Asp.net-C#.Net · 0

Labels

Topics