Guest User

Untitled

a guest
Feb 21st, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.31 KB | None | 0 0
  1.     [WebMethod]
  2.     public static long GetLatestBubbleTick()
  3.     {
  4.         string CurrentUser = HttpContext.Current.User.Identity.Name;
  5.         DataTable dt = Bubbles.GetAll(CurrentUser);
  6.         DataRow row = dt.Select("", "cb_DateTime DESC")[0];
  7.         return ((DateTime)row["cb_DateTime"]).Ticks;
  8.  
  9.     }
Add Comment
Please, Sign In to add comment