There are two level of asp.net debugging
1. Page level debugging
For this we have to edit the page level debugging enable the trace to true in the line in the html format of the page.
%@ Page Language="vb" trace="true" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="WebApplication2.WebForm1">
2. You can enable the debugging in the application level for this
Edit the following trace value in web.config file
Enable trace enabled=true.
The differences includes
In ADO, the in-memory representation of data is the Recordset.
In ADO.net, it is the dataset
A recordset looks like a single table in ADO
In contrast, a dataset is a collection of one or more tables in ADO.net
ADO is designed primarily for connected access
ADO.net the disconnected access to the database is used
In ADO you communicate with the database by making calls to an OLE DB provider.
In ADO.NET you communicate with the database through a data adapter (an OleDbDataAdapter, SqlDataAdapter, OdbcDataAdapter, or OracleDataAdapter object), which makes calls to an OLE DB provider or the APIs provided by the underlying data source.
In ADO you cant update the database from the recordset. ADO.NET the data adapter allows you to control how the changes to the dataset are transmitted to the database
.Net data type is a type of data. Which is use in query.
Data type as like interger, char, varchar, numeric, money, date etc.
The difference is that java is fully platform independent but .net is not fully independent ant other difference id that some tools of java is more complex compare with .net like setup and deployment.
but java and .net also some similarities that both platform are deploy window and web application and both are use server like IIs and tomcat5.5 .
SELECT count( * ) as totalrecords FROM employee
This will display total records under the name totalrecords in the table employee
use COUNT_BIG
Returns the number of items in a group.
@@ROWCOUNT
Returns the number of rows affected by the last statement.
Use this statement after an SQL select * statement, to retrieve the total number of rows in the table
Webmaster 23rd of May 2012
Tell us what you feel about dot Net Database Interview Questions and Answers
All comments will be published after review. No login or registration is required to post a comment on dot Net Database Interview Questions and Answers We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
So start sharing your thoughts regarding dot Net Database Interview Questions and Answers
Thank you.