Hello,
int this article http://www.aspsnippets.com/Articles/Database-driven-ASPNet-Menu-control-Populating-Menu-items-from-the-Database-in-ASPNet-using-C-and-VBNet.aspx
I am receiving "Object reference not set to an instance of an object" error. It pops up in line Menu1.Items.Add(menuItem) in method called "PopulateMenu"
Does anyone know what could be the problem?
Thank you very much for quick answer. Is it caused because i am calling PopulateMenu(dt, 0, null); ? What should be there instead od null?
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.