Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
class doesn't contain GetItems()....?how to solve this when i m working with datatable??
Posted
Comments
OriginalGriff 13-Oct-12 3:28am    
Which class?
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.

i guess you want to access table to your application,

make connection, execute query and read it by using datareader,

then you can get data item using for by written code like

lobjdr.getstring(0) // for 1st index if string
lobjdr.getInt32(1) // for 2nd index if int
 
Share this answer
 
provide full scenario.
also give some sample code of your program.
how we know which kind of problem occurs in your program?
 
Share this answer
 
Comments
Nitesh Kejriwal 13-Oct-12 6:17am    
This should be a comment instead of a solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900