Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 12th, 2006, 12:37 PM
Authorized User
 
Join Date: Apr 2006
Posts: 79
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via AIM to anujrathi Send a message via MSN to anujrathi Send a message via Yahoo to anujrathi
Default DataGrid Problem

Hi Friends,

 In VB.NET windows application, I want to update my database using datagrid.
means whenever a user enters the data in the datagrid, it should be updated in the database also.

I m using disconnected archi. means with SqlDataAdapter. If possible then pls give necessary details.
 
Old June 13th, 2006, 01:44 AM
Authorized User
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think this is what you looking for :
http://www.vb-helper.com/howto_net_datagrid.html
Hope this helps.


 
Old June 15th, 2006, 02:18 AM
vbn vbn is offline
Authorized User
 
Join Date: May 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

When the DataAdapter needs to retrieve or send data to and from the datasource, it uses Command objects. We specify the command objects for slecting, updating, and deleting rows in the dtaasource. This is done by creating command objects and then assigning them to the appropriate DataAdapter properties:SelectCommand, InsertCommand, UpdateCommand or DeleteCommand.

Try this Title:"Database programming using vb.net and sql server", (secrets of developing an accounting package revealed) by VK publishers.

Reagrds
bhar






Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with datagrid Shishir ASP.NET 1.0 and 1.1 Professional 1 January 6th, 2007 09:01 AM
Datagrid Problem monika.vasvani ASP.NET 1.0 and 1.1 Professional 1 December 5th, 2006 03:09 AM
DataGrid Problem anujrathi ASP.NET 2.0 Basics 1 June 12th, 2006 03:52 PM
Datagrid problem dotnetprogrammer VS.NET 2002/2003 1 February 17th, 2005 05:11 AM
datagrid problem Leonmex Access VBA 1 November 26th, 2004 03:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.