I am getting an error. Here is my code. When I uncomment nodeID=1458, and remove your code, it works. I did declare the nodeID as INT above this.
String dataDB = "Kentico9";
QueryDataParameters qdp = new QueryDataParameters();
nodeID = ValidationHelper.GetInteger(Form.GetFieldValue("NodeID"), 0)
///nodeID = 1458;
qdp.Add("NodeID", nodeID);
DataSet ds = ConnectionHelper.ExecuteQuery(string.Format("{0}.dbo.GetCycleTypeList", dataDB), qdp, QueryTypeEnum.StoredProcedure,true);
Exception type: System.Web.HttpCompileExceptionStack Trace: at System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath)at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode, Boolean ensureIsUpToDate)at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate)at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)at CMS.ExtendedControls.ControlDefinition.Load(Page page)at CMSWebParts_Filters_Filter.LoadFilter()Machine name: