Guest User

Untitled

a guest
Aug 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. Using int32 Session variable as datasource parameter
  2. Session["UserIDNumber"] = Convert.ToInt32(UserInfo.UID);
  3.  
  4. <SelectParameters>
  5. <asp:SessionParameter DefaultValue="1" Name="ThisUserID" Type="Int32" SessionField="UserIDNumber" />
  6. </SelectParameters>
Add Comment
Please, Sign In to add comment