.Net Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

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 September 17th, 2003, 09:44 AM
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: 10
Can someone explain me DataRow ?

Hi,
yeah it's me again

I have a bif full module where they use Datarow and Dataset, and there is no Comments at all in the owl functions. and in some place it's get really confuse.

My main problem is that I have kinda some difficult to see how do those works in .net ? It's have changed a bit and it's not clear in my mind how it's work. I have a book on VB.net from Kris Jamsa but they do not talk about those things.

So if anyone have some explication or some tutorials it's might help me ! thank you !

here is an exemple of the code I have
Code:
drDataRowVille = FindVille(cboVille.Text, frmItems.DataSetVille1)
            If Not (drDataRowVille Is Nothing) Then
                For Each CboBoxObj In cboRue.Items
                    bTrouve = False
                    For Each drDataRowRue In frmItems.DataSetRue1.Tables("Rue").Rows
                        If CStr(drDataRowRue.Item("rue")).ToUpper = CboBoxObj.ToUpper And _
                        drDataRowRue.Item("noVille") = drDataRowVille.Item("noVille") Then
                            bTrouve = True
                            Exit For
                        End If
                    Next
                    If bTrouve = False Then
                        AjouterRue(CboBoxObj, cboVille.Text)
                    End If
                    AjouterAdresse(CboBoxObj, cboVille.Text, FindReleve(CodeProjet.Text))
                    bTrouve = False
                Next


I understand it, how what the guy really wanted to do but I am some problems where the For Each drDataRowRue
that loop cause me some problems and I am not sure I understand it 100%.
__________________

Last edited by Watever : September 17th, 2003 at 09:48 AM.

Reply With Quote
  #2  
Old September 17th, 2003, 09:56 AM
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: 10
and another thing

is it possible to add a sort of Query in a datarow or dataset.
Cause in the program the datarow read each line, one by one to compare them and he also compare the Ville. I would like to add a restriction where the datarow would only have the Rue where the No Ville is ok.

like select * from Rue where no_ville = X;

Reply With Quote
  #3  
Old September 18th, 2003, 09:02 AM
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: 10
forget about it ! I think I understand all that more now.

I am still bugged cause of poor ugly script but I think I will survive.

is there a way I can delete completely the topic ? or I need to let it there for other people ?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - More.Net Development > Can someone explain me DataRow ?

Developer Shed Advertisers and Affiliates



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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap