-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: mrp
Message 1 in Discussion

i had a problem with setting the realtion ship on dataset i did like this Dim dtable, 
dtable1 As DataTable
            Dim dsFinal As New DataSet
            dtable = dsResults.Tables(0).Copy()
            dsFinal.Tables.Add(dtable)             dtable1 = dsChild.Tables(0).Copy()
            dsFinal.Tables.Add(dtable1)  dsResults.Tables(0)..defaultview
FIL_NAME  CAS_ENTITY 
Sales Reps  3 
Paycodes  23 
Item Groups 1  15 
Item Groups 3  17 
Items   18  
dsChild.Tables(0).defaultview
CAS_ENTITY  KEYID   FIRSTCOLUMN 
3       DAV001    David 
3      106     SCOTT JUDYYYY 
3       1400     SCARRETTE JEREMY 
3      1500    MARKLEY DALE  but when i set a relation between these tables it saying 
it saying Parent Columns and Child Columns don't have type-matching columns.
i did like this       dsFinal.Relations.Add("MyRelation", 
dsFinal.Tables(0).Columns("CAS_ENTITY"), dsFinal.Tables(1).Columns("CAS_ENTITY"))
   please help me

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to