1 |
A DataSet is an in-memory representation of a database-like structure which has collection of DataTables.
"Ek dataset ek database-like structure ka ek in-memory representation hai jisme datatables ka collection hota hai"
|
A DataTable is an in-memory representation of a single database table which has collection of rows and columns
"Ek datatable ek single database table ka ek in-memory representation hai jisme rows and columns ka collection hota hai"
|
2 |
It has a collection of datatables.
"Yah datatables ka collection hota hai"
|
It has a collection of rows and columns.
"Yah rows and columns ka collection hota hai"
|
3 |
Enforcing Data Integrity: In DataSet, data integrity is enforced by using the UniqueConstraint and ForeignKeyConstraint objects.
"DataSet me, data integrity UniqueConstraint and ForeignKeyConstraint objects ke using ke dwara enforced hoti hai"
|
Enforcing Data Integrity: In DataTable, there is no UniqueConstraint and ForeignKeyConstraint objects available.
"DataTable me, koi bhi UniqueConstraint and ForeignKeyConstraint objects available nahi hota hai"
|
4 |
Number of rows retrieved at a time: DataSet can fetch multiple TableRows at a time
"DataSet ek baar me multiple TableRows ko fetch kar sakta hai"
|
Number of rows retrieved at a time: DataTable fetches only one TableRow at a time
"DataTable ek baar me sirf ek hi TableRow ko fetch karta hai"
|
5 |
DataSource can be Serialized or Not:
DataSet is serialized DataSource .That is why web services can always returns DataSet as the result but not the DataTables.
"DataSet serialized DataSource hai. Isliye web services as the result hamesa DataSet return karti hai DataTables nahi karti hai"
|
DataSource can be Serialized or Not:
In DataTable, DataSource cannot be serialized.
"DataTable me, DataSource serialized nahi hota hai"
|