?
Solved

Insert data from VB.NET datagridview to SQL-server stored procedure.

Posted on 2013-02-05
5
Medium Priority
?
2,202 Views
1 Endorsement
Last Modified: 2013-04-26
I have a pos receipt UI form VB.NET I need to insert the receipt date and total to sales master table and my datagridview data to salesdetail table.
I need to pass all my data straight from the sales form to the SQL server stored procedure.
I want to achieve concurrency pos program with 5 tills (concurrent sales points) and 1 server(back office)
1
Comment
Question by:josanni2002
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 10

Accepted Solution

by:
Monica P earned 1500 total points
ID: 38858928
Do you mean to store Data from Datagridview to Sqlserver through storedprocedure
If so refer below link for example

http://vbcity.com/forums/t/156452.aspx

http://www.dreamincode.net/forums/topic/285103-how-to-save-data-from-datagridview-to-sql-server-2008-in-vbnet/
0
 

Author Comment

by:josanni2002
ID: 38859497
i need to pass my values to the store procedure then the store procedure will execute the insert statement for me.
0
 
LVL 26

Expert Comment

by:Alan Warren
ID: 38862527
Does the datagridview have a datasource, how do you populate it?
Does the stored procedure have a name, expect input parameters, if so what are the parameters (types and size)?

Alan
0

Featured Post

CHALLENGE LAB: Troubleshooting Connectivity Issues

Goal: Fix the connectivity issue in the lab's AWS environment so that you can SSH into the provided EC2 instance.  

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.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

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