- 博客(102)
- 收藏
- 关注
原创 senddr partner API -- OAuth Issues
OverviewSome common OAuth issues and explanations as to how you can fix them.Token rejectedToken expiredNonce usedTimestamp refusedSignature method rejectedSignature invalidPermission Denied
2013-06-06 00:01:09
1270
原创 senddr partner API -- overview && Authentication
API Overview The Senddr Partner API is a web service and used the OAuth(1.0a) protocol to authenticate partner applications.AuthenticationoverviewSenddr Partner API use the stand
2013-06-05 22:01:14
589
原创 senddr partner api -- Invoice
InvoicesInvoice API URL: http://api.senddr.com/v1.0/Invoices.aspxNote: The value used for can be 'source' or 'destination'The value used for can be ‘Source hold’, ‘Destination
2013-06-04 22:53:41
748
原创 Jquery Dialog based on ASP.NET
https://secure.senddr.com/invoice_list.aspx?t=2 $(document).ready(function () { // Dialog for send to refresh queue $("#dialog").dialog(
2013-01-29 01:29:01
555
原创 SQL Server 知识总结
1, 如何在sql query里运行带参数的stored proceduresEXEC st_queryname @id = 2, @date= 2012
2012-12-19 07:46:21
273
原创 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
437
原创 API for parse Posting XML
Imports SystemImports System.DataImports System.Data.SqlClientImports System.XmlPartial Class api01get Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e
2012-11-16 21:04:31
411
原创 Jquery usage at ASP.NET
(JQuery / JavaScrpt) Running at the Backend1, Popup Function with URL as Parameters Private Sub Popups(ByVal URL As String) ClientScript.RegisterStartupScript(Me.GetType(), "newWindow"
2012-11-07 00:53:57
265
原创 professional java Learning【2】 --- Collection
Collection 是一个super interface in the collection frameworkMap 是另外一个 super interfaceList: is an ordered collection of items (允许重复实体的出现) 例如:ArrayList, LinkedList, VectorMap: map keys t
2012-11-02 04:07:23
373
原创 Install the Windows Service on PC
Run VS command prompt in admin modeINSTALL:e:cd\cd Dropbox\Senddr\www_root\Senddr Queue Manager\Senddr Queue Manager\obj\x86\DebugorD:\Senddr Queue Manager\Senddr Queue Manager\Senddr
2012-10-20 00:26:07
311
原创 JavaScript PopUp and Redirect parent windows when close down(弹出窗口 关闭后主页面跳转)
How to PopUp a new window<!--function popitup(url) { newwindow=window.open(url,'name','height=200,width=150'); if (window.focus) {newwindow.focus()} return false;}// -->PS: the Top and Le
2012-10-16 06:34:09
601
原创 Professional Java Learning【1】
***************************************************************************************************************************************************************************************Java 数据类型
2012-10-15 18:26:59
393
原创 Read XML with namespace
using System.Xml.Linq;using System.Xml.XPath;using System.Xml; string myxml = @" 1
2012-10-05 22:55:52
271
原创 HTML 特殊字符 HTML Entities
ResultDescriptionEntity NameEntity Number non-breaking space less than<<>greater than>>&
2012-09-28 01:25:47
633
原创 proxy software with bugs solution
http://us.dongtaiwang.com/loc/download.en.phpInstall this software, and then it can auto setting Go to the regedit.exeHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Inte
2012-09-23 17:24:53
570
原创 xero备份
20120921old// ******* TODO: The Offical Post Invoice List Function ******* public void PostInvoices(List _ListSenddr) { using (var sw = new StringWriter())
2012-09-22 00:25:14
419
原创 ASP.NET Chart usage with LINQ
table1, user : ID username password2, userdata: ID UID datetime HR BRASPXDiagram <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true" onselectedindexch
2012-09-09 07:27:24
545
原创 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
334
原创 C# 读取EntireWeb的XML形式的API
C# Deserializing XML from API returns(EntireWeb)using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using Syste
2012-09-05 08:51:51
511
原创 C# 面向对象(1)
1, 计算银行利息的类using System;public class SavingsAccount{ private static double annualInterestRate = 0.0; // the static variable must be assign value private double savingsBalance; pub
2012-08-25 05:13:15
279
原创 LINQ & Generic Basic
The Quick sample to show the basic LINQ. easier to operate an Arrayusing System;using System.Linq;using System.Collections.Generic;public class Class1{ public static void Main() {
2012-08-18 22:01:01
245
原创 Waiting Image When search result is on load
It need to use the Ajax Extension1, ASPX
2012-08-01 16:29:00
247
原创 ASP.NET(c#) MesageBox JS Alert and Other Debug tools
MesageBox JS Alert string script = "alert('New Password is Created');\n"; Page.ClientScript.RegisterStartupScript(GetType(), "msgbox", script, true);***************************
2012-07-29 22:13:01
342
原创 asp.net prepared for Interview (4)
ADO.NETDifferent between DataReader and DataSet:The DataReader object helps in retrieving the data from a database in a forward-only, read-only mode. string connectionString =
2012-07-23 03:31:54
311
原创 Azure Cloud Computing
How to upload file by Blob Storageusing Microsoft.WindowsAzure;using Microsoft.WindowsAzure.StorageClient;using System.IO;var storageAccount = CloudStorageAccount.DevelopmentStorageAccount;
2012-07-19 00:18:03
399
原创 UCD Search Engine Project summary
Split the string by BOOLEAN keywords:Example: split string by "AND"using System;namespace stringtest{class test{public static void Main() { string words = "This is a list of words
2012-07-13 02:41:16
319
转载 joomla上传方法
1-将之前安装的Joomla原版文件夹中的installation文件夹复制到你的网站的文件夹原来的位置,并且删除/installation/sql/mysql/中的sample_data.sql,这个不是你要的数据!2-查找网站的文件夹删除configuration.php文件。3-使用phpMyAdmin中的导出(Export)数据库功能导出你的数据,导出的时候可别忘了勾选DROP TAB
2012-07-12 00:30:45
996
原创 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
302
转载 SQL 增删改查 参考 基础
一、增:有4种方法 1.使用insert插入单行数据: 语法:insert [into] [列名] values 例:insert into Strdents (姓名,性别,出生日期) values ('开心朋朋','男','1980/6/15') 注意:into可以省略;列名列值用逗号分开;列值用单引号因上;如果省略表名,
2012-07-08 07:30:47
773
原创 SQL Prepared for Interview
With SQL, how do you select all the records from a table named "Persons" where the "LastName" is alphabetically between (and including) "Hansen" and "Pettersen"?SELECT * FROM Persons WHERE LastName
2012-07-07 08:50:11
383
原创 ASP.NET Prepared for interview(3)
.NET Framework 包含了一个巨大的代码库, 其包含了不同的块, 可以方便的调用*******************************************************************************************************************************************************
2012-07-06 21:43:34
310
原创 高效的字符串反转函数
c++#include #include using namespace std;int main(){char s[] = "abcdefghigklmnopqrstuvwxyz";char c;for(int i=0,j=strlen(s)-1;i<j;++i,--j){c = s[i];s[i] = s[j];s[j] = c;}for(int n=0;
2012-07-05 23:29:08
472
原创 C# read XML file
xml file (test.xml) Tove Jani Reminder Don't forget me this weekend!C# codeusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;
2012-07-02 01:38:16
580
原创 C# Call Web API and Parse JSON
Example:(Json file){ "displayFieldName" : "OBJECT_NAME", "fieldAliases" : { "OBJECT_NAME" : "OBJECT_NAME", "OBJECT_TYPE" : "OBJECT_TYPE" }, "positionType" : "point
2012-07-01 08:46:57
821
原创 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
519
原创 Bing Web API usage by ASP.NET(C#)
Front-end <asp:Button ID="CallBingAPI" runat="server" Text="Call Bing" onclick="CallBingAPI_Click" /> Back-endusing System;using System.Collections.Generic;using Syst
2012-06-29 23:32:47
467
原创 ASP.NET & Jquery
AjaxResponse.aspx.csusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.Services;namespace
2012-06-28 03:23:25
310
原创 windows server 2008 tips @ complete letting
1, how let the host may access the virtual machine?change network adapter as bridged adapter (and set the DNS same as host)2, Install the IIS with FTP, FTP service need restart manually3
2012-06-24 01:12:36
245
原创 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
274
原创 ASP.NET Prepared for Interview(2)
ASP.NET Prepared for Interview(2)Partial Classclass1.csusing System;namespace NSpartial{partial class testclass{public void first(){Console.WriteLine("hello from first method!");}
2012-06-18 10:08:04
364
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人