<WebMethod()> _
Public Function UpdateProductDetail(ByVal ProductName As String, ByVal Remarks As String) As Integer
Dim sSQl As String
Dim pobjDas As New DBAccess
sSQl = "INSERT INTO ProductDetail (ProducDetailId, productName, Remark) VALUES (NEWID(), '" & ProductName & "', '" & Remarks & "')"
Return pobjDas.ExecuteSQL(sSQl)
End Function
<WebMethod()> _
Public Function UpdateProd