Click here to Skip to main content
15,899,124 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionNumbering a Datagrid Pin
Vipin Venugopal5-Jul-06 18:27
Vipin Venugopal5-Jul-06 18:27 
AnswerRe: Numbering a Datagrid Pin
Vasudevan Deepak Kumar5-Jul-06 18:59
Vasudevan Deepak Kumar5-Jul-06 18:59 
GeneralRe: Numbering a Datagrid Pin
Vipin Venugopal5-Jul-06 21:26
Vipin Venugopal5-Jul-06 21:26 
AnswerRe: Numbering a Datagrid Pin
eggsovereasy6-Jul-06 5:30
eggsovereasy6-Jul-06 5:30 
QuestionDisplaying Sql Data As Xml Pin
teejayem5-Jul-06 15:56
teejayem5-Jul-06 15:56 
AnswerRe: Displaying Sql Data As Xml Pin
minhpc_bk5-Jul-06 16:10
minhpc_bk5-Jul-06 16:10 
GeneralRe: Displaying Sql Data As Xml Pin
teejayem5-Jul-06 16:28
teejayem5-Jul-06 16:28 
QuestionTransfer of datagrid to another webform [modified] Pin
blurMember5-Jul-06 15:23
blurMember5-Jul-06 15:23 
Hi! I want to do a report generation, when the user click the view report button, the datagrid will be transfered to another webform in C#.

I am using code behind. Here is the partial code for frm_First.aspx.cs. (Assuming I have connected the database to the datgrid)

<code>private void display()
{
..........
this.GridData = this.dgDisplay.DataSource;
..........
}
private void btnReport_Click(object sender, System.EventArgs e)
{
Server.Transfer("frm_Report.aspx");
}
public object GridData
{
set
{
this.gridData = value;
}
get
{
return this.gridData;
}
}

Whereas at the frm_Report,

namespace project
{
public class frm_Report : System.Web.UI.Page
{
......................
project.frm_First objSendingPage;

private void Page_Load(object sender, System.EventArgs e)
{
this.objSendingPage = new frm_First();
receivingDG.DataSource = objSendingPage.GridData;
receivingDG.DataBind();
}
}</code>

thanks in advance. Much appreciated.

-- modified at 21:24 Wednesday 5th July, 2006
AnswerRe: Transfer of datagrid to another webform Pin
minhpc_bk5-Jul-06 16:04
minhpc_bk5-Jul-06 16:04 
GeneralRe: Transfer of datagrid to another webform Pin
blurMember5-Jul-06 19:14
blurMember5-Jul-06 19:14 
GeneralRe: Transfer of datagrid to another webform Pin
minhpc_bk5-Jul-06 19:54
minhpc_bk5-Jul-06 19:54 
GeneralRe: Transfer of datagrid to another webform [modified] Pin
blurMember5-Jul-06 20:34
blurMember5-Jul-06 20:34 
GeneralRe: Transfer of datagrid to another webform Pin
minhpc_bk5-Jul-06 20:44
minhpc_bk5-Jul-06 20:44 
GeneralRe: Transfer of datagrid to another webform Pin
blurMember5-Jul-06 21:41
blurMember5-Jul-06 21:41 
GeneralRe: Transfer of datagrid to another webform Pin
minhpc_bk5-Jul-06 22:27
minhpc_bk5-Jul-06 22:27 
GeneralRe: Transfer of datagrid to another webform Pin
blurMember5-Jul-06 23:16
blurMember5-Jul-06 23:16 
GeneralRe: Transfer of datagrid to another webform Pin
minhpc_bk5-Jul-06 23:29
minhpc_bk5-Jul-06 23:29 
GeneralRe: Transfer of datagrid to another webform Pin
minhpc_bk6-Jul-06 0:06
minhpc_bk6-Jul-06 0:06 
GeneralRe: Transfer of datagrid to another webform Pin
blurMember9-Jul-06 17:18
blurMember9-Jul-06 17:18 
GeneralRe: Transfer of datagrid to another webform Pin
minhpc_bk10-Jul-06 19:56
minhpc_bk10-Jul-06 19:56 
QuestionString from and to a class Pin
oskardiazdeleon5-Jul-06 14:12
oskardiazdeleon5-Jul-06 14:12 
AnswerRe: String from and to a class Pin
minhpc_bk5-Jul-06 16:17
minhpc_bk5-Jul-06 16:17 
AnswerRe: String from and to a class Pin
Guffa5-Jul-06 20:12
Guffa5-Jul-06 20:12 
QuestionPassing attributes using hyperlink [modified] Pin
theprinc5-Jul-06 6:35
theprinc5-Jul-06 6:35 
AnswerRe: Passing attributes using hyperlink Pin
minhpc_bk5-Jul-06 16:14
minhpc_bk5-Jul-06 16:14 

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.