Z
zheetee
<script type="text/vbscript">
sub setTextBoxValue(a1,a2)
thedelete.deleteTextBox.value = a1
end sub
</script>
<td>
<a href="#"
onclick="setTextBoxValue('<%#Container.DataItem("SerialNumber")%>','<%#Container.DataItem("EquipmentCategory")%>')">
<%#Container.DataItem("SerialNumber")%> </a>
</td>
when i click on <%#Container.DataItem("EquipmentCategory")%>')
then it will call sub setTextBoxValue(a1,a2) function
but it return "Can't use parentheses when calling a Sub"
may i know what is the problem??
i can create a function that more than 1 variable??
or my database connection or variable got problem??
help...
sub setTextBoxValue(a1,a2)
thedelete.deleteTextBox.value = a1
end sub
</script>
<td>
<a href="#"
onclick="setTextBoxValue('<%#Container.DataItem("SerialNumber")%>','<%#Container.DataItem("EquipmentCategory")%>')">
<%#Container.DataItem("SerialNumber")%> </a>
</td>
when i click on <%#Container.DataItem("EquipmentCategory")%>')
then it will call sub setTextBoxValue(a1,a2) function
but it return "Can't use parentheses when calling a Sub"
may i know what is the problem??
i can create a function that more than 1 variable??
or my database connection or variable got problem??
help...