PageMethods.DDLSubOrdinate_change(vs_HasSubordinatesRoute, nPositionNo, OnSuccess, OnFail); function OnSuccess(result) { v = STP_dist[0] }
<WebMethod()> _ <System.Web.Script.Services.ScriptMethod()> _ Public Shared Function DDLSubOrdinate_change(ByVal vs_HasSubordinatesRoute As String, ByVal nPositionNo As String) As String Dim wstr As String ........................ ........................ ........................ Json_STP = getJson4Table(ds.Tables(0).DefaultView.ToTable, True) Json_STP = " var STP=[" + Json_STP + "]" + ";" Json_STP_dist = getJson4Table(ds.Tables(0).DefaultView.ToTable(True, StrColumn), True) Json_STP_dist = " var STP_dist=[" + Json_STP_dist + "]" + ";" Json_STP = Json_STP + vbCrLf + Json_STP_dist ScriptManager.RegisterClientScriptBlock(Me, Me.GetType(), "jstr_STP", Json_STP, True) Return ""
function OnSuccess(result) { v = STP_dist[0] }
result
STP_dist[0]
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)