C Sharp - C#

Snippets


C Sharp - C#

 

NO Image:
02
        public string ReturnBooleanAsYes_or_No(Boolean choice)         {  ...

[Read the rest of this article...]

bool, boolean
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
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 2 of 7First   Previous   1  [2]  3  4  5  6  7  Next   Last