I might have an unusual question here, but I need to make an edit to an ASPX page. Specifically, this:
<asp:BoundField DataField="oldField" HeaderText="vBudget" DataFormatString="{0:C0}">
<ItemStyle BorderWidth="20px" BorderColor="Transparent" HorizontalAlign="Center" Width="10%" />
</asp:BoundField>
I have a DataField that I have named oldField and wanted to have it start pulling from a field called newField. So what I did was go into the ASPX page and did a CTRL+F for every instance of oldField and replaced it with newField. Unfortunately for me, it’s not quite that simple. When I ran the page, I got a nullpointer exception:
Internal exception occured
Exception details:
Object reference not set to an instance of an object.
Upon a quick search, it’s because what I have is the compiled code and not the original. IF I wanted to make an update to it, I would need the original .sln or whatever in order to make changes to it.
Unfortunately, it seems to be lost and no one seems to know where it is. With that said, how hard would it be for me to recreate the same exact page with the only change I need to make to it would be to pull from newField instead of oldField? I have every piece of the compiled code which includes the MASTER file, DLLs, web.config files, JavaScipt, everything. Everything except for the .sln. I have very limited experience with developing ASPX pages.
Thank you!