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

Tuesday, December 06, 2011

 

try this to access all columns in gridview

1- declare  Labels or any kind of controls are using in your  GridView at #region Declare
Label lblPicNo;
Label lblKuNo;
Label lblPicdate;

2- convert your GridView column are you want  to get it value
3-click smart tag in your GridView then click edit template
4- get control column name like Label2

5-
in select button click event
 try something like this
    lblPicNo = (Label)((LinkButton)sender).NamingContainer.FindControl("Label2");
        string picNo = lblPicNo.Text;

        lblKuNo = (Label)((LinkButton)sender).NamingContainer.FindControl("Label3");
        string kuNo = lblKuNo.Text;

        lblPicdate = (Label)((LinkButton)sender).NamingContainer.FindControl("Label4");
        string picDate = lblPicdate.Text;
     
/


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