If I have a method that returns something, like
public DataTable ReturnSomething() { try { //logic here return ds.Tables[0]; } catch (Ex
i'd assume you can still set the message, then return null or whatever the c# equivalent is
public DataTable ReturnSomething(){ try { //logic here return ds.Tables[0]; } catch (Exception e) { ErrorString=e.Message; return null; } }