我不太明白你的意思,但我看这个程序问题太多了,比如:
if reader2.Read then
S_Out = reader2(0)
Sum_Out.DataBind()
  End if
这里的reader2的第一条记录在你绑定或把它赋值给S_Out之前已经被Read掉了,所以你那个reader2(0)的结果肯定不是你想要的。
还有:
<ASP:label Id = "Sum_Out" Text = "<%# S_Out %>" runat = "Server" />有这样用Label控件的吗?如果你要使用<%#S_Out%>这样的绑定语名,那就没必要使用WEb服务器控件,这里的Label没有任何用只是白白浪费服务器资源。