Solved

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

Posted on 2014-10-29
2
153 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

831 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