PageRenderTime 45ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/App_Code/GlobalVariable.cs

https://bitbucket.org/xpertech/paycell
C# | 42 lines | 38 code | 4 blank | 0 comment | 0 complexity | 7defd1a3aaddd2bc5289e4c287549df8 MD5 | raw file
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Data.SqlClient;
  6. using System.Configuration;
  7. public class GlobalVariable
  8. {
  9. public const int UserId = 1;
  10. public const int GroupId = 1;
  11. public static int Status = 0;
  12. public static string UserName = "administrator";
  13. public static string Password = "@admin123";
  14. public static SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["smsportalConnectionString"].ToString());
  15. public enum Session
  16. {
  17. Reguserid,
  18. PlanId,
  19. InUserId,
  20. groupid,
  21. MobileNumber,
  22. DedicatedNumber,
  23. MsgText,
  24. MsgTo,
  25. PayState,
  26. Amount,
  27. Messages,
  28. Keywords,
  29. Groups
  30. }
  31. public enum MsgStatus
  32. {
  33. pending,
  34. scheduled,
  35. Sent,
  36. Canceled
  37. }
  38. }