本文整理汇总了C#中Organization.getComapnyProfile方法的典型用法代码示例。如果您正苦于以下问题:C# Organization.getComapnyProfile方法的具体用法?C# Organization.getComapnyProfile怎么用?C# Organization.getComapnyProfile使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Organization
的用法示例。
在下文中一共展示了Organization.getComapnyProfile方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: insertCompanyProfile
//insert the comapany details
protected void insertCompanyProfile()
{
Organization org = new Organization();
org = org.getComapnyProfile(email);
name.InnerHtml = org.Name;
industry.InnerHtml = org.Industry;
description.InnerHtml = org.Description;
address.InnerHtml = org.Address;
phone.InnerHtml = org.PhoneNumber;
fbPage.InnerHtml = org.FbWebsite;
fbPage.HRef = org.FbWebsite;
website.InnerHtml = org.WebSiteUrl;
website.HRef = org.WebSiteUrl;
}
示例2: insertCompanyProfileIntoForm
//insert the company information to the edit from
protected void insertCompanyProfileIntoForm()
{
Organization org = new Organization();
org = org.getComapnyProfile(email);
List<Industry> indList = new List<Industry>();
indList.AddRange((new Industry()).GetAllIndustries());
foreach (Industry ind in indList)
{
formIndustry.Items.Add(ind.Name);
if (ind.Name == industry.InnerText)
{
formIndustry.Items.FindByText(ind.Name).Selected = true;
}
}
formName.Value = org.Name;
formDescription.Value = org.Description;
formAddress.Value = org.Address;
formPhone.Value = org.PhoneNumber;
formFbpage.Value = org.FbWebsite;
formWebsite.Value = org.WebSiteUrl;
}