Click here to Skip to main content
15,885,244 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionGridView Editing Pin
MacIntyre1-Jun-09 10:18
MacIntyre1-Jun-09 10:18 
AnswerRe: GridView Editing Pin
ToddHileHoffer1-Jun-09 10:26
ToddHileHoffer1-Jun-09 10:26 
QuestionHow to create HyperLink for field in Crystal CrossTab report ? Pin
David Mujica1-Jun-09 10:14
David Mujica1-Jun-09 10:14 
AnswerRe: How to create HyperLink for field in Crystal CrossTab report ? Pin
Member 204565326-Feb-11 9:22
Member 204565326-Feb-11 9:22 
QuestionInsert into table Pin
hahii1-Jun-09 10:14
hahii1-Jun-09 10:14 
AnswerRe: Insert into table Pin
David Mujica1-Jun-09 10:20
David Mujica1-Jun-09 10:20 
Questionmembership and Roles Pin
hahii1-Jun-09 9:02
hahii1-Jun-09 9:02 
QuestionHow to pass & retrieve gridview as session variable. Pin
ashutosh_karna1-Jun-09 8:18
ashutosh_karna1-Jun-09 8:18 
Hello Friends, I am new to asp.net , so please help me out.

I have made a small gridview ( without any database connectivity) on page(Default.aspx). The user fills up one of the column with numeric data & clicks a button & control is transferred to another
page(Results.aspx).

Can anybody tell me how can I pass the whole gridview as session varaible & then retrieve it in another page & further retrieve the column filled up by the user.

Code in "Result.aspx"
protected void Page_Load(object sender, EventArgs e)
{
DataView dv1 = new DataView();
DataTable dt1 = new DataTable();
Session["A"] = dv1.Table.Columns["A"];

}

protected void TextBox1_TextChanged(object sender, EventArgs e)
{
// double[] data = new double[Session["A"]]; // WRONG CODE . PLEASE CORRECT IT
// WRITE CODE FOR RETRIEVING COLUMN THAT USER HAS FILLED UP IN GRIDVIEW IN default.aspx
}



Code in "Default.aspx" :
protected void Button1_Click(object sender, EventArgs e)
{
Server.Transfer("NewPage.aspx");
// HOW TO PASS GRIDVIEW ALONG WITH USER DATA
}
AnswerRe: How to pass & retrieve gridview as session variable. Pin
Ibrahim Bello1-Jun-09 9:11
Ibrahim Bello1-Jun-09 9:11 
GeneralRe: How to pass & retrieve gridview as session variable. Pin
Not Active1-Jun-09 9:32
mentorNot Active1-Jun-09 9:32 
AnswerRe: How to pass & retrieve gridview as session variable. Pin
Not Active1-Jun-09 9:25
mentorNot Active1-Jun-09 9:25 
GeneralRe: How to pass & retrieve gridview as session variable. Pin
Ibrahim Bello1-Jun-09 9:29
Ibrahim Bello1-Jun-09 9:29 
GeneralRe: How to pass & retrieve gridview as session variable. Pin
Not Active1-Jun-09 9:36
mentorNot Active1-Jun-09 9:36 
GeneralRe: How to pass & retrieve gridview as session variable. Pin
Ibrahim Bello1-Jun-09 21:36
Ibrahim Bello1-Jun-09 21:36 
QuestionGridView Editing with VB.NET Pin
MacIntyre1-Jun-09 6:47
MacIntyre1-Jun-09 6:47 
AnswerRe: GridView Editing with VB.NET Pin
ToddHileHoffer1-Jun-09 10:28
ToddHileHoffer1-Jun-09 10:28 
GeneralRe: GridView Editing with VB.NET Pin
MacIntyre1-Jun-09 11:03
MacIntyre1-Jun-09 11:03 
GeneralRe: GridView Editing with VB.NET Pin
ToddHileHoffer1-Jun-09 12:21
ToddHileHoffer1-Jun-09 12:21 
GeneralRe: GridView Editing with VB.NET Pin
MacIntyre1-Jun-09 12:57
MacIntyre1-Jun-09 12:57 
QuestionHow to create forum in asp.net Pin
Saiyed Alam1-Jun-09 6:11
Saiyed Alam1-Jun-09 6:11 
AnswerRe: How to create forum in asp.net Pin
Christian Graus1-Jun-09 11:32
protectorChristian Graus1-Jun-09 11:32 
Questionsql query Pin
jainiraj1-Jun-09 6:06
jainiraj1-Jun-09 6:06 
AnswerRe: sql query Pin
Not Active1-Jun-09 7:31
mentorNot Active1-Jun-09 7:31 
QuestionPassing an ID to an external .js file Pin
dwolver1-Jun-09 4:44
dwolver1-Jun-09 4:44 
AnswerRe: Passing an ID to an external .js file Pin
RajeevKumarSharma1-Jun-09 23:19
RajeevKumarSharma1-Jun-09 23:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.