Changing the query form reference on aspx pages in C#
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Changing the query form reference on aspx pages in C#

Hybrid View

  1. #1
    Join Date
    Mar 2013
    Location
    India
    Posts
    1

    Changing the query form reference on aspx pages in C#

    Hi All

    I have a collection of pages where in each page I need to replace the reference of a control with some
    other control....
    Following is the line of code that I need to replace on every aspx page and there are about 90 + pages :
    <%@ Register Src="../Application_Controls/Nonterm_Controls/CommonBookingEngineNonterm.ascx".

    How can this be done programatically.Any help will be appreciated...

    Thanks in Advance
    Sumit

  2. #2
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: Changing the query form reference on aspx pages in C#

    In the IDE press Ctrl + H, and enter the text you want to replace and the text to replace it with and click Replace All..
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center