Solved

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

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

862 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

25 Experts available now in Live!

Get 1:1 Help Now