How to fix SQL Network Interfaces, error: 26

Posted by & filed under ASP.NET.

you may get the following error when you have developed an application, and then you move your site to another server (like your web host's server):

An error has occurred while establishing a connection to the server. When connecting to

encodeURI 関数

Posted by & filed under JavaScript.

JavaScript中で、エンコーディング方法。Dictionary中で活用しました。

リンク: 15.1 Global オブジェクト (The Global Object).
decodeURI 関数は新しいバージョンの URI を算出する。その中で、各エスケープシーケンスと encodeURI 関数により取り入れられる種類の UTF-8 符号は、そのあらわす文字に置換される。 encodeURI により取り入れられることのないエスケープシーケンスは置換されない。

decodeURI 関数が 1 個の引数 encodedURI で呼出されるとき、次のステップが取られる:

  1. ToString(encodedURI) を呼出す。
  2. reservedURISet を、 uriReserved と “#” の内で有効な各文字の一例を構成する文字列とする。
  3. Decode(Result(1), reservedURISet) を呼出す。
  4. Result(3) を返す。

Multiple Active Result Sets

Posted by & filed under ADO.NET.

理解しにくい・・・・・・
 Multiple Active Result Sets, or MARS, is a new feature supported by ADO.NET that allows the implementation of multiple batches on a single connection.

MARS has the ability to have more than one pending request under a given SQL

Asynchronous Operations

Posted by & filed under ADO.NET.

新しい機能、勉強しないと・・・・・・

New Features of ADO.NET 2.0
Asynchronous Operations

ADO.NET 1.1 and earlier required your data access operations to be synchronous. ADO.NET 2.0 includes new methods for the Connection and Command classes that permit you to execute asynchronous operations.

In a

Batch Updates

Posted by & filed under ADO.NET.

New Features of ADO.NET 2.0
Batch Updates

Batch support in ADO.NET 2.0 allows a DataAdapter to group insert/update/delete operations from a DataSet or DataTable to the server, instead of sending one operation at a time. The reduction of round trips