culturenet

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  20 随笔 :: 2 文章 :: 136 评论 :: 17 引用

最新评论

共3页: 1 2 3 下一页 
Re:汉字区位码查询 于红超 2011-06-13 16:14  
这个方法真的很不错,但是传入没有区位码的汉字会返回别的汉字的区位码,请问楼主这个怎么处理啊.
谢谢斑竹分享,虽然TEXT选项卡那描述的不是很清除,但是经过一系列的实验。还是成功了。
re: 汉字区位码查询 吴星玥 2008-12-07 15:02  
帮我查查吧.
re: 汉字区位码查询 侯立东 2008-07-23 09:32  
--引用--------------------------------------------------
张小飞: 电风扇电风扇
--------------------------------------------------------
--引用--------------------------------------------------
张小飞: 电风扇电风扇
--------------------------------------------------------
请问斑竹g_bWinLogin是指什么呢?
这个方法不错,

4楼说的什么方法好像完全是没经过测试的猜想,或者是他根本没弄清楚是啥问题
re: [导入]汉字区位码查询 我叫你可乐 2007-09-19 19:41  
我的qq是641638138``可乐如果你看到的话加我好吗?我找了你好久了``
re: [导入]汉字区位码查询 我叫你可乐 2007-08-29 21:47  
@国鲁涛
可乐你知道我是谁吗?我一直在找你你知道吗?
去年我的手机掉了密码也找不到没法打电话单子找你的电话``好不容易用户卡找到了改了密码却被告知去年的电话单子没法打了`````现在我又在我们已开始认识的地方打工了`` 你会看到吗?

我找了你好久好久....什么方法都用尽了``就差没冲进警察局让他们帮我查了``` 我想向你解释```可乐你在哪里啊```
呵呵,大工也是我的母校啊,呵呵,校友啊。
re: flash的传值问题[未登录] culturenet 2007-07-31 12:27  
今天看到了一个更好的方式: 用%26替换掉“&”。


相关地址: http://www.permadi.com/tutorial/flashVars/


Both tags serve the same purpose, to specify a Flash movie. However, most Netscape browsers only understand EMBED tags, while Internet Explorer only understand OBJECT tags. Whenever you specify a Flash movie, you should use both. So, when using FlashVars, there are also two slightly different syntax, one for the OBJECT tag, and the other one for EMBED tag.

For the OBJECT tag, the syntax is as follows: <PARAM NAME FlashVars VALUE=[variable1=value1&variable2=value2&variable3=value3...]>



The param tag must be nested within the OBJECT tag.

For the EMBED tag, it is as follows: <EMBED .... FlashVars=[variable1=value1&variable2=value2&variable3=value3...] ...>



Each variable variable and value pair is separated by a '=' sign. A '&' sign separates the each pair.
So for example, if I have two variables, userName and score, the tags would look like this: <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://macromedia.com/cabs/swflash.cab#version=6,0,0,0"
ID=flaMovie WIDTH=250 HEIGHT=250>
<PARAM NAME=movie VALUE="flaMovie.swf">
<PARAM NAME=FlashVars VALUE="userName=permadi&score=80">
<PARAM NAME=quality VALUE=medium>
<PARAM NAME=bgcolor VALUE=#99CC33>
<EMBED src="flaMovie.swf"
FlashVars="userName=permadi&score=80"
bgcolor=#99CC33 WIDTH=250 HEIGHT=250
TYPE="application/x-shockwave-flash">
</EMBED>
</OBJECT>



Several things that should be noted about variable names:

Use only letters, underline, and numbers. There should be no reason why symbols such as '$' or '#' must be used as variable names.
Do not start a name with a number (for example: 1message is an invalid variable name because it starts with a number; whereas message1 is a valid variable name).
Flash will certainly reject or get confused if you use a variable name that starts with a number or other special characters - except underlines (ie: _message, and _1message are valid names).
A variable name should not contain any <space> character (ie: my message is an invalid name, my_message is a valid name).
And for variable values, there are also rules:

