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
Post a Comment