Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Updating a gridview from different sources

Posted on 2014-02-25
2
Medium Priority
?
237 Views
Last Modified: 2014-02-26
Users enter some info on an asp.net 3.5 vb page.
Then they press a button.
This runs some 2 SQL statements
The gridview needs to display what the user enters plus the result of the SQL.
If I bind the grid to the datasource then I don't know how to add the user entered information to it.

The gridview has 5 columns.

Mnemonic      - user entered
code                - SQL query.  Result may be blank
Name              - Second SQL query
StartDate        - User entered
Datatypes        - User entered

When the user presses the button all 5 columns must be populated.

The user may press the button more than once.  Each time the user presses the button another row should be added to the gridview with the relevant data.
0
Comment
Question by:AlHal2
[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
2 Comments
 
LVL 41

Accepted Solution

by:
guru_sami earned 1000 total points
ID: 39886777
You will need to write a Sql query / stored procedure that returns the collective data from all the tables. The bind that result set to the GV.

On you button click, you will have to load the data every time and bind it to the GV.
0
 

Author Closing Comment

by:AlHal2
ID: 39888236
Thanks.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

610 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