.Net Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - More.Net Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 6th, 2003, 12:49 PM
Watever Watever is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Montreal, Canada
Posts: 486 Watever User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 20 sec
Reputation Power: 6
OleDbAdapteur, Why it does't update ?

Hi,

I am in a little big kinda problem ! lol ! like always with that (won't say impolites words) program.

Code:
        Dim OleDBCommand As New OleDb.OleDbCommand()
        
        Dim OleDataR As OleDb.OleDbDataReader

        Dim dsDataSetRue As DataSet = frmItems.DataSetRue1.Copy

[...]

                    Dim temp1 As String = dsDataSetRue.Tables("rue").Rows.Count
                    AjouterRue(cboRue.Items(iCompteur), nomVille, dsDataSetRue)
                    Dim temp2 As String = dsDataSetRue.Tables("rue").Rows.Count
                    Try
                        frmItems.OleDbDataAdapterRue.Update(dsDataSetRue)
                    Catch
                        MsgBox("Erreur pendant l'enregistrement des données de la table 'RUE'.", MsgBoxStyle.Exclamation + _
                                                                                MsgBoxStyle.OKOnly, "Gestion des relevés")
                    End Try

                    Dim temp3 As String = frmItems.DataSetRue1.Tables("rue").Rows.Count
                End If
                Dim temp4 As String = dsDataSetRue.Tables("rue").Rows.Count
                Dim temp5 As String = frmItems.DataSetRue1.Tables("rue").Rows.Count


It's look like the OleDbAdapteurRue doesn't do his job there. Doesn't bug or anything, just don't do the update of the dataset.

temp2 and temp4 have the right number of rows in it ! but temp3 have 1 less, so not good.

so what does I am doing wrong ? or may be where could I do something wrong in my program ? there is just soo much code that's it's hard to see. I checked it so many times and have done debug soo many times with f10 etc...
I think am gonna cry if it's continu
__________________

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - More.Net Development > OleDbAdapteur, Why it does't update ?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT