n********6 发帖数: 1511 | 1 谢谢答复。
老大,我知道normal "normalized" table。
这就要求插入多条record,每个record一种语言。
在一个transaction中插入n个record,每个代表一种语言,似乎挺麻烦。
有没有简单的办法? |
|
i****a 发帖数: 36252 | 2 if you really want, you can come up with some smart work around like
masking
0001 english
0010 chinese
0100 spanish
1000 russian
so if somebody has 0011, he speaks english and chinese.
something like the unix/linux chmod
but what you save on database transaction needs to be spent on
"decoding" this record |
|
B*****g 发帖数: 34098 | 3 有什么麻烦的?除非你的language是limited,也就是说不能生成新的语言。否则你每次
有个新语言就要加一个column。
或者你可以用自定义类型的column,不过现在的不太流行 |
|
|
B*****g 发帖数: 34098 | 5 回到问题,其实没有什么是绝对的。根据不同的要求,数据库的设计可能是不同的。
比如说我们只关心20中常用语言,其它就是个参考,或者使用其它语言的非常少,下
面设计也可以考虑。
Tab1
ID, L1,......, L20, LOTHERS
L1到Lothers都只存1或0。
Tab2
ID Language
只存other language。
或者干脆把LOTHERS改成复杂类的coulmn,比如XML,把所有other的信息都存下,一个
table就够了。
每次 |
|
d****t 发帖数: 362 | 6 Does .net support some javascript features? For example:
(1) Shopping cart: items can be added to or deleted from a diplayed shopping
cart once users clicks some checkboxes on a item list webpage. I found there
is no refresh at all after selecting an item in javascript, but there will be
a refresh after an item is checked if we want to update the shopping cart
content once an item is selected.
(2) Simliarly, if we want to display coresponding cities for a state once it
is clicked on the same web |
|
h***a 发帖数: 358 | 7 如果我用C# 做一个画图的东西, 现在可以画button, checkbox, listbox, combobox,
但是我有个问题, 就是, 这些东西都是能被click, 我怎么样才能让他呈现C#里的DESIG
N MODE 一样, BUTTON被CLICK 后不动, LISTBOX 放了数据后, 不显示在里面, COMBO
BOX 不能被下拉
thanks a lot |
|
M******k 发帖数: 27573 | 8 same thing goes for html checkbox too. |
|
t********5 发帖数: 274 | 9 btnCreateAccount是主页面的按钮,按下之后弹出dialog子页面,子页面里有个
continue按钮,按下之后希望主页面的btnCreateAccount继续提交,按照我下边的代码
,无法继续,因为$("#<%=btnCreateAccount.ClientID %>").click(function() 里
return false了,如果不return false的话,子页面只是一闪而过,无法停留,不知如
何处理,望高人指教!
$("#<%=btnCreateAccount.ClientID %>").click(function() {
if ($("#aspnetForm").valid())
{
if( $('#<%=drpCompanyState.ClientID %>').val() =='CA' ||
$('#<%=drpCompanyState.ClientID %>').val() =='GA'){
$... 阅读全帖 |
|
|
r******n 发帖数: 4522 | 11 我也觉得怪异,刚到货时候我是根据Google到的一个帖子直接刷Tomato,WAN速度怎么搞都是1-2M, 然后刷了DDR-WRT还是差不多, 试了其它站点好一些. 后来看到别的帖子说是得先刷DDR-WRT mini再刷DDR-WRT或者Tomato, 于是我再刷回Tomato就上15M了, 现在一切正常.
可能跟在DDR-WRT里面刷Rom时候下面那个"Clear...."checkbox有关, 我猜想最初是用那个System recover刷没带这个选项, 可能这步没有做. 所以得Check以后再刷一遍. 既然有人说要先刷DDR-WRT mini总是有些道理的. |
|
z******y 发帖数: 192 | 12 我也遇到速度问题,后来发现是需要把NVRAM清空,最简单就是刷2遍tomato,第二次的
时候把那个clear memory的checkbox勾上就ok |
|
C********N 发帖数: 1263 | 13 听你口气也是做admin的吧,你懂得多也用不着这种口气训人吧。我在3-400人的企业管
orcle server 也管了一年多呀,vi editor shortcut 我也可以用一半。谁不懂
partition table啦,我的习惯是动手前多research,多做准备工作,不至于出问题后
后悔。如果有前人经验,为什么不学习一下呢。
在此文中已经提供了重新resize partition的方法(https://help.ubuntu.com/
community/HowtoResizeWindowsPartitions),我想知道的是在现有3个primary分区的
情况下,是resize 现有的C: partition to another two primary partition, 还是在
现有的C:partition划logic partition. 两种方法那种跟适合我的情况。
真的很受不了你说话的口气。我全奖Master in Information System,7年国内国外
system admin的经验,被你说得什么都不懂一样。气人。
Windows Vista and... 阅读全帖 |
|
q**j 发帖数: 10612 | 14 是这样写的:
this checkbox only applies when you are connected to a local network and a d
ial up network simulataneously. when checked, data that cannot be sent on th
e local network is forwarded to the dial up network.
好像意思是说local出不去的才从dial up/remote出。我就是看了说明也想不到是这个原
因。是我脑残还是这个说明可以有别的理解? |
|
k**********s 发帖数: 6409 | 15 这么高的分辨率,白送我都不要。比如下面这个附图里,“I agree”左边的“*”跑到
哪里了!那个checkbox的右边哪里去了!这还只是125% DPI,如果必须再提高的话,那
就更乱套了。这还是美国邮局这个月初最新版的软件,老软件就更是一塌糊涂了。 |
|
|
|
x*******u 发帖数: 56 | 18 用的是comcast cable internet
Chrome browswer
为什么上mitbbs时,有时总是显示:
This webpage is not available
Google Chrome could not load the webpage because www.mitbbs.com took too
long to respond. The website may be down, or you may be experiencing issues
with your Internet connection.
Here are some suggestions:
Reload this webpage later.
Check your Internet connection. Restart any router, modem, or other network
devices you may be using.
Add Google Chrome as a permitted program in your firewall's or antivirus... 阅读全帖 |
|
t****s 发帖数: 141 | 19 Use www.google.com search Jbutton, toggle button and I got this
http://java.sun.com/products/jlf/dg/higq.htm
toggle button
A button that alternates between two states. For example, a user
might click one toggle button in a toolbar to turn italics on and
off. A single toggle button has checkbox behavior; a programmatically
grouped set of toggle buttons can be given the mutually exclusive
behavior of radio buttons. Toggle buttons are created using the
JToggleButton component. See also toolbar butt |
|
m****r 发帖数: 6639 | 20 hi,
i need a checkbox, when checked, the page looks one way, when unchecked, the
page looks another way.
any sample code for this kind of thing?
3x |
|
c**g 发帖数: 274 | 21 google: javascript checkbox onclick |
|
T*****e 发帖数: 361 | 22 jsp/servlet, tomcat 5.5, jdk 1.5.0_02
折腾了半个晚上,也没有搞明白怎么样才能够从ServletRequest里面把
上个页面提交的参数正确地读出来。
把每个参数都显示出来了,看上去也都挺好,怎么就死活匹配不上呢。
比方说,一个checkbox的状态是on,显示出来也是on,长度是2,可是
在servlet/jsp里 request.getParameter( "checkbox1" ) == "on" 怎
么就是false呢。
想来是encoding/character-set的问题,于是反复该这些东东,包括
jsp的,form的,html的,request的,甚至连
new String( oldString.getBytes( "IS08859-1" ), "UTF-8" )这么
复杂的咚咚都试了一遍,还是不行。
唉唉,洗把脸睡了。
等明天中午起来看大家的回复吧。
没人理我就跳楼算了(不过想摔死够呛)。
//bow |
|
I*******e 发帖数: 1879 | 23 ☆─────────────────────────────────────☆
goodbug (好虫) 于 (Thu Feb 15 14:53:49 2007) 提到:
I have a common problem in web development,
Let's say you have a lot of contacts, so many that you have
to paginate them, so they are in different pages. Each contact
has a checkbox, so a user can check multiple boxes and send
all these guys an email.
Now the only way I know of is to put the selected contacts in session,
and update them when you go to a different page. Is there a pure
javascript solution t |
|
|
|
g*****g 发帖数: 34805 | 26 Is this search checkbox always on bug fixed in 3.3? That's a bug
really annoying for me. I am using 3.2 now. |
|
t***s 发帖数: 4666 | 27 you can create a filter and there's a "skip the inbox" checkbox. |
|
w********e 发帖数: 557 | 28
Make sure to check the checkbox to connect the DVD on boot for the vm. If
it still doesn't boot into the DVD, then you need to press F2, F8 or delete
key to change the boot order to boot DVD first. |
|
w********e 发帖数: 557 | 29 Share webpage clippings with friends
Send webpage content to friends via Gmail or a Blogger blog post using the
Send to feature. Click and drag your cursor to highlight text and images you
wish to share. Then click the Send to button, and select either Gmail or
Blogger.
Enable or disable the Send to feature
1. Click the Toolbar's wrench wrench icon.
2. On the Tools tab, select (or deselect) the 'Send to' Send to checkbox.
3. Click Save.
***********
google toolbar can do the above. |
|
p*****w 发帖数: 429 | 30 10.04
i don't find such a checkbox |
|
|
|
L*1 发帖数: 11537 | 33 Try to run this, and see what you get:
#!/usr/bin/perl
our $v1;
print "v1 = $v1\n";
if ($v1 == 0) {
print "v1 = 0\n";
}
else {
print "v1 != 0\n";
}
Don't know if that caused your problem.
You may change to use "yes", "no", "set", "notset". |
|