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   SiteMap shows list of All Categories in this site.
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
 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 is the Difference between Web User Control and Web Custom Control?  5
in my windows application i have to show excelwork sheetwhich is stored in the local system can any one tell me the code?  1
hello dear friends my problem is that i want to save images that is pictures in SQL server using vb.net can any body help me to do so please  1
Why Datareader is useful?  5
what is the base class of .net?  6
What is the difference between Dataset and Recordset?  7
In Datagrid after adding row, how you will assign the value for each cell to currently added new row?  1
1234 123 12 1 how to design above pic in vb.net? ABC2
What is "Friend" in VB.Net?  2
Trace and Debug belongs to which namespaces?  4
What is the difference between Abstract Classes and Interfaces? Give the answer as a table format....  5
What is JIT(Just In Time) and How it works? Infocons3
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 can we assigns items on listbox so that it will show rowwise please write the code for it.  3
How do you do multithreading application in VB ? Satyam4
How do you validate Date by using which validation Control? HCL3
How do you declare static variable and how it is declared and what is its lifetime? Infosys3
Difference between VB dll and assemblies in .NET ? Digital-GlobalSoft5
What is the relation between Garbage collector and finalize and destructor? Kanbay2
I want to sample Hotel management project in vb.net because still now i am doing that project for small hotel....so please send me my email id is jmuthu_pearls@yahoo.com...  2
 
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 © 2007  ALLInterview.com.  All Rights Reserved.

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