problem with two DataSources

Last post 10-05-2005 9:12 AM by King.Fisher. 3 replies.

Sort Posts:

  • Crying [:'(] problem with two DataSources

    09-30-2005, 9:38 AM
    • Member
      230 point Member
    • King.Fisher
    • Member since 09-18-2005, 7:21 AM
    • Posts 46

    I am developing http://hidef.asp2.cz/ (early alpha) and got into some troubles with two datasources and two listviews. By some ugly reason, second datalist on my page binds to first datasource, even when he have specified his own dataContext to second datasource. What's wrong? Help, help Crying [:'(]

  • Re: problem with two DataSources

    10-03-2005, 6:12 AM
    • Participant
      1,454 point Participant
    • WilcoB
    • Member since 03-02-2003, 1:02 PM
    • Posts 290
    That's strange. I can't spot the error in your code, but I am pretty sure something on your side is going wrong. I have put together a trivial demo with 2 listviews and 2 datasources, to demonstrate that this works: http://www.wilcob.com:81/atlaswebsite/default.aspx

    If you want, you can send me your exact repro and I could have a closer look at it. If you think that would help, send me your repro (including webservice) to wilco[ifyouknowwhatimean]wilcob.com.
    - Wilco Bauwer (MSFT) / http://www.wilcob.com
  • Re: problem with two DataSources

    10-03-2005, 4:47 PM
    • Participant
      1,454 point Participant
    • WilcoB
    • Member since 03-02-2003, 1:02 PM
    • Posts 290
    Thank you for sending me your repro. Your solution was pretty close :). There is 1 little bug in your service declaration of comments.asmx. It was this:

    <%@ WebService Language="C#" Class="entriesWSCls" %>

    But it should be:

    <%@ WebService Language="C#" Class="commentsWSCls" %>

    That's it :).

    - Wilco Bauwer (MSFT) / http://www.wilcob.com
  • Embarrassed [:$] Re: problem with two DataSources

    10-05-2005, 9:12 AM
    • Member
      230 point Member
    • King.Fisher
    • Member since 09-18-2005, 7:21 AM
    • Posts 46
    JesusSurprise [:O]
    Thanks WilcoB, I was blind or what
Page 1 of 1 (4 items)