If we are not returning any records from the database, which method is to be used?
Latest Answer: cmd.excutenonquery() ...
Can we do database operations without using any of the ADO.net objects?This was an interview question
Latest Answer: IF we are accessing it outside .NET we can do with other utilities like: JDBC, ODBC etc. ...
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: Actully datareader can return more then one table but at the starting it contain the reference of first Resultset. to move the second or next resultset you have to use thedr.NextResultSet();Method. ...
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: The default view of the gridview is the no of row and column of the table which is bind with the gridview. ...
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: 1. Dataset is Disconnected Architecture While ADO Recordset is Connected
Architecture.
2. Dataset Store Multiple Tables while Data Recordset is only one table at a
time. ...
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