adding a textbox,with a column in the DB

Last post 04-29-2008 2:52 PM by etha66. 17 replies.

Sort Posts:

  • Re: adding a textbox,with a column in the DB

    04-27-2008, 2:01 PM
    • Loading...
    • etha66
    • Joined on 02-25-2008, 8:05 AM
    • Posts 34

    here's the message i've now that i've corrected all.

     

    Erreur de compilation

    Description : Une erreur s'est produite lors de la compilation d'une ressource requise pour répondre à cette demande. Veuillez consulter ci-dessous les détails relatifs à l'erreur en question, puis modifier votre code source de manière appropriée.

    Message d'erreur du compilateur: BC30057: Arguments trop nombreux pour 'Public Overridable Overloads Function InsertAd(MemberId As Integer, CategoryId As Integer, Title As String, Description As String, URL As String, Price As Decimal, Location As String, ExpirationDate As System.Nullable(Of Date), DateCreated As Date, DateApproved As System.Nullable(Of Date), NumViews As Integer, NumResponses As Integer, AdLevel As Integer, AdStatus As Integer, AdType As Integer) As System.Nullable(Of Integer)'.

    Erreur source:

    Ligne 98 :             Dim ad As AdsDataComponent.AdsRow = Nothing
    Ligne 99 :             Using db As New AdsDataAdapter()
    Ligne 100 :                adId = CInt(db.InsertAd(memberId, categoryId, title, description, url, price, location, expirationDate, dateCreated, dateApproved, numViews, numResponses, Phone, CInt(adLevel), CInt(adStatus), CInt(adType)))
    Ligne 101 :
    Ligne 102 :                If s.AdminNotification = AdminNotificationSetting.EachAd Then

    Fichier source: C:\AAAAAA\en cours\App_Code\BLL\Ads.vb    Ligne: 100

  • Re: adding a textbox,with a column in the D

    04-28-2008, 12:36 AM
    • Loading...
    • darkknight187
    • Joined on 09-14-2006, 4:35 AM
    • Bothell, Washington
    • Posts 570

    I'm sure there's been many changes but in ads.xsd you originally had phone at the end after adType, and now in Ads.vb it's after numresponce, check this.

    Also I'm assuming that you remembered to add the code for phone as in "ByVal Phone As String" still in consistant order.

    And did you remember to make all the changes to ads.xsd, For example there is two sets of insert ad, both need the right order.

    If you don't see the error, post your ads.xsd code again.

     

    Be sure to visit www.detelli.com to find and list your Houses for rent

    And please remember to click “Mark as Answer” on the post that helps you.
    This can be beneficial to other community members reading the thread.
  • Re: adding a textbox,with a column in the D

    04-29-2008, 2:52 PM
    • Loading...
    • etha66
    • Joined on 02-25-2008, 8:05 AM
    • Posts 34

    Hi Daniel,

    Sorry,foor beeing late, but i've had pbms with VWD and framework 3.5,i've reinstalled all!! lol

    now i decided to do again all from beginning, and send you results ! i hope it will run this time!

Page 2 of 2 (18 items) < Previous 1 2