If we are not returning any records from the database, which method is to be used?
Latest Answer: ExecuteNonQuery - this method returns no data at all. It is used mainly with Inserts and Updates of tables. ...
Can we do database operations without using any of the ADO.net objects?This was an interview question
Latest Answer: According to me, in .NET Technology database access is done through ADO.NET.ADO.NET contain the classes to access database. So, in .NET there is no other way to access database other than ADO.NET classes which also contains objects for DAO, RDO. ...
One interview I faced a Q:how can i retrieve two tables of data at a time by using data reader?Data reader read and forward only, how is
it possible to get 2 tables of data at a time
Latest Answer: This is possible to retrieve data from two tables using datareader.SqlDataReader rd=Command.ExecuteReader("SELECT * FROM Employee | Select * From Order");This will fetch the record from two tables Employee and Order ...
I am getting InvalidCastException as (Specified cast is not valid) while updating 2nd column in a datagrid? Id,firstname,lastname are the three columns of my datagrid respectively. I wanted to edit the
Latest Answer: int varid = (int)DataGrid1.DataKeys[e.Item.ItemIndex]; TextBox lnm = (TextBox)e.Item.Cells[2].Controls[0]; string str = lnm.Text.ToString(); ...
Latest Answer: Table with columns and rows ...
What is Pull Model and Push Model in ADO.Net? What are the situations when we use one over the other?
Which one of the following objects is a high-level abstraction of the Connection and Command objects in ADO.NET?DataReaderDataSetDataTableDataViewDataAdapter
DataAdapter
Latest Answer: To get the data from a database and put it on a data control
In ADO they used recordset
In ADO.Net they used dataset
Record set is a connection oriented architecture whereas dataset
supports a connection-less architecture.
In ADO using recordset ...
How many App Domains an ASP.NET Worker Process creates if suppose 10 different users are logged into the web site
What is the difference between .Net framework and .Net Compact Framework?Is there any diffence between these two
View page [1] 2 3 4 Next >>

Go Top