dot Net Database Interview Questions and Answers

.Net Database Questions and Answers:

1 :: Explain How do we separate business logic while creating an ASP.NET application?

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.
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

2 :: Explain What are good ADO.NET object(s) to replace the ADO Recordset object?

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
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

3 :: Explain What is the .NET datatype that allows the retrieval of data by a unique key?

.Net data type is a type of data. Which is use in query.
Data type as like interger, char, varchar, numeric, money, date etc.
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

4 :: Explain similarities and differences between the Java and .NET?

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 .
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

5 :: Name 3 ways you can get an accurate count of the number of records in a table Using query analyzer?

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
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

Rate This Category:
0/5 Rating (0 vote)
Place Your Question



Top: dot Net Database Interview Questions and Answers
dot Net Database Interview Questions and Answers

Top Frequently Asked .Net Database Question
Frequently Asked .Net Database Job Interview Question


Top Frequently opened Microsoft .Net Technologies Job Interview categories
Most popular Microsoft .Net Technologies Job Interview categories

Comments About dot Net Database Interview Questions and Answers

Share your valuable opinions, ideas and suggestions about dot Net Database Interview Questions and Answers
While placing your comment your email address is required but won't be published any where else; Personal information will be kept confidential; we do not sell or release our respective visitors private information.
  1. Webmaster 23rd of May 2012

    Webmaster Said

    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.

Leave a Comment

Leave a Comment
  1.  Enter This Verification Code  Regenerate Verification Code  



Your reply will be added to the comment above (Below any other replies to this comment) -

Top Comments About: dot Net Database Interview Questions and Answers
Comments on dot Net Database Interview Questions and Answers

 
Top of Link batk to dot Net Database Interview Questions and Answers
Link batk to dot Net Database Interview Questions and Answers