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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  VB.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
 WCF interview questions  WCF Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question

hey friends, 
Firstly I pick the records from the database into the 
DataGridView, Then I want that If I made any changes to the 
records in the GridView & Click on Update Button, Changes 
are Reflected into the main Database .Plz do reply back 

 Question Submitted By :: Ahmad Saleh
I also faced this Question!!     Rank Answer Posted By  
 
  Re: hey friends, Firstly I pick the records from the database into the DataGridView, Then I want that If I made any changes to the records in the GridView & Click on Update Button, Changes are Reflected into the main Database .Plz do reply back
Answer
# 1
If you are working with Sql Server database then provider 
specific class named sqlcommandbuilder is available with 
your sql server provider.This command will call the update 
method of datadapter object ,which will update the contents 
of your dataset and the same will be displayed in your 
datagrid ,which inturn will reflect the changes in database.
 
Is This Answer Correct ?    1 Yes 3 No
Guest
 
  Re: hey friends, Firstly I pick the records from the database into the DataGridView, Then I want that If I made any changes to the records in the GridView & Click on Update Button, Changes are Reflected into the main Database .Plz do reply back
Answer
# 2
If you know sql, use UPDATE query..:-)

if dont

then 

UPDATE [TableName] SET Field1 = @param1, Field2 = @param2, 
Field3 = @param3 WHERE [ID] = @paramID
 
Is This Answer Correct ?    2 Yes 2 No
Muzi
 
 
 
  Re: hey friends, Firstly I pick the records from the database into the DataGridView, Then I want that If I made any changes to the records in the GridView & Click on Update Button, Changes are Reflected into the main Database .Plz do reply back
Answer
# 3
it is very simple..write insert delete update querey in
datagrid events
 
Is This Answer Correct ?    0 Yes 1 No
Saravanan
 

 
 
 
Other VB.NET Interview Questions
 
  Question Asked @ Answers
 
what are the advantage in vb.net and different between vb and vb.net TCS6
what is the root namespace for all types?  6
write a VB.net program to swap two numbers  3
what are Fixed memory leaks and threads locking problems.  1
what do you mean by .Net Framework Guru-Tech12
What is an abstract class?  3
Why Datareader is useful?  5
how to get sum of two numbers in vb.net?  3
Advantage of vb.net over vb ? Digital-GlobalSoft6
hello! I am developing software in vb6 and vb.net separately which i need to generate barcodes e.g i have a string "182346-u",so the problem is that how to generate barcode from this type of string can any body help me please thanks regard !  2
how to create views in sql with syntax and example  5
What is DLL hell?  2
Do event have return type?  8
I have an opening for "APRIMO" Developer in Mumbai Location  1
i had attended to infosys interview on 17th april 2010...on .net..3+ experience .. to my knowledge i did well in technical and they asked me to wait for next process ..so i waited for 15 min ..later one person came and said give 7-10 days time for intimation of next process do they keep technical and hr on different day ...or i loose the interview ..am confused yaar what accuatly would be happend  2
hi,everyone. i got a problem in handling linklabels. i've more than one linklabels in a form. i used following event handler to handle the event 'LinkClicked' of Linklabel. private sub LinkLabel1_LinkClicked() Handles LinkLabel1.LinkClicked,LinkLabel2.LinkClicked ............... .......... end sub My question is how to identify the 'Linklabel1' and 'Linklabel2'. i dont want to handle the events of linklabels individually.  1
what is vb.net?  10
i had attended to infosys interview on 17th april 2010...on .net..3+ experience .. to my knowledge i did well in technical and they asked me to wait for next process ..so i waited for 15 min ..later one person came and said give 7-10 days time for intimation of next process do they keep technical and hr on different day ...or i loose the interview ..am confused yaar please any say na what accuatly would be happend Infosys4
How do you validate Date by using which validation Control? HCL4
linex will support dot net? Phoenix-Technologies4
 
For more VB.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 © 2009  ALLInterview.com.  All Rights Reserved.

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