473,385 Members | 2,028 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,385 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 1506
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.