|
xxx
Utility Belt:
Sproc with Parameters Demo
by Charles Carroll
The code below calls "Utility Belt" functions.
Here is the Sproc with parameter sample:
filename=/experiments/utilitybelt/vercurrent//ubdemo_sp_params.aspx
<%@ debug="true" %>
<%@ Assembly src="utilitybelt.vb" %>
<script language="VB" runat="server">
dim ub1 as new LearnAsp.utilitybelt()
dim strConnect as string="learnaspsamplesfull"
Sub Page_Load(S As Object, E As EventArgs)
ub1.Options("debug-on,hints=off")
ub1.spDBPopulate(strConnect,"SearchCSZ",dgTest,"@city","USA")
End Sub
</script>
<html><head>
<title>Utility Belt Demo</title>
</head>
<body bgcolor="#FFFFFF">
<form runat="server">
<asp:datagrid id="dgtest" EnableviewState="false" runat="server" />
</form>
</body></html>
 |  |  |
 |
There are many worthy charities!!. But perhaps help starving children in Africa or South America AND help Charles too.
a $5 tip buys him lunch at McDonalds,
a $20 tip buys his kid Hitoshi a new computer game,
a $39 tip buys his daughter Michiko a few nice outfits.
See our donor list.
|  |
 |  |  |
|
|
|
|