Advertisement
Guest User

Untitled

a guest
Jul 30th, 2014
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.29 KB | None | 0 0
  1. Public Sub creaJson(ByVal tag As String, ByVal valor As String)
  2.         Dim json As String = "{""" & tag & """:""" & valor & """}"
  3.  
  4.         Response.Clear()
  5.         Response.ContentType = "application/json; charset=utf-8"
  6.         Response.Write(json)
  7.         Response.End()
  8.     End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement