c# - How to pass null value in the parameter -


i have page loads request history based on parameter selected user. first time load request history. wrote procedure takes current user , if user puts parameter takes well, else parameters except current user null. int code behind page, calling method business logic having problem parameter time show according current user id, , other parameter null. here part of code getting error.

var candidaterequesthistory = candidaterequestmanager.getcandidaterequesthistory(((int)session[commonhelper.constants.(current_candidate)),'','',0,'','')]);                 grdcandidaterequesthistory.datasource = candidaterequesthistory;                 grdcandidaterequesthistory.databind(); 

want pass parameters null except humanresourceid. (int humanresourceid,string framework,string skillname,int skilllevel,datetime fromdate,datetime todate)


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -