PDA

نسخه کامل مشاهده نسخه کامل : sqldataadapter



nooshin_bit
16-11-2007, 02:21
sqldataadapter چیست؟لطفا کامل توضیح دهید.

khaiyam
17-11-2007, 22:40
sqldataadapter وظیفه مدیریت بازیابی اطلاعات از پایگاه داده ها و ایجاد یا نوشتن داده های جدید و تغییر آنها را بر عهده دارد برای مثال یک دستور SELECT * FROM Table1 را اجرا م کند و نتیجه حاصل را به دیتاست می فرسته

mrhamidifar
29-11-2007, 08:43
DataReader and DataAdapter are both objects of ADO.Net,which enable you to access your database.DataReader is a storage object which dedicated for read only,it has a collection of methods that support SqlDataReader like ExecuteReader which move the command text to the connection instead of using SqlDataAdapter.
Besides that we can use SqlDataAdapter class for read and write data from and to database,i represent SqlDataAdapter like the taxi which reach people from one place to another and come back.SqlDataAdapter do the same but it hold Query statement(select statement)and it will come back to fill data in DataSet or non Query statements (insert,delete and update)and it will come back with the number of the affected rows.



برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید