4pm work summary
文章平均质量分 64
zhangxiao86
这个作者很懒,什么都没留下…
展开
-
Email Refresh Reminder(Onview.ie)
private void PropertiesRefreshReminder() { try { var now = DateTime.Now; var dlo = new DataLoadOptions(); dlo.LoadWith(c原创 2012-11-22 07:30:25 · 379 阅读 · 0 评论 -
OpenId Summary2 (Google Account)
1,Google Article for login with googlehttp://code.google.com/apis/accounts/docs/OAuth2Login.html2, Register your web app into Googlehttps://code.google.com/apis/console/b/0/?pli=1#project:4623原创 2012-01-21 06:44:19 · 1309 阅读 · 0 评论 -
OpenID Summary1 (Facebook)
1,register the facebook apphttps://developers.facebook.com/apps/1889653145181422, Use the Facebook C# SDK (js)http://facebooksdk.codeplex.com/wikipage?title=Getting%20Started%20with%20an%2原创 2012-01-21 06:29:14 · 473 阅读 · 0 评论 -
First Version Image service for Mobile App(Odata.svc)
1, template modelis model, something likepublic class TemplateDetails : Template { public string Author { get; set; } public string Tags { get; set; } p原创 2012-01-21 06:52:26 · 265 阅读 · 0 评论 -
Old version SEO page(View)
@{ IEnumerable model_template = ViewBag.model_template; IEnumerable taglist = ViewBag.taglist;} @foreach (var template in model_template) { System.Text.StringBuilder tagsstring =原创 2011-11-03 01:45:35 · 291 阅读 · 0 评论 -
Old version Sitemap @ 4pmdesign
public ContentResult Sitemap() { //Code to generate a random double to add it to the lastmode node and rest it from datetime.now to show always a different time of modification原创 2011-11-03 01:42:19 · 325 阅读 · 0 评论 -
Old Version SEO page (controller)
// ############################################# SEO page showing each template details ####################################### // public ActionResult SEOpage(int templateId) {原创 2011-11-03 01:44:34 · 240 阅读 · 0 评论 -
Linq 4pm superadmin
protected void showAgent() { using(var dc = new DAL.findahome.findahomeDataContext()) { //tmp bool var for judging原创 2011-08-16 00:54:15 · 250 阅读 · 0 评论 -
Mvc Helper for Edit
@helper createEditFormForTemplate(string id) { @* INTERFACE DESIGN *@ Tmpl Id:原创 2011-09-02 23:38:12 · 331 阅读 · 0 评论 -
LINQ for SuperAdmin (Add the property count) -- join & count function
LINQ Code //Search with linq var TBsearch = from tb in dc.Agencies join tb1 in dc.Users on tb.idUser equals tb1.idUser join tb2 in d原创 2012-01-29 01:03:18 · 196 阅读 · 0 评论 -
Office Management page(Agent.onview)
1, Office.aspx Office Management Basic原创 2012-02-03 05:57:42 · 356 阅读 · 0 评论 -
Email Report engine
codeusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Diagnostics;using System.Linq;using System.Linq.Expressions;using System.ServicePr原创 2012-04-30 17:34:50 · 902 阅读 · 0 评论 -
4pm BackUP -- Sharing Room List
strOutput.AppendFormat("") strOutput.AppendFormat(" ") strOutput.AppendFormat("") 'Room-only Let If iHouseSharingAvailable "0" Or iHouseSharingExpired原创 2012-09-06 07:57:57 · 305 阅读 · 0 评论 -
superAdmin: Quickly change the status of EmailReport && Property
1, List page(aspx.cs) if (resultList.ElementAt(i).frequency == -1) { listStr += " Closed TurnOn"; } else if (res原创 2012-06-30 19:37:16 · 450 阅读 · 0 评论 -
4pm sql command backup
1, turn on Email report for all agents of IPAV, if they have any property.update [findahome].[dbo].[AgentContactFrequency] set Frequency = 7 where AgentId in ( SELECT Distinct(acf.AgentId) FRO原创 2012-07-11 06:17:59 · 271 阅读 · 0 评论 -
4pm backup -- Query for report && print
Report && PrintsSELECT DISTINCT p.idList, p.ListRef, p.AddressLine1, p.Postcode, p.Description, p.idPropMarket, t.Id, d.DistrictName, c.CountyCityName,bl.TotalRooms, p.PriceVal, f.FrequencyName, pt.原创 2012-06-20 23:40:52 · 250 阅读 · 0 评论 -
MVC4 cascading dropdownlist && backup(findahome)
1, view page(jquery)@{ ViewBag.Title = "Home Page";}New Findahome Test ---Any--- @foreach (var market in Mvc4Findah原创 2012-05-26 06:31:34 · 308 阅读 · 0 评论 -
ADO.NET Insert command function
'=========================================================== '=========================================================== ' Function: gInsertPropBrochure_others ' Purpose: Optional Insert原创 2012-05-21 04:27:52 · 359 阅读 · 0 评论 -
4pm sql command back up
get all the agents or agency that belong to IPAV SELECT * from [findahome].[dbo].[Agent] agent left join [findahome].[dbo].[AgencyOffice] ao on ao.idOffice = agent.idOffice left join [findahome原创 2012-06-07 04:52:46 · 211 阅读 · 0 评论 -
email report template
Email Report template for Onview Onview.ie Property Report {1:dd MMM \'yy} Hi {2} - Welcome to your Onview.ie Property Report原创 2012-04-30 03:00:43 · 634 阅读 · 0 评论 -
SQL 查询
Dim sql1 As String = "SELECT Ams_Position.id_ams_position, Ams_Position.name_ams,Ams_Position.code_ams,Country.CountryName,CountyCity.County原创 2011-07-26 17:22:10 · 238 阅读 · 0 评论 -
DistrictGroup Code
If QueryDistrict <> gNoPreference Then If (QueryDistrict > 0) Then objCmd.CommandText = "SELECT Distr原创 2011-07-26 16:49:47 · 269 阅读 · 0 评论 -
随机显示广告的关键代码--4PM
<br />部分代码: <br />search-result.aspx<br /> <br /><%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/brochure.Master" CodeBehind="search-result.aspx.vb" Inherits="LetByNet2.search_result" %><%@ Import Namespace="GlobalWebBLL.BLLDB原创 2011-05-31 21:28:00 · 308 阅读 · 0 评论 -
随机数 随机图片显示
<br />随机数文件 aspx<br /><%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><%@ Import Namespace="System.IO" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xh原创 2011-05-30 22:14:00 · 692 阅读 · 0 评论 -
Reorderlist
<br />Reorderlist:<br /> <br /><%@ Page Language="C#" MasterPageFile="~/DefaultMaster.master" AutoEventWireup="true" Inherits="CommonPage" Title="ReorderList Sample" Theme="SampleSiteTheme" %><%@ Register Assembly="Aja原创 2011-05-23 05:59:00 · 643 阅读 · 0 评论 -
4CM Paging ISSUE
<br />Test Programme<br /><%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html原创 2011-04-02 05:22:00 · 284 阅读 · 0 评论 -
task2 treeview3
<br />using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data.SqlClient;using System.Data;public partial class _Default : System.Web.UI.Page{原创 2011-03-18 08:12:00 · 292 阅读 · 0 评论 -
4PM Task2 successful version(20110318)
<br />Category.aspx<br /><%@ Page Language="C#" AutoEventWireup="true" Codebehind="Category.aspx.cs" Title="GlobalWebProduct Category" Inherits="_4cm_ie.Admin.Category" MasterPageFile="~/Admin/Admin.Master" EnableEventValidation="false" Trace="false" %>原创 2011-03-18 21:29:00 · 264 阅读 · 0 评论 -
task2 treeview2
<br />using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data.SqlClient;using System.Data;public partial class _Default : System.Web.UI.Page{原创 2011-03-18 05:47:00 · 308 阅读 · 0 评论 -
task2 treeview
<br /> <br />using System;using System.Collections.Generic;using System.Reflection;using System.Web.UI;using System.Web.UI.WebControls;using GlobalWebProduct.Database;using GlobalWebProduct.Other;using GlobalWebProduct.WebController;using G原创 2011-03-05 04:30:00 · 251 阅读 · 0 评论 -
4pm 方法操datagrid
1,建立数据库连接#Region " Open connection " =========================================================== Function: openDBConnection Purpose: provides an SQL connection to the server原创 2011-06-04 00:26:00 · 300 阅读 · 0 评论 -
4PM ISSUE(3)_Thumbnail
测试程序 解决缩率图问题Default.ASPX Welcome to ASP.NET!原创 2011-04-19 21:15:00 · 299 阅读 · 0 评论 -
AMS工作总结
本周主要的工作是为LetByNET开发一个新的AMS:1,AMS的显示,我使用的是GridView控件<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AllowPaging="false" OnRowDataBound= "selectcolor" ‘鼠标颜色变化的sub On原创 2011-06-12 00:51:00 · 354 阅读 · 0 评论 -
4pm: edit letbynet ams for support Google Ad manager
Dim dd As Array = list_ad.ToArray() Dim strArray As System.Text.StringBuilder = New System.Text.StringBuilder If Not d原创 2011-07-22 18:56:36 · 378 阅读 · 0 评论 -
LINQ 增删改
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data.SqlClient;using System.Data;pub原创 2011-06-27 23:01:00 · 220 阅读 · 0 评论 -
4pm filter for p category(有关数据库的操作)
1,==================================================================== Function: gGetPropcateTypeListByPropMarketIds Purpose: Retrieves list of property category for specific markets原创 2011-06-23 23:33:00 · 271 阅读 · 0 评论 -
Findahome advert final(LinQ)
###################################################################################################################################### ################################## Ad原创 2011-06-21 05:34:00 · 199 阅读 · 0 评论 -
Random in .net
###################################################### Advert Banner Showing System ###################################################################### Dim rand As Ra原创 2011-06-20 22:39:00 · 219 阅读 · 0 评论 -
Findahome advert showing system
###################################################################################################################################### ################################## Adver原创 2011-06-18 00:53:00 · 393 阅读 · 0 评论 -
AMS工作总结
本周主要的工作是为LetByNET开发一个新的AMS:1,AMS的显示,我使用的是GridView控件<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" AllowPaging="false" OnRowDataBound= "selectcolor" ‘鼠标颜色变化的sub On原创 2011-06-12 00:58:00 · 270 阅读 · 0 评论