'DbType' property Problem ?

Discussion in 'ASP .Net' started by mohammed rabah, Jan 20, 2011.

  1. I have this problem

    Type 'System.Web.UI.WebControls.Parameter' does not have a public
    property named 'DbType'.

    <asp:parameter DbType="Guid" Name="sponsorID" />

    i have .netframework v3.5 and i install sp1 for v3.5 but not work ,
    and i write it without db

    <asp:parameter Type="Guid" Name="sponsorID" />




    what I can do
    mohammed rabah, Jan 20, 2011
    #1
    1. Advertising

  2. mohammed rabah

    Brian Cryer Guest

    On 20/01/2011 20:00, mohammed rabah wrote:
    > I have this problem
    >
    > Type 'System.Web.UI.WebControls.Parameter' does not have a public
    > property named 'DbType'.
    >
    > <asp:parameter DbType="Guid" Name="sponsorID" />
    >
    > i have .netframework v3.5 and i install sp1 for v3.5 but not work ,
    > and i write it without db
    >
    > <asp:parameter Type="Guid" Name="sponsorID" />
    >
    >
    >
    >
    > what I can do


    So why are you looking for a property (DbType) which does not exist? It
    should be Type not DbType. Where did you get DbType from?

    --
    Brian Cryer
    http://www.cryer.co.uk
    Brian Cryer, Jan 21, 2011
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric Newton
    Replies:
    3
    Views:
    9,378
    Brock Allen
    Apr 4, 2005
  2. Joshua Beall
    Replies:
    1
    Views:
    421
    Bertilo Wennergren
    Dec 10, 2003
  3. Noozer
    Replies:
    10
    Views:
    2,075
    Mitja
    Oct 13, 2004
  4. Nathan Sokalski
    Replies:
    1
    Views:
    1,105
    =?Utf-8?B?SmVk?=
    Apr 29, 2006
  5. Vik

    Parameter with DbType

    Vik, May 13, 2009, in forum: ASP .Net
    Replies:
    2
    Views:
    583
    Alexey Smirnov
    Jul 8, 2009
Loading...

Share This Page