![]() Related Questions Latest Answer : Dataset can represent an entire database in memory with full of tables,views and relations.Dataset is bulk loaded rather than loaded on demand.Dataset is designed to work without a continuing connection to the original datasource.There is no concept of ... Latest Answer : The Dataset is an core of disconnected architecture.Disconnected architecture means once you have retriveed the data from the database the connect of the datasource is dropped.The disconnected data become very commonlyThe dataset for the disconnected ... Latest Answer : the code isSqlConnection con1=new SqlConnection (ConfigurationSettings.AppSettings["cons"]);SqlCommand cmd=new SqlCommand("student",con1); SqlDataAdapter db=new SqlDataAdapter(); db.SelectCommand=cmd;cmd.CommandType=CommandType.StoredProcedure;DataSet ... Latest Answer : Data set represents realtional database which can contains tables, constraints while recordset represents only one table.Dataset is disconnected state of database. While recordset is connected state of databaseIn dataset there is no concept of cursortypes ... Latest Answer : User control create for GUI purpose and it is form of .ascx and in aspx page you need to specify the src (Path) of the control.Custom control is form of compiled form (assembly). For using this control you need to add referenct in your project. In ... Latest Answer : There is no direct sorting provided by dataset or datatable.
Sorting and filtering facility is provided by dataview.
You can sort the data using DataView.
DataSet ds = new DataSet(); // assume that dataset has datatable name mytable.
DataTable ... Latest Answer : Hi, We can do it using GetChanges() which gets a copy of the dataset that contains all changes made to it since it was loaded.For ex: private void UpdateDataSet(DataSet myDataSet){ if(!myDataSet.HasChanges(DataRowState.Modified)) ... Latest Answer : Data Adapter act as amiddleman between the dataset and data Base. The fill method automatically open the connection and when the dataset is filled properly then the coonection is closed. This method fetch the data from the database ... If I'm developing an application that must accomodate multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users? Latest Answer : Dataadapter1.Fill(ds) where ds is the dataset object name and fill() method is used to fill the dataset from the dataadapter ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||