DataSourceControl implementation and SlectParameters

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • WT

    DataSourceControl implementation and SlectParameters

    Hello,
    I am trying to implement a DataSourceContr ol and I need to simulate the same
    functionality as the SqlDataSourceCo ntrol : being able to set declaratively
    the select parameters to use when binding a DetailView to the Selected Row
    in a GridView, but I have difficulties with the sample in MSDN concerning
    DataSourceContr ol, Visual Studio give me an error on the
    <Parameter><asp :ControlParamet er...../> lines: My control doesn't accept
    child controls ???
    What am I missing to allow this declarative style ?
    Should I simply name my properties SelectParameter s, InsertParameter s,
    DeleteParemeter s, etc. to allow DetailView to send these parameters in the
    method
    protected override IEnumerable ExecuteSelect(D ataSourceSelect Arguments
    selectArgs)

    Thanks for help
    CS


  • Steven Cheng[MSFT]

    #2
    RE: DataSourceContr ol implementation and SlectParameters

    Hi CS,

    Thank you for posting.

    Regarding on this issue, I've found your another duplicated post in the
    following newsgroup:

    Subject: DataSourceContr ol and declarative SelectParameter s
    Date: Fri, 21 Apr 2006 12:30:14 +0200
    Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet.webc ontrols

    I've posted my response there. And if you feel it convenient that we
    continue to discuss in that thread, please feel free to post there.

    Regards,

    Steven Cheng
    Microsoft Online Community Support


    =============== =============== =============== =====

    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.

    =============== =============== =============== =====


    This posting is provided "AS IS" with no warranties, and confers no rights.



    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    Comment

    • WT

      #3
      Re: DataSourceContr ol implementation and SlectParameters

      Thyanks Steven, sorry for double posting.
      CS
      "Steven Cheng[MSFT]" <stcheng@online .microsoft.com> a écrit dans le message
      de news: uOWTHW1ZGHA.460 0@TK2MSFTNGXA01 .phx.gbl...[color=blue]
      > Hi CS,
      >
      > Thank you for posting.
      >
      > Regarding on this issue, I've found your another duplicated post in the
      > following newsgroup:
      >
      > Subject: DataSourceContr ol and declarative SelectParameter s
      > Date: Fri, 21 Apr 2006 12:30:14 +0200
      > Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet.webc ontrols
      >
      > I've posted my response there. And if you feel it convenient that we
      > continue to discuss in that thread, please feel free to post there.
      >
      > Regards,
      >
      > Steven Cheng
      > Microsoft Online Community Support
      >
      >
      > =============== =============== =============== =====
      >
      > When responding to posts, please "Reply to Group" via your newsreader so
      > that others may learn and benefit from your issue.
      >
      > =============== =============== =============== =====
      >
      >
      > This posting is provided "AS IS" with no warranties, and confers no
      > rights.
      >
      >
      >
      > Get Secure! www.microsoft.com/security
      > (This posting is provided "AS IS", with no warranties, and confers no
      > rights.)
      >[/color]


      Comment

      Working...