< 1 2   Sort: Date

Which is the best place to store connectionstring in .NET projects
Which is the best place to store connectionstring in .NET projects ? Config files are the best places to store connectionstrings. If it is a web-based application “Web.config” file will be used and if it is a windows application “App.config” files will be used.
2007-10-24, 4719👍, 0💬

How do we create DCOM object in VB6
How do we create DCOM object in VB6 Using the CreateObject method you can create a DCOM object. You have to put the server name in the registry.
2009-03-06, 4707👍, 0💬

How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures
How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures? ADO.NET provides the SqlCommand object which provides the functionality of executing stored procedures. Note :- Sample code is provided in folder “WindowsSqlClientCommand”. There are two stored proce...
2007-10-24, 4694👍, 0💬

What is Dataset object
What is Dataset object? The DataSet provides the basis for disconnected storage and manipulation of relational data. We fill it from a data store,work with it while disconnected from that data store, then reconnect and flush changes back to the data store if required.
2007-10-24, 4688👍, 0💬

What are the various objects in Dataset
What are the various objects in Dataset ? Dataset has a collection of DataTable object within the Tables collection. Each DataTable object contains a collection of DataRow objects and a collection of DataColumn objects. There are also collections for the primary keys, constraints, and default values...
2007-10-24, 4683👍, 0💬

.NET Remoting versus Distributed COM ?
.NET Remoting versus Distributed COM ? In the past interprocess communication between applications was handled through Distributed COM, or DCOM. DCOM works well and the performance is adequate when applications exist on computers of similar type on the same network. However, DCOM has its drawbacks i...
2009-03-19, 4674👍, 0💬

How can we add relation’s between table in a DataSet
How can we add relation’s between table in a DataSet ? Dim objRelation As DataRelation objRelation=New DataRelation("CustomerAddresse s",objDataSet.Tables("Customer ").Columns("Custid"),objDataSet.Tables("Addresses" ).Columns("Custid_fk"))objDataSet.Relations.Add(objRe lation)Relations can be added b...
2007-10-24, 4667👍, 0💬

How can we save all data from dataset
How can we save all data from dataset ? Dataset has “AcceptChanges” method which commits all the changes since last time “Acceptchanges” has been executed.
2007-10-24, 4665👍, 0💬

What is the use of dataadapter
What is the use of dataadapter ? These are objects that connect one or more Command objects to a Dataset object. They provide logic that would get data from the data store and populates the tables in the DataSet, or pushes the changes in the DataSet back into the data store. ? An OleDbDataAdapter ob...
2007-10-24, 4649👍, 0💬

How can we load multiple tables in a DataSet
How can we load multiple tables in a DataSet ? objCommand.CommandText = "Table1" objDataAdapter.Fill(objDataSet ,"Table1") objCommand.CommandText = "Table2" objDataAdapter.Fill(objDataSet ,"Table2") Above is a sample code which shows how to load multiple “DataTable” objects in one “DataSet” object....
2007-10-24, 4587👍, 0💬

What is use of interlocked class?
What is use of interlocked class? Interlocked class provides methods by which you can achieve following functionalities :- * Increment Values. * Decrement values. * Exchange values between variables. * Compare values from any thread. in a synchronization mode. Example :- System.Threading.Interlocked.. .
2009-03-06, 4585👍, 0💬

What is the use of connection object
What is the use of connection object ? They are used to connect a data to a Command object. ? An OleDbConnection object is used with an OLE-DB provider ? A SqlConnection object uses Tabular Data Services (TDS) with MS SQL Server
2007-10-24, 4487👍, 0💬

What are the various methods provided by the dataset object to generate XML
What are the various methods provided by the dataset object to generate XML? Note:- XML is one of the most important leap between classic ADO and ADO.NET. So this question is normally asked more generally how can we convert any data to XML format. Best answer is convert in to dataset and use the bel...
2007-10-24, 4466👍, 0💬

What is the use of command objects
What is the use of command objects ? They are used to connect connection object to Datareader or dataset. Following are the methods provided by command object ? ExecuteNonQuery :- Executes the command defined in the CommandText property against the connection defined in the Connection property for a...
2007-10-24, 4388👍, 0💬

< 1 2   Sort: Date