自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(38)
  • 收藏
  • 关注

原创 Salesforce - Log an event with populated value

Task: Create two custom button for Sales to log their F2F or P2P meeting. The pop

2014-07-04 12:42:56 659

原创 example of using ActionFunction in Salesforce

VisualForce Page: function getEnteredCommunityCode(){ var enteredCode = document.getElementById("communitiesSelfRegPage:theForm:CommunityCode"); //alert(entered

2014-06-04 13:57:19 1148

原创 example of using ajax in VisualForce page

var __sfdcSessionId = '{!GETSESSIONID()}';                  type="text/javascript">            //window.onload = setupPage;                        function checkCampus(){     

2014-06-04 07:27:59 1170

原创 将Wordpress站点从虚拟主机移植到本地服务器

为了方便对模板就行修改,经常需要镜像wordpress站点到本地。本文将一步一步的介绍操作过程以及需要注意的事项1. 环境说明本地服务器使用WAMP假定线上站点域名为 www.domain_name.com本地站点链接为 localhost:8080/domain_name/WAMP的网站目录为c:\wamp\www2. 复制站点文件到本地使用FTP

2014-03-07 12:03:13 3352

原创 Conga Composor template building - Salesforce

While building up a quote template, it's common that you want to show only part of the table records that meet the particular criteria. This could be tricky, as Conga Composer doesn't allow conditio

2014-03-04 18:26:40 787

原创 dns look up command

nslookupserver 8.8.8.8set type=txtcomputelec.com.au

2014-02-03 08:37:06 494

原创 How to delete duplicate records from tables without Primary key

SET ROWCOUNT 1DELETE FROM [TableName]WHERE [ConditionColum] = ‘conditionValue’( and .....)

2013-10-29 07:28:42 419

转载 SQL Server - Saving changes is not permitted

If you get the following error message when you re-design the table and couldn't save it:Saving changes is not permitted. The change you have made requires the following table to be dropped and

2013-10-20 08:50:01 891

原创 Example of Sending email with attachments in C#

//file pathstring file_ddr_service_agreement = HttpContext.Current.Server.MapPath(@"~\service_solutions\freedom_to_learn\FTL_online\myorder\schoolpages\Direct_Debit_Agreement-2013\") + "Comput

2013-10-16 13:37:26 825

转载 Solution for SQL Server 2008 R2 Management Studio Intellisense not working

Microsoft® SQL Server® 2008 R2 Service Pack 1 to fix it via following link:Microsoft® SQL Server® 2008 R2 Service Pack 1Reference: http://stackoverflow.com/questions/552458/why-is-sql-se

2013-10-15 12:16:26 448

原创 Dynamics GP report Note

1. The invoice template which is used to print out are located in //Common/GP Reports/    Unposted Invoice Template:     SOP INVOICE Unposted_sp_DRM_SOP_INVOICE.rpt    SOP Document - Blank INV

2013-09-27 08:55:23 776

原创 Linq to SQL 文件上传到服务器后未实例化问题

Got a weird issue today with a LINQ to SQL dbml file.It did work all right in local host but collapse after uploading to the web server.It threw an Object reference not set to an instance of a

2013-09-25 08:41:00 564

转载 Mail merge

Mail Merge from Word with another sourceWhen you want to send out personal emails via Outlook but the information itself isn’t in Outlook, then you can start your mail merge from within Word as we

2013-09-11 10:44:50 982

转载 GroupName of radiobutton doesn't work in gridview

Solution:asp:TemplateField HeaderText="Fake group"> ItemTemplate> asp:RadioButton ID="MyRadioButton1" runat="server" GroupName="FakeGroup" AutoPostBa

2013-08-15 14:27:46 533

原创 reporting services tips

三元表达式:=IIF(Fields!WEIGHT.Value

2013-08-13 11:20:50 340

转载 VS2010 hotkey

1. FormatCtrl + K + D (Entire document)Ctrl + K + F (Selection only)orCtrl+E, Ctrl+D to format the entire document.Ctrl+E, Ctrl+F to format the selection.

2013-07-01 08:49:17 446

原创 wordpress admin FAQ

1. 'Access Denied.' error when try to log in to the dashboard.Use FTP tool to check the permission of wp-login.php(777) and wp-login.php(644)

2013-06-27 13:24:38 383

原创 Word 常用功能技巧总结

1. Mail Merge incorrect font size issuesolution: select the merged field, press alt+F9, change it to {Mergefield fieldname \*charformat}

2013-05-06 12:57:26 515

原创 HTML CSS frequently occurred issues and solutions

1 Web page1.1 Remove the blue border of images which have a hyperlinkAdd border="0" attribute to the img element.2 EDM2.1 the point in the front of each li element doesn't showuse table

2013-04-30 08:41:35 808

转载 Reference for SendMail in ASP.NET

using System.Net;using System.Net.Mail;using (MailMessage message = new MailMessage()){    message.To.Add(new MailAddress("[email protected]")); //收件人邮箱    message.Subject = "通过配置文件设

2013-04-09 09:37:06 521

原创 windows IIS: allow inbound visit

After setting up the website in IIS, you find find that you can visit the website from the server but can't access to it via the LAN.This is caused by windows firewalls, as it does block the inbound

2013-01-29 12:09:00 354

原创 regular expression for formating name

static string CapText(Match m){ // Get the matched string. string x = m.ToString(); // If the first char is lower case... if (char.IsLower(x[0])) {

2012-11-29 13:00:40 277

转载 .net 让textbox readonly的办法

给控件添加属性:onfocus=this.blur()

2012-11-27 07:44:47 297

原创 Excel功能技巧总结

1. 添加dropdownlistStep 1.1:在一个新sheet中输入要作为选项的值,每个单元格一个,纵向。Step 1.2:选中全部选项,将上方菜单的名字修改成你想要的列表名字Step 1.3:点中需要设置下拉菜单的单元格,选择data,data validation, 降低一个tab中的任何值选择成list。在新窗口中输入=, 然后按下F3键,

2012-11-18 10:23:06 735

转载 解决IE8,IE9启用和禁用兼容模式的方法

在html的head部分加入如下代码,解决了所有问题

2012-11-02 07:35:50 6182

转载 防止退格键使页面后退的代码

$(document).ready(function () { $(document).keydown(function (e) { var doPrevent; if (e.keyCode == 8) { var d = e.srcElement || e.target

2012-10-11 12:05:04 911

转载 CSS - position:absolute VS position:relative

用Div+CSS进行网站布局时,做一些浮动层等特殊特殊效果时要考虑到定位问题。这就要用到Position属性等。Position属性有四个值:static、fixed、absolute和relative,后面两个在布局中的定位里是经常用到的,顾名思义,absolute是指绝对定位,即将对象从文档流中拖出,使用left,right,top,bottom等属性进行绝对定位,而其层叠通过z-i

2012-09-05 10:06:11 366

原创 将asp文件上传到server后遇到'Could not load type'的错误原因

刚接触asp.net的人,在把文件上传到server后可能会遇到 ‘Could not load type’ 的错误aspx页面中如果把页面顶部的Inherits属性删除也能临时解决这个问题实际上这个错误是因为没有上传bin文件夹及其内容到服务器造成的在编译项目时,vs会把文件按照namespace编译成dll文件,页面载入时需要用到这些文件所以再上传项目时要把项目编译好,然后把b

2012-08-30 13:52:12 1183

原创 HTML中的 <base> 元素用法

base元素指定当前页面中所有链接的基础路径。如果没有base的话,页面里的所有相对路径在生成绝对路径的时候都会以自己的物理位置作为默认的基础路径。举例来说,www.aaa.com/bbb/ccc.html 中的基础路径是bbb文件夹内在这里, ./代表上当前路径 bbb/                ../代表上一级路径 www.aaa.com/

2012-08-24 07:34:08 5085

转载 asp.net获取当前网址url的各种属性(文件名、参数、域名 等)的代码

用 asp.net获取当前网页地址的一些信息。设当前页完整地址是:http://www.jb51.net/aaa/bbb.aspx?id=5&name=kelli "http://"是协议名 "www.jb51.net"是域名 "aaa"是站点名 "bbb.aspx"是页面名(文件名) "id=5&name=kelli"是参数 【1】获取 完整url (

2012-08-06 10:11:32 517

原创 VS2010后台的intelisense能自动补全前台空间名,编译却说识别不了控件名

今天VS2010遇到个离奇的问题几天前写的代码突然编译报错,说该id的控件不存在更奇怪的是,在后台vs2010还能自动补全识别不了的前台空间名...折腾好好久也没搞明白为什么后来突然发现同个文件夹里有一个前几天的备份,因为是ctrl+拖动复制的,名字前面相同,后面多了-copy尝试了删除,问题竟然解决了..... 还能是同名造成的编译时冲突?比较奇怪的是那个备份是一

2012-08-03 14:31:55 1543

原创 让一层div遮住全窗口 另一层显示登陆框自动居中的css代码

#div_mask { margin: 0 auto; width: 100%; height: 100%; z-index: 200; background-color: Black; position: fixed;

2012-08-01 14:53:20 2555

原创 aspnetpager实例

前台:<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>

2012-08-01 14:31:12 743

原创 allowDefinition='MachineToApplication' error solution

The error "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an

2012-06-07 12:14:34 518

转载 linq中的Single()、First()、Take(1) 区别

Single():操作一个集合,同时强要求只有一个对象匹配,并返回这一个。First():操作一个集合,可以有多个对象匹配,但是只返回第一个。Take(1):操作一个集合,可以有对个对象匹配,单只返回第一个,但是这里返回的是一个集合,而不是单个的概念。

2012-05-18 14:23:00 2211

原创 LINQ study notes

LINQ study notes1. LINQ concept:LINQ stands for language integrated Query. You can retrieval datafrom various sources (SQL database, list, object, xml, array) by just using LINQ,instead of differe

2012-05-15 22:14:20 307

原创 Property in C#

While learning C#, the Property confused me a lot, as it is very similar to the member variable in class.there are must  some reasons for its existence, otherwise it will simply replaced by the memb

2012-05-15 22:13:10 337

原创 java中的序列化

java中提供很方便的将对象转换成byte数组用于进行文件输出,网络传输等目的———序列化今天由于被一个序列化的小问题折磨了2小时,于是决定做个总结,以备不时之需。 序列化的实现很简单,只要在声明class的时候 implements Serializab

2011-09-06 11:52:00 1688 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除