Click here to Skip to main content
15,893,722 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Linq to SQL Pin
Satish_S25-Oct-10 18:04
Satish_S25-Oct-10 18:04 
GeneralRe: Linq to SQL Pin
dan!sh 25-Oct-10 19:51
professional dan!sh 25-Oct-10 19:51 
GeneralRe: Linq to SQL Pin
Satish_S25-Oct-10 20:41
Satish_S25-Oct-10 20:41 
QuestionQuestions about ASPNETDB.MDF Pin
ibmkahm24-Oct-10 22:14
ibmkahm24-Oct-10 22:14 
AnswerRe: Questions about ASPNETDB.MDF Pin
kadaoui el mehdi27-Oct-10 3:41
kadaoui el mehdi27-Oct-10 3:41 
QuestionCan't figure out how to covnert this XML to XSL for a gridview Pin
Albert8324-Oct-10 19:01
Albert8324-Oct-10 19:01 
QuestionObjectDisposedException when using Response.Filter Pin
95ulisse24-Oct-10 5:06
95ulisse24-Oct-10 5:06 
QuestionWeb Service Complex Type returning Pin
Dirso23-Oct-10 13:06
Dirso23-Oct-10 13:06 
Hi,
I have this class:

[Serializable]
public class Item
{
  public string ProdName { get; set; }
  public string Qty { get; set; }
}

[Serializable]
public class Order
{
  public DateTime Dt;
  public int CustomerId;
  public List<Item> Items;
}


It's implemented in a separated assembly and is used in a lot of projects (the class is bigger than it appears here)
When I made a webService to return a List<item>, I have two problems.
1) The WebReference I add in the client has a definition of Order that the compiler thinks it's not from the assembly they are defined into. I can't cast. I have to create a List<item> and populate with the data returned from the WebMethod. Worst, It doesn't return a List<>, it returns an [].
2) The Item.Items is not a member of this new (mirror) type the webservice declares?

Is there a way to fix it? At least the #2?
Thanks,
Dirso

AnswerRe: Web Service Complex Type returning [modified] Pin
Karthik. A23-Oct-10 15:37
Karthik. A23-Oct-10 15:37 
GeneralRe: Web Service Complex Type returning Pin
Dirso26-Oct-10 9:16
Dirso26-Oct-10 9:16 
AnswerRe: Web Service Complex Type returning Pin
Keith Barrow23-Oct-10 21:56
professionalKeith Barrow23-Oct-10 21:56 
GeneralRe: Web Service Complex Type returning Pin
Dirso26-Oct-10 9:17
Dirso26-Oct-10 9:17 
Questionweb service Pin
Any_India23-Oct-10 7:48
Any_India23-Oct-10 7:48 
AnswerRe: web service Pin
Keith Barrow23-Oct-10 8:02
professionalKeith Barrow23-Oct-10 8:02 
GeneralRe: web service Pin
Any_India23-Oct-10 8:23
Any_India23-Oct-10 8:23 
GeneralRe: web service Pin
Keith Barrow23-Oct-10 8:34
professionalKeith Barrow23-Oct-10 8:34 
Questionmulti language website Pin
Jassim Rahma23-Oct-10 3:34
Jassim Rahma23-Oct-10 3:34 
AnswerRe: multi language website PinPopular
Pete O'Hanlon23-Oct-10 4:36
mvePete O'Hanlon23-Oct-10 4:36 
AnswerRe: multi language website Pin
Keith Barrow23-Oct-10 6:36
professionalKeith Barrow23-Oct-10 6:36 
QuestionTab Order Pin
Dushan12323-Oct-10 3:29
Dushan12323-Oct-10 3:29 
Questionhow to select design patterns Pin
anoop_m8322-Oct-10 7:29
anoop_m8322-Oct-10 7:29 
AnswerRe: how to select design patterns Pin
T M Gray22-Oct-10 8:34
T M Gray22-Oct-10 8:34 
AnswerRe: how to select design patterns Pin
Brij22-Oct-10 8:41
mentorBrij22-Oct-10 8:41 
AnswerRe: how to select design patterns Pin
Keith Barrow22-Oct-10 10:18
professionalKeith Barrow22-Oct-10 10:18 
AnswerRe: how to select design patterns Pin
Pete O'Hanlon22-Oct-10 11:45
mvePete O'Hanlon22-Oct-10 11:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.