Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 135,981 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,277 people online right now. Registration is fast and FREE... Join Now!




join 2 table

 
Reply to this topicStart new topic

join 2 table

ban2002si
29 Sep, 2007 - 01:29 AM
Post #1

New D.I.C Head
*

Joined: 24 Sep, 2007
Posts: 2


My Contributions
hi

how r u


i need to know how i send my project so i can explain my problem
my project is about 1,500 KB

pls

User is offlineProfile CardPM
+Quote Post

Louisda16th
RE: Join 2 Table
29 Sep, 2007 - 01:42 AM
Post #2

 
Group Icon

Joined: 3 Aug, 2006
Posts: 1,790



Thanked: 1 times
Dream Kudos: 755
My Contributions
Before you send your project.....
Just post your problem with the relevant code. You don't need to show the entire project.
Oh and before I forget. This is your first post. So
Welcome to </DIC> smile.gif!
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Join 2 Table
29 Sep, 2007 - 06:32 AM
Post #3

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,983



Thanked: 125 times
Dream Kudos: 8525
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
as Louisda16th eluded to, theres no need to upload the entire project, most of us don't really have the time to read through an entire project looking for the offending code. Just post the offending code here (within code blocks) and an explanation of the problem:
  • Your desired functionality
  • Any errors you're receiving
    • The actual error, not "I was getting this error that was kind of like blah blab blah...
  • What the code is actually doing

And someone will be more than happy to help you smile.gif
User is offlineProfile CardPM
+Quote Post

mukesh kumar
RE: Join 2 Table
30 Sep, 2007 - 01:15 AM
Post #4

New D.I.C Head
*

Joined: 26 Sep, 2007
Posts: 1


My Contributions
[quote name='ban2002si' date='29 Sep, 2007 - 02:29 AM' post='261469']
hi

how r u


i need to know how i send my project so i can explain my problem
my project is about 1,500 KB

pls
[/ smile.gif biggrin.gif icon_up.gif tongue.gif mad.gif blink.gif
wub.gif cool.gif wink2.gif rolleyes.gif pirate.gif crazy.gif
User is offlineProfile CardPM
+Quote Post

Louisda16th
RE: Join 2 Table
30 Sep, 2007 - 02:48 AM
Post #5

 
Group Icon

Joined: 3 Aug, 2006
Posts: 1,790



Thanked: 1 times
Dream Kudos: 755
My Contributions
What?!
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Join 2 Table
30 Sep, 2007 - 03:00 AM
Post #6

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,983



Thanked: 125 times
Dream Kudos: 8525
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
QUOTE(Louisda16th @ 30 Sep, 2007 - 03:48 AM) *

What?!


I was wondering the same damn thing man, I looked at that and was like crazy.gif

User is offlineProfile CardPM
+Quote Post

ban2002si
RE: Join 2 Table
1 Oct, 2007 - 11:54 PM
Post #7

New D.I.C Head
*

Joined: 24 Sep, 2007
Posts: 2


My Contributions
ok

first

i have 2 table

Empolyee table
Cars table

each Emp has many Cars
and
one car for one Emp

i disgn a form contain

5 textbox for an Emp info
1 data grid view for car


so

how can i by code let data grid view show me cars for this Emp ( Not All Cars in table )

cuz

i do it like this
i use binding source and BindingNavigator

CODE

Public Class Add
    Dim ConStr As String = "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Documents and Settings\BanIm\My Documents\Visual Studio 2005\Projects\CarPark3\CarPark3\CarPark3.mdf;Integrated Security=True;User Instance=True "
    Dim Conn As New SqlClient.SqlConnection(ConStr)


    Private Sub Add_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        'TODO: This line of code loads data into the 'CarPark3DataSet.Emps' table. You can move, or remove it, as needed.
        Me.taEmps.Fill(Me.CarPark3DataSet.Emps)
        'TODO: This line of code loads data into the 'CarPark3DataSet.Cars' table. You can move, or remove it, as needed.
        Me.taCars.Fill(Me.CarPark3DataSet.Cars)

    End Sub


ok

sorry for lating
&
thnkx for replay


User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 10:40AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month