-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: VBanupriya
Message 3 in Discussion




  
    
    New Message on BDOTNET
  
  





      Assigning a value that is not bound to the datagrid

    
  
    
      Reply

          
            
                
               
                  Reply to Sender
                    Recommend
                  
                  Message 1 in Discussion
                                                
            
          
        
                    
        
            
              From: 
              VBanupriya
            
            
              

              Hello,   Can we assign a variable that is declared in the code 
behind (ABC.cs) to the DataNavigateUrlFormatString property of the 
HyperLinkControl present inside a DataGrid control?   ie., In ABC.aspx 
<asp:datagrid id="dgdDocAttach" runat="server" CssClass="GridOddRow" 
AllowPaging="True" BorderStyle="Solid" AutoGenerateColumns="False" 
Width="750px"> <Columns> <asp:HyperLinkColumn Text="Title" 
DataNavigateUrlField="DocumentID" 
DataNavigateUrlFormatString='./AddOccupantDocument.aspx?DocumentID={0}&LeaseID=<%=LeaseID%>'
 DataTextField="Title" HeaderText="Document Title"></asp:HyperLinkColumn> 
</Columns> </asp:datagrid>   In ABC.aspx.cs public string LeaseID; //Decalred 
outside the Page_Load()   LeaseID = Request.QueryString["LeaseID"]; //assigned 
inside the Page_Load()   In the above program, How we assign the LeaseID to the 
Hyperlinkcontrol's DataNavigateUrlFormatString property.   Please can any one 
say me how we can do it?   Thanks & Regards Banupriya
          
        
      
          
  

    View other groups in this category.
  

  

      




-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to