Hi everybody
If I can Store The database accessed information in DataTable object then what is the purpose of DataSet, Similarly if i can use DataAdopter object with dataSet , then what is Command Object?

hey frend,

for the first question ,i think they are similar in such a way that u can use both of them to store records(data) from the database but the main difference is how (methods)used to modify data which is stored in them.

sec Question, Command object specifies the statements which are then executed on the data source to retrive specified records. the records are put into a dataset or table through the dataadapter.fill(Dataset) method of the data adapter.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.