Solved

VB.net Excel Add-in Update base table data using a view

Posted on 2014-10-29
2
142 Views
Last Modified: 2014-11-02
Hi

In a VB.net application I have a view that combines three tables: Customers, Orders, and [Order Details]
I load the view to a DataGridView and an  Excel spreadsheet with every column having an alias with the table
and column name separated by a pipe delimiter. I want to update the base table info based on the View
Is it possible to do this in the DataGridView or use Excel as a way to fire update commands?

I have included the ID columns of all three tables as shown in the image

View
0
Comment
Question by:murbro
2 Comments
 
LVL 16

Accepted Solution

by:
Kamal Khaleefa earned 500 total points
ID: 40410407
you may use the DataGridView   to fire update commands

and to update the table not the view since the view is a combination of tables

then reload your grid/excel from DB
0
 

Author Closing Comment

by:murbro
ID: 40418813
thanks
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now