K
Kostia
Basically doing:
<asp:label id=label runat="server" Text='<%# DataBinder.Eval(dsData,
"Tables[Table1].DefaultView.[0].NumNotOK") %>'></asp:label>
if SQL returns 0 rows no data, this throws an exception ("Index 0 is
not non-negative and below total rows count. ") and rightly so of
course, but how should this be handled on the page itself?
<asp:label id=label runat="server" Text='<%# DataBinder.Eval(dsData,
"Tables[Table1].DefaultView.[0].NumNotOK") %>'></asp:label>
if SQL returns 0 rows no data, this throws an exception ("Index 0 is
not non-negative and below total rows count. ") and rightly so of
course, but how should this be handled on the page itself?