Posted on: 4/26/2011 1:13:48 PM | Views : 276

I have about 2000 .aspx pages and each pages has following code on top:

<%@ Page Language="C#" Title="Sample Page Name" AutoEventWireup="true" 
MasterPageFile="~/MasterPage.master" PageID="408710575" 
CodeFile="~/myPages/myPageCode.cs" 
CodeFileBaseClass="PageBase" Inherits= "myPageCode"%>

In above code PageID is an attribute which has unique value or say page identification number. 

Now I'm wishing to insert or update or something else operation on database using that PageID value. 

For example, on each .aspx page I have following 

<asp:Repeater
           id="rptPosted"
           DataSourceID="SqlDataSource1"
           Runat="server">
           <ItemTemplate>
           <div class="styli ...

Go to the complete details ...