Problem solved due to carelessness
hi,
currently i am working on a database using vb .net and met with an error
i have 2 tables:
table1: able, boy, cat
table2: able, donkey, eagle
now i wan to extract eagle from table2 using table1.able
so my code is as follows
SELECT table2.eagle
FROM table2
INNER JOIN table1 ON table1.able = table2.able
WHERE table2.donkey = 2
AND table1.able = 2
and my latter code is here
Dim da As SqlDataAdapter = New SqlDataAdapter(sql, sqlConn)
da.Fill(ds, "getCleaningChargeList") ' getCleaningChargeList is a virtual table
However the code always throw me an error at fill statement. Any idea why?
Thanx