找回密码
 立即注册

QQ登录

只需一步,快速开始

叹息

高级会员

11

主题

36

帖子

1719

积分

高级会员

积分
1719

活字格认证

叹息
高级会员   /  发表于:2014-1-3 15:07  /   查看:9405  /  回复:11
ComboBoxCellType设置了value为string数组之后,UseValue失去了作用

11 个回复

倒序浏览
roger.wang
社区贡献组   /  发表于:2014-1-3 16:49:00
沙发
回复 1楼叹息的帖子

您好,失去作用了是什么意思? 我没有从您的问题描述看明白。 抱歉。

在后台代码,要使用ComboBoxCellType选择的数据,首先要调用SaveChanges() ,把数据从客户端提交到服务器端的。 如可点击左下角的update按钮。
回复 使用道具 举报
叹息
高级会员   /  发表于:2014-1-3 16:56:00
板凳
回复 使用道具 举报
roger.wang
社区贡献组   /  发表于:2014-1-3 17:18:00
地板
回复 3楼叹息的帖子

未做特殊设置,就这3行代码,您参考一下:

  1.                 ComboBoxCellType cmb = new FarPoint.Web.Spread.ComboBoxCellType(new string[] { "a", "b", "c" });
  2.                 FpSpread1.ActiveSheetView.Cells[1, 1].CellType = cmb;
  3.                 FpSpread1.ActiveSheetView.Cells[1, 1].Value = "a2";
  4.                 cmb.UseValue = true;
复制代码
回复 使用道具 举报
叹息
高级会员   /  发表于:2014-1-3 17:32:00
5#
回复 4楼roger.wang的帖子

那这样子做的话,combox在页面上会显示哪个值?items里面的第一条数据?
回复 使用道具 举报
roger.wang
社区贡献组   /  发表于:2014-1-3 17:40:00
6#
回复 使用道具 举报
sxiatyjs
注册会员   /  发表于:2014-1-4 09:32:00
7#
the Prevention of Bribery Ordinance requires the giving and receiving the same family played a very good effect on punishing bribery bribery. For example, in Hong Kong, an Entertainment Weekly reporter to enter [4] is the so-called Therefore recommended that, in addition to the small number of demanding bribes while bribery exempt from punishment, severely punish the crime of accepting bribes while more to increase the punishment for the crime of bribery, active bribery and bribery should Bribery simultaneously, both to live and Bribery fundamentally curb.

, of heavy bribery light bribery social phenomenon
My judicial practice commonplace for such a social phenomenon, by some corrupt party and government discipline, or investigated for criminal responsibility, imprisonment,nike free 3.0, life imprisonment or even the death penalty are also many, corresponding to the other party - the briber, but Happy extrajudicial still on its own. A statistics from the Supreme People's Court, the courts throughout the country in January-November 2003 hearing 439 bribery cases, obviously a serious imbalance in the ratio of the number of bribery cases [5] In 2000, Shanghai inspection organs were investigated bribery cases more than 200 pieces of bribery filing only 81, 95, 81 Court judgment is only 46, still in the reconnaissance or court stage 16, the Shanghai Procuratorate against corruption and bribery Secretary Zhenguo explained that : In recent years, the number of filing investigated bribery only accounts
回复 使用道具 举报
roger.wang
社区贡献组   /  发表于:2014-1-6 09:09:00
8#
回复 5楼叹息的帖子

您好, 这个问题还需要帮助吗?
回复 使用道具 举报
叹息
高级会员   /  发表于:2014-1-8 09:57:00
9#
回复 8楼roger.wang的帖子

不需要了 谢谢
回复 使用道具 举报
roger.wang
社区贡献组   /  发表于:2014-1-8 10:01:00
10#
回复 9楼叹息的帖子

谢谢您的反馈, 那这个帖子我先关闭了,欢迎有问题再开通沟通。
回复 使用道具 举报
12下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部