.NET help, My masterpage won't do a update sql query but a static version will

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
14
81
www.markbetz.net
There's nothing different that I'm aware of. The master page code-behind class gets its events called just like any other code-behind for a page. You must be doing something different in the one context vs. the other. Is the master in its own directory? Are the web.config settings all consistent and right? Post some code and we might be able to help you out.
 

imported_Dhaval00

Senior member
Jul 23, 2004
573
0
0
Both worked for me... what's wrong? One thing I noticed was entering new entries would always update the 2nd row, and not insert a new one - is that what you mean by "not working?"
 

SoundTheSurrender

Diamond Member
Mar 13, 2005
3,126
0
0
Sorry, I figured out the solution.

The problem was in the masterpage I had to use Control as opposed to Forms when setting up the Update Query.