Skip to content
Loading
Server Side:
  1. using System;  
  2. using System.Collections.Generic;  
  3. using System.Linq;  
  4. using System.Web;  
  5. using System.Web.Services;  
  6. using System.Web.UI;  
  7. using System.Web.UI.WebControls;  
  8. namespace ERP_Suit  
  9. {  
  10. public partial class WebForm1 : System.Web.UI.Page  
  11. {  
  12. protected void Page_Load(object sender, EventArgs e)  
  13. {  
  14. }  
  15. [WebMethod]  
  16. public static string GetUserName()  
  17. {  
  18. string name = "test name";  
  19. // Do Your Logics Here  
  20. return name;  
  21. }  
  22. }  
  23. }  
Let me if you have any clarification. ...
Thanks...,
0