asp.net - argumentnullexception was unhandled by user code -
asp.net - argumentnullexception was unhandled by user code -
in asp.net application while uploading info excel sheet website im getting error
system.argumentnullexception: value cannot null. source error:
line 161: lhsupdate.name = associatename; line 162: line 163: var designation = dsdata.tables["lhs"].asenumerable().where(r => convert.tostring(r["associate id"]).trim() == lhsupdate.assciateid.trim()); line 164: line 165: if (designation != null) source file: d:\genius\lhs\lhs\updatelhs.aspx.cs line: 163
stack trace:
[argumentnullexception: value cannot null. parameter name: source] system.data.datatableextensions.asenumerable(datatable source) +34903 lhs.login.btnfileuplode_click(object sender, eventargs e) in d:\genius\lhs\lhs\updatelhs.aspx.cs:163 system.web.ui.webcontrols.button.onclick(eventargs e) +118 system.web.ui.webcontrols.button.raisepostbackevent(string eventargument) +112 system.web.ui.webcontrols.button.system.web.ui.ipostbackeventhandler.raisepostbackevent(string eventargument) +10 system.web.ui.page.raisepostbackevent(ipostbackeventhandler sourcecontrol, string eventargument) +13 system.web.ui.page.raisepostbackevent(namevaluecollection postdata) +36 system.web.ui.page.processrequestmain(boolean includestagesbeforeasyncpoint, boolean includestagesafterasyncpoint) +5563 what should run succesfully. please advice further
asp.net exception null argumentnullexception
Comments
Post a Comment