473,320 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

getting values from datagrid

hello experts....

-i'm having a datagrid with 10 columns and 4 rows and one submit button.
-the fields are eno,ename,eid,and 4 check boxes
-after entering values when i clik the submit button the values i entered
must passt to next page and displayed in datagrid and at the same time it
must be inserted in the database

-plz help me...how to do it.

-thx in advance.

regards
siva
Nov 19 '05 #1
4 1498
After submit, fill your data in a dataset. Persist that data in the DB and
save the dataset in Session variable. On the next page get the data from the
Session variable.
Or instead of saving the dataset in Session, you may get the data directly
from the database on the next page.

Hope that helps!
Regards,
Kostadin Kostov

"sivashankar" wrote:
hello experts....

-i'm having a datagrid with 10 columns and 4 rows and one submit button.
-the fields are eno,ename,eid,and 4 check boxes
-after entering values when i clik the submit button the values i entered
must passt to next page and displayed in datagrid and at the same time it
must be inserted in the database

-plz help me...how to do it.

-thx in advance.

regards
siva

Nov 19 '05 #2
After submit, fill your data in a dataset. Persist that data in the DB and
save the dataset in Session variable. On the next page get the data from the
Session variable.
Or instead of saving the dataset in Session, you may get the data directly
from the database on the next page.

Hope that helps!
Regards,
Kostadin Kostov

"sivashankar" wrote:
hello experts....

-i'm having a datagrid with 10 columns and 4 rows and one submit button.
-the fields are eno,ename,eid,and 4 check boxes
-after entering values when i clik the submit button the values i entered
must passt to next page and displayed in datagrid and at the same time it
must be inserted in the database

-plz help me...how to do it.

-thx in advance.

regards
siva

Nov 19 '05 #3
hey man sory to distrub ya

-i dono how to put the particular fields in the dataset
-c the eno,ename i want to put in the session variable..
-wats the problem means...i want to select the particular field ie eno,enmae
from the grid.
-and the other problem is how to put the selected value in the session
variabale

-plz reply experts

-thx in advance

"Kostadin Kostov" <Ko************@discussions.microsoft.com> wrote in
message news:7D**********************************@microsof t.com...
After submit, fill your data in a dataset. Persist that data in the DB and
save the dataset in Session variable. On the next page get the data from the Session variable.
Or instead of saving the dataset in Session, you may get the data directly
from the database on the next page.

Hope that helps!
Regards,
Kostadin Kostov

"sivashankar" wrote:
hello experts....

-i'm having a datagrid with 10 columns and 4 rows and one submit button.
-the fields are eno,ename,eid,and 4 check boxes
-after entering values when i clik the submit button the values i entered must passt to next page and displayed in datagrid and at the same time it must be inserted in the database

-plz help me...how to do it.

-thx in advance.

regards
siva

Nov 19 '05 #4
hey man sory to distrub ya

-i dono how to put the particular fields in the dataset
-c the eno,ename i want to put in the session variable..
-wats the problem means...i want to select the particular field ie eno,enmae
from the grid.
-and the other problem is how to put the selected value in the session
variabale

-plz reply experts

-thx in advance

"Kostadin Kostov" <Ko************@discussions.microsoft.com> wrote in
message news:7D**********************************@microsof t.com...
After submit, fill your data in a dataset. Persist that data in the DB and
save the dataset in Session variable. On the next page get the data from the Session variable.
Or instead of saving the dataset in Session, you may get the data directly
from the database on the next page.

Hope that helps!
Regards,
Kostadin Kostov

"sivashankar" wrote:
hello experts....

-i'm having a datagrid with 10 columns and 4 rows and one submit button.
-the fields are eno,ename,eid,and 4 check boxes
-after entering values when i clik the submit button the values i entered must passt to next page and displayed in datagrid and at the same time it must be inserted in the database

-plz help me...how to do it.

-thx in advance.

regards
siva

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Filippo Pandiani | last post by:
I have a grid that shows the file list from a folder. On the postback, how do I get a Dataset from this grid? Thanks, Filippo.
2
by: Bradley M. Small | last post by:
Hi -- I am using webmatrix so whatever I try and do is determined by what I can do by hand. That said, I am trying to figure out how to get the original values for a field that is being edited....
3
by: ALPO | last post by:
We have a datagrid built using template columns. Many are text boxes. These text boxes are bound to a datasource as follows: <ItemTemplate> <asp:TextBox id="txtPeriod1" runat="server"...
2
by: Colin McGuigan | last post by:
This is a translation of an ASP page to ASP.Net. First, the background: The goal is to have a grid of different settings for the application -- think something along the lines of the Property...
0
by: Anil Kumar Lakky Reddy | last post by:
I have seen lots of people complaining about not getting updated values from edit columns of datagrid. I had similar problem, I figured I was refreshing the data on each page load. I fixed it by...
3
by: AMD Desktop | last post by:
Hi, I need to add a header to a datagrid. This is the code I am trying to use: Dim dgStaffingReport As New DataGrid Dim dgitem As New DataGridItem(0, 0, ListItemType.Header) Dim mycell...
3
by: Moojjoo | last post by:
I created an user control (.ascx file) with a DropDownList (DDL) with the following code behide: public string Selected_dept_value() { string dept_value = dept_dropdown.SelectedValue; return...
2
by: Kiran Kumar Pinjala | last post by:
Hi, May be this is silly, or I just need a second pair eyes to look at this. I am trying to get values that I have edited in a datagrid and update the values with those values. Here is the code...
1
by: nate axtell | last post by:
In VB .NET I load the contents of an Excel or comma seperated values file into a dataGrid (via a datatable). One of the columns has a comma in the name of the column. So for the comma separated...
0
by: Erik | last post by:
Why isn't my update method getting called? Pasted below is an aspx from a 1.1 application I'm working on. It has two textboxes and a button for inserting data into the database, and a datagrid...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.