Hi All Users can Any one tell me ,When I am pass this method in data contract class it give error "Not all paths in return a value"
[DataMemberAttribute("Dialog")]
public TransDate paramBox(TransDate _date= t1)
{
TransDate transdate;
Dialog dialog;
DialogField d1;
DialogField d2;
;
t1=_date;
dialog = new Dialog("My Dialog");
dialog.addText("Allocation Date:");
d1=dialog.addField(extendedTypeStr(TransDate));
//d2=dialog.addField(extendedTypeStr(ToDate));
dialog.run();
if (dialog.closedOk())
{
t1=_date;
return t1;
}
}
*This post is locked for comments
I have the same question (0)