Var =ExtractedDataSet.Tables(0).Rows(0)(0).ToString ? "Unable to extract value"
somewhere to check the variable contains value then assign the value from that or otherwise just assign the default value right next to it , is there any thing like this actually or im dreaming
EDIT:- Just for those who are thinking to add if condition in the assign , no im not talking about that
Var = If(Not String.IsNullOrEmpty(ExtractedDataSet.Tables(0).Rows(0)(0).ToString), ExtractedDataSet.Tables(0).Rows(0)(0).ToString, "Unable to extract value")
Var = If(String.IsNullOrEmpty(ExtractedDataSet.Tables(0).Rows(0)(0).ToString()), "Unable to extract value", ExtractedDataSet.Tables(0).Rows(0)(0).ToString())