Characters needs to be URL encoded (see: Introduction to URL Encoding). This means that special characters, such as =, &, <SPACE>, + need to be substituted with their URL encoded form. For example: name=John Doe. Here, the <space> between John and Doe needs to be encoded with + sign, so you need to pass it as name=John+Doe or name=John%20Doe. (Flash doesn't seem to enforce this, but you should follow the proper way.) Search for URL encoding on the net for more details on this subject.
If you need to include an & as part of a value, such as in ingredients=Beef&Pork, then you need to encode the & like this: ingredients=Beef%26Pork. The %26 is an encoded form of the & sign. The number 26 is the hexadecimal code of the character &. If you need to know the encoding value of a particular character, consult an ASCII table. There are other characters that need to be encoded, such as <, >, /, ?.

谢谢啊,不知能否发一个例子!
如何来添加数据库呀,大哥可以教教小弟吗?
大连理工大学附近,我的母校呀
re: 汉字区位码查询 有 2007-04-28 09:27  
好的
re: 汉字区位码查询 陈可 2007-04-14 20:08  
re: 汉字区位码查询 陈可 2007-04-14 20:08  
re: 汉字区位码查询 陈可 2007-04-14 20:07  
哦哦没
我也发现了这个问题,那位朋友能解释一下阿。
那个-1 的问题不是 oracle 的毛病

是 sqlService 版本的返回的是 bool
sqlService 的bool 有问题,-1 是 false
r 和 vb 一样
re: 汉字区位码查询 颜 2007-03-31 18:25  
凤凰花广交会鸡冠花机
re: 汉字区位码查询 颜 2007-03-31 18:24  
;;了;
re: 汉字区位码查询 张宏 2007-03-31 10:17  
汉字区位码查询
re: 汉字区位码查询 毛丹丹 2007-03-30 22:05  
帮我查一下我的区位码
好像不行喔~
2里面的sqlscript自己就执行了么?我是说它是怎么执行的呀,困惑困惑
我遇到了一个类似的问题,使用的是Enterprise Library2.0或者3.0,
调用函数如下:
public string GetProductDetails(int productID)
{
OracleDatabase db = (DatabaseFactory.CreateDatabase()) as
OracleDatabase;
string sqlCommand = "PakageName.ProcedureName";
System.Data.OracleClient.OracleCommand dbCommand =
(db.GetStoredProcCommand(sqlCommand)) as
System.Data.OracleClient.OracleCommand;
//两个参数:一个输入,一个输出
db.AddInParameter(dbCommand, "InPar", DbType.String, productID);
db.AddParameter(dbCommand, "refCur",
System.Data.OracleClient.OracleType.Cursor, 0,
ParameterDirection.Output,true, 0, 0, string.Empty, DataRowVersion.Current,
0);
DataSet ds = db.ExecuteDataSet(dbCommand);
string results = string.Empty;
foreach (DataRow dr in ds.Tables[0].Rows)
{
results += Convert.ToString(dr[0]) + Environment.NewLine;
}
return results;
}

具体的异常信息是:
{"ORA-04063: package body \"PakageName.ProcedureName\" 有错误\nORA-06508:
PL/SQL: 无法在调用之前找到程序单元\nORA-06512: 在 line 1\n"}
System.Exception {System.Data.OracleClient.OracleException}
内部的异常信息是:
ServerVersion “adapter.SelectCommand.Connection.ServerVersion”引发了“System.InvalidOperationException”类型的异常 string {System.InvalidOperationException}


我也是在网上找了,目前为止还没有找到合适的解答。
我想您应该有相关的经验,盼解答。


re: 汉字区位码查询 谭美 2007-01-24 13:28  
int chrasc=i1*256+i2-65536;
这个语句有什么用??
@曲滨

这个问题,等我忙完这几天,试一试看看。
@ahwey

是的,用vs.net 比较方便,而且可以用熟悉的c#.但是,vs.net做的界面比较单一(可能我没有找到更改界面设置的方法)。而用installshield则可以很简单的作出不错的界面。就像我上面的例子图片所显示的一样。
@我是阿呆

安装完成之后,执行:

regAspnet = WINDIR ^ "\\microsoft.net\\framework\\v2.0.50727\\aspnet_regiis.exe";

nResult = LaunchAppAndWait(regAspnet, "-k W3SVC/1/Root/asdf", WAIT);
/////
////// -k <path> 从指定的路径中以递归方式移除所有版本的 ASP.NET 的所有脚本映射。
//////// 例如,aspnet_regiis.exe -k W3SVC/1/ROOT/SampleApp1

nResult = LaunchAppAndWait(regAspnet, "-s W3SVC/1/Root/asdf", WAIT);

////-s <path> 在指定的路径以递归方式安装此版本的脚本映射。
//// 例如,aspnet_regiis.exe -s W3SVC/1/ROOT/SampleApp1


你试一试,我这个项目是 1.1的。
感觉用VS.NET生成安装文件也不错
installshield 12 可以直接设置网站的 .net version 为2.0吗?
我没找到设置的地方,默认是1.1的好像
如果不用 ODP.net
就用默认。net 带的 OracleConnection
出现这个情况怎么解决啊,

我不是在 WebService 里用
是想封装一个 WF 的状态保存服务。
没想到遇到同样的问题。
re: [导入]汉字区位码查询 关瑞 2006-09-11 09:50  
暗暗
AutoGenerateColumns生成的列也有HtmlEncode属性啊?你可以选中GridView->选择列,然后在某列的属性中设置HtmlEncode属性就可以了!
相当于用一个事件来处理行被绑定后的操作
关键是看对GridView对象的各个属性,方法以及事件的熟悉程序
另外当初做asp的时候用的是Server.HtmlEncode,别的就没说了
希望一会dudu不要找你谈话,呵呵
这个方法还行。这样子每个单元都转换。??
re: 汉字区位码查询 郭宇丽 2006-05-14 11:59  
黑糊糊
re: 汉字区位码查询 牙克石市 2006-05-09 18:12  
容易
re: 汉字区位码查询 燚 2006-04-28 12:05  
燚的区位码
re: 汉字区位码查询 景县第二中学 2006-04-25 10:49  





re: 汉字区位码查询 堃 2006-04-12 09:08  
请大侠们帮忙查一下“堃”的区位码,急急急急!
re: 汉字区位码查询 高策 2006-02-23 12:44  
@罗勇
re: 汉字区位码查询 http://www.jdcj.net/xsgl/qwmcx.aspx 2006-02-13 15:38  
这里可以查询汉字区位码
http://www.jdcj.net/xsgl/qwmcx.aspx
也请发份给我,wq@yzsec.com.
能不能给我一份呀,正急着找注册机,谢谢 wyh110536@21cn.com
今天好好研究了一下这个问题,其实enterpirse library早就有处理,其实你根本不需要在程序中定义那个ref cursor这个参数

直接这样调用就可以了
data.ExecuteDataset("Static_UserPackage.STATIC_USER_SelectAll")
re: 汉字区位码查询 张保红 2005-12-23 08:32  
帮忙查一下代码
共3页: 1 2 3 下一页