Re: [Developers_For_Ever] Urgently passes selected data from gridview to another at the same page

Tuesday, December 06, 2011

 

 
Easy Come Easy Go
Best Regards,

Mahmoud Gamal Gaber
Software Developer
+2 018 737 285 8

From: Mahmoud Goda <fci_mgg_2006@yahoo.com>
To: "Developers_For_Ever@yahoogroups.com" <Developers_For_Ever@yahoogroups.com>; "dotNET_eg@yahoogroups.com" <dotNET_eg@yahoogroups.com>; "DotNetDevWork@yahoogroups.com" <DotNetDevWork@yahoogroups.com>; "EgyDevelopers_Community@yahoogroups.com" <EgyDevelopers_Community@yahoogroups.com>; "Egy_Eng_students@yahoogroups.com" <Egy_Eng_students@yahoogroups.com>; "Egypt_Developers_In_Saudia@yahoogroups.com" <Egypt_Developers_In_Saudia@yahoogroups.com>; "egypt_developers@yahoogroups.com" <egypt_developers@yahoogroups.com>; "Egypt-Developers-In-AbuDhabi@yahoogroups.com" <Egypt-Developers-In-AbuDhabi@yahoogroups.com>; "Egypt-Developers@yahoogroups.com" <Egypt-Developers@yahoogroups.com>; "Egypt-Programmer@yahoogroups.com" <Egypt-Programmer@yahoogroups.com>; "egypt-programmers@yahoogroups.com" <egypt-programmers@yahoogroups.com>; "egyptdevelopers@yahoogroups.com" <egyptdevelopers@yahoogroups.com>; "EgyptDotNetDevelopers@yahoogroups.com" <EgyptDotNetDevelopers@yahoogroups.com>; "egyptian_developers@yahoogroups.com" <egyptian_developers@yahoogroups.com>; "Egyptian_webdevelopers@yahoogroups.com" <Egyptian_webdevelopers@yahoogroups.com>; "EgyptSoftwareDevelopers@yahoogroups.com" <EgyptSoftwareDevelopers@yahoogroups.com>; "Egypt_Development_Jobs@yahoogroups.com" <Egypt_Development_Jobs@yahoogroups.com>; "El_Azhar_Programmers@yahoogroups.com" <El_Azhar_Programmers@yahoogroups.com>; "allprogrammers@yahoogroups.com" <allprogrammers@yahoogroups.com>; "Egypt_Free_Developers@yahoogroups.com" <Egypt_Free_Developers@yahoogroups.com>
Sent: Tuesday, December 6, 2011 4:59 PM
Subject: Re: [Developers_For_Ever] Urgently passes selected data from gridview to another at the same page

السلام عليكم و رحمة الله
try this:
sting s1,s2,s3
for(int index = 0 ; index < grd.Rows.Count;index++)
                {
                    if ((checkbox)grd.Rows[0].FindControl("checkboxid").checked == true)
{  

                    s1 = grd.Rows[index].Cells[FirstColum].Text  
                    s2 = grd.Rows[index].Cells[SecondColum].Text 
                    s3 = grd.Rows[index].Cells[ThirdColum].Text  //   and so on
}
                }

and u can pass values of s1,s2,s3 to another page by using session
good luck
 
Easy Come Easy Go
Best Regards,

Mahmoud Gamal Gaber
Software Developer
+2 018 737 285 8

From: Samar Mohammed <samar.mohammed_90@yahoo.com>
To: "dotNET_eg@yahoogroups.com" <dotNET_eg@yahoogroups.com>; "DotNetDevWork@yahoogroups.com" <DotNetDevWork@yahoogroups.com>; "EgyDevelopers_Community@yahoogroups.com" <EgyDevelopers_Community@yahoogroups.com>; "Egy_Eng_students@yahoogroups.com" <Egy_Eng_students@yahoogroups.com>; "Egypt_Developers_In_Saudia@yahoogroups.com" <Egypt_Developers_In_Saudia@yahoogroups.com>; "egypt_developers@yahoogroups.com" <egypt_developers@yahoogroups.com>; "Egypt-Developers-In-AbuDhabi@yahoogroups.com" <Egypt-Developers-In-AbuDhabi@yahoogroups.com>; "Egypt-Developers@yahoogroups.com" <Egypt-Developers@yahoogroups.com>; "Egypt-Programmer@yahoogroups.com" <Egypt-Programmer@yahoogroups.com>; "egypt-programmers@yahoogroups.com" <egypt-programmers@yahoogroups.com>; "egyptdevelopers@yahoogroups.com" <egyptdevelopers@yahoogroups.com>; "EgyptDotNetDevelopers@yahoogroups.com" <EgyptDotNetDevelopers@yahoogroups.com>; "egyptian_developers@yahoogroups.com" <egyptian_developers@yahoogroups.com>; "Egyptian_webdevelopers@yahoogroups.com" <Egyptian_webdevelopers@yahoogroups.com>; "EgyptSoftwareDevelopers@yahoogroups.com" <EgyptSoftwareDevelopers@yahoogroups.com>; "Egypt_Development_Jobs@yahoogroups.com" <Egypt_Development_Jobs@yahoogroups.com>; "El_Azhar_Programmers@yahoogroups.com" <El_Azhar_Programmers@yahoogroups.com>; "Developers_For_Ever@yahoogroups.com" <Developers_For_Ever@yahoogroups.com>; "allprogrammers@yahoogroups.com" <allprogrammers@yahoogroups.com>; "Egypt_Free_Developers@yahoogroups.com" <Egypt_Free_Developers@yahoogroups.com>; "EgyptDotNetDevelopers@yahoogroups.com" <EgyptDotNetDevelopers@yahoogroups.com>; "El_Azhar_Programmers@yahoogroups.com" <El_Azhar_Programmers@yahoogroups.com>; "EgyptDotNetDevelopers@yahoogroups.com" <EgyptDotNetDevelopers@yahoogroups.com>; "Egypt_Development_Jobs@yahoogroups.com" <Egypt_Development_Jobs@yahoogroups.com>
Sent: Sunday, December 4, 2011 9:26 PM
Subject: [Developers_For_Ever] Urgently passes selected data from gridview to another at the same page

 

السلام عليكم ورحمة الله وبركاته
ممكن يا جماعه حد يساعدنى فى المشكله دى؟
ولكم جزيل الشكر
Dear all,
How are you?
i have a problem at transferring data from gridview to another at the same page,
that i have a gridview with check boxes column at all rows i want to select these rows and click at the button 'select' to transfer these rows which selected to another gridview at the same page
can you please help me to solve this problem.




__._,_.___
Recent Activity:
Kindly visit my Blog http://amrsaafan.blogspot.com
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

0 comments:

Post a Comment