ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ADO.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
I loaded the dataset with a table of 10 records. One of the
records is deleted from the backend, How do you check
whether all the 10 records were present while updating the
data(Which event and steps) and throw the exception.
 Question Submitted By :: KiranMadiraju
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, How do you check whether all the 10 records were present while updating the data(Which event and steps) and throw the exception.
Answer
# 1
By Using the Transactions we can check the Exact Numbers of 
the rows to be updated and if the updation fails then the 
Transaction will be rollbacked.
 
Is This Answer Correct ?    10 Yes 4 No
Aashish
 
  Re: I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, How do you check whether all the 10 records were present while updating the data(Which event and steps) and throw the exception.
Answer
# 2
use the timestamp datatype
 
Is This Answer Correct ?    2 Yes 2 No
Amit
 
 
 

 
 
 
Other ADO.NET Interview Questions
 
  Question Asked @ Answers
 
When we are running the Application, if any errors occur in the Stored Procedure then how will the server identify the errors? HCL4
How to generate XML from a dataset and vice versa?  2
What providers does ado.net uses internally ? Digital-GlobalSoft2
What we do with the object of ado.net dataset after using it?Can we dispose it or can we set it nothing?Is it must or not? SVI4
Can you edit data in the Repeater control?  8
Where does ADO.NET and XML web services come in the architecture ? TCS1
what is different between SqlCommand object and Command Behaviour Object  3
How do you filter the data in datagrid? Choice-Solutions1
what is trigger? Microsoft7
Difference between OLEDB Provider and SqlClient ?  2
What are the steps in connecting to database ? Microsoft2
How to get oledb connection?  3
what is a dataview?why is it used for? Choice-Solutions3
How To Update A Column In A DataGrid Using C#.NET? 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 second column(lastname) and update it. I did the following code in DataGrid's updatecommand(),but failed to update ! Int varid=(int)DataGrid1.DataKeys[e.Item.ItemIndex]; TextBox lnm=(TextBox)e.Item.Cells[2].Controls[0]; string str=lnm.Text ; SqlCommand cmd=new SqlCommand("update customer set lastname='" + str + "' where id=" + varid + "",con); cmd.ExecuteNonQuery(); DataGrid1.EditItemIndex=- 1; DataGrid1.DataBind(); Mind-Tree2
What is the key feature of ADO.NET compared to ADO ? TCS2
I am fresh graduate, trained in C# .net. How do i answer when interview ask me , Where do you see yourself within 5 years from now?  2
can we have multiple datatables in a datareader ? Ness-Technologies14
Explain what a diffgram is and its usage ?  1
What are the two fundamental objects in ADO.NET? Ksb3
How do u implement locking concept for dataset? ABC2
 
For more ADO.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com