C Sharp - C#

Snippets


C Sharp - C#

 

11
DotNetNuke.Security.Roles.RoleController rolesController = new DotNetNuke.Security.Roles.RoleController(); UserRoleInfo role = rolesController.GetUse...

[Read the rest of this article...]

DNN User Roles
25
                    ListItem lisource = ddlDonationSour...

[Read the rest of this article...]

Dropdown list
26
CheckProfilePropertyExists("PrimaryJob").ToString();   public string CheckProfilePropertyExists(string propertyName) { string value = null; ...

[Read the rest of this article...]

DNN User Profile
11
Try this . . . . <asp:TemplateField HeaderText="Thank You Letter"> <ItemTemplate> <asp:Label ID="lblTYLetter" runat="server" Text...

[Read the rest of this article...]

GridView TemplateField
11
//public DonationTrackerInfo DonationTrackerPledgeGetPledgeByID(int pledgeID) //{ // return (DonationTrackerInfo)CBO.FillObject(DataProvider.Insta...

[Read the rest of this article...]

DNN Controller
Posted in: C Sharp - C#
04
DNN now returns the long state name when using DotNetNuke.Entities.Users.UserInfo . . . Here's an easy workaround for returning the 2 letter stat...

[Read the rest of this article...]

State Name, State Code
Page 1 of 6First   Previous   [1]  2  3  4  5  6  Next   Last