comm.Parameters.Add(New SqlParameter("@term", SqlDbType.Int, 4))
comm.Parameters("@term").Value = "1"
comm.Parameters.Add(New SqlParameter("@tim", SqlDbType.Char, 20))
comm.Parameters("@tim").Value = Date.Now
comm.ExecuteNonQuery()
'TextBox2.Text = ""
Next i
End If
End If
Response.Write("<script language=javascript>alert('发送成功!')</script>")
End Sub
'////////////////////返回继续发送
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Response.Redirect("boaman.aspx")
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Response.Write("<script language=javascript>window.close()</script>")
End Sub
End Class
感谢laodeng了:)
comm.Parameters("@term").Value = "1"
comm.Parameters.Add(New SqlParameter("@tim", SqlDbType.Char, 20))
comm.Parameters("@tim").Value = Date.Now
comm.ExecuteNonQuery()
'TextBox2.Text = ""
Next i
End If
End If
Response.Write("<script language=javascript>alert('发送成功!')</script>")
End Sub
'////////////////////返回继续发送
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Response.Redirect("boaman.aspx")
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Response.Write("<script language=javascript>window.close()</script>")
End Sub
End Class
感谢laodeng了:)