为您找到与able的过去式和过去分词相关的共54个结果:
capable有有能力的,能干的等意思,那么你知道capable的同义词有哪些吗?接下来跟着读文网小编来学习一下吧。
这些形容词均含有"有能力的,能干的"之意。
able 最常用词,多用于褒义,着重指多方面的,经常性的,或潜在性的能力。有时也指高超、非凡的能力。
capable 语气弱于able,指有能力、有潜力或有条件做某事,常与of连用。
competent 强调具有能胜任某项工作的足够技能或其它所需的条件。
浏览量:2
下载量:0
时间:
able有有能力的,能干的等意思,那么你知道able的同义词有哪些吗?下面读文网小编为大家带来able的同义词及辨析,供大家参考学习!
1. Chantal was lucky to be able to salvage her career.
尚塔尔能保住她的事业算是走了运。
2. The RAF recognized him as an out-standingly able engineer.
英国皇家空军表彰他是一名非常能干的机械师。
3. Anton was able to transfer from Lavine's to an American company.
安东成功地从拉文调到了一家美国公司.
4. He conjectured that some individuals may be able to detect major calamities.
他猜测说有些人也许能够察觉重大灾难。
5. The government have not been able to turn today'sdemonstration to their advantage.
政府未能把今天的游行示威转为己用。
6. We were not able to meet the deadline because of manufacturing delays.
因为制造方面的延误,我们没能赶上最后期限。
7. I do hope you'll be able to come to the wedding.
我确实希望你能来参加婚礼。
8. The gym can be used by both able-bodied and disabled people.
这家健身房健全和残障人士都可使用。
9. It would be nice to be able to afford to retire earlier.
无后顾之忧而能提早退休当是件幸事。
10. Individualists say that you should be able to wear what you want.
个人主义者认为人应该想穿什么就穿什么。
11. Magistrates will be able to attach conditions when juveniles are remanded.
地方法官将可以在少年犯送押时提出附加条件。
12. I hope that everyone will be able to join in the fun.
我希望每个人都能够加入进来,玩得开心。
13. He was never able to get past the border guards.
他从未能够通过边防哨兵的检查。
14. Have you been able to have any kind of contact?
你联系上了吗?
15. One of my most able students was rejected by another university.
我的一个最有能力的学生申请另一所大学落选了。
浏览量:2
下载量:0
时间:
enable做动词有使能够;使可能等意思,那么你知道enable的过去式是什么吗?下面读文网小编为大家整理了enable的过去式和用法例句,供大家参考学习!
1. The royalties enabled the inventor to re-establish himself in business.
专利使用费让这位发明家得以再次立足于商界。
2. It enabled its members to settle their differences without recourse to war.
这样,其成员就可以不必诉诸战争来解决分歧。
3. His photographic memory enabled him to tuck away yards of facts.
他过目不忘的记忆力使他能记下大量事实.
4. Long practice enabled that American to speak fluent Chinese.
长期的练习使得那个美国人能讲一口流利的汉语.
5. A majority vote enabled the passage of the resolution.
多数人投赞成票使议案得以通过.
6. Our letters enabled us to knit up our old friendship.
通信使我们恢复了旧日的友谊.
7. His strength of will enabled him to persist.
他的意志力使他能坚持下去.
8. His early experience enabled him to break down barriers between Scottish Catholics and Protestants.
他早年的经历使他能够消除苏格兰天主教徒和新教徒之间的隔阂。
9. The money he made from these extra-curricular activities enabled him to pursue other ventures.
他从这些额外工作中赚取的钱使他可以从事其他事业。
10. The money enabled her to hire a private detective to search for evidence that would clear him.
这些钱能让她雇一个私人侦探,帮助他寻找证据洗清罪名。
11. It enabled students to devote more time to their studies, or to be more accurate, more time to relaxation.
它可以让学生们有更多的时间来学习,或者更准确一点说,有更多的时间来放松自己。
12. The establishment of our GRE computer data has enabled us to come up with innovative tactics for doing well on the GRE.
GRE电脑数据库的建立,使我们有了新的策略来有效地应付GRE考试.
13. Farmers soon found that electricity enabled them to make great technological advances.
农民们很快发现电力使他们能够取得技术上的巨大进步.
14. This enabled the country to become self-sufficient in sugar.
这使得该国的食糖能自给自足。
15. This program enabled users to draw pixel - by - pixel on the computer screen.
这是一个界面完全模态化的程序,这个程序能让用户在计算机屏幕上逐个像素地绘画.
浏览量:3
下载量:0
时间:
able有能够的;有能力的;能干的等意思,那么你知道able的用法吗?下面是读文网小编为大家整理的able的用法和相关短语例句,欢迎大家学习!
用作形容词 (adj.)
be able to
be able to cut
be able to take
浏览量:3
下载量:0
时间:
agreeable表令人愉快的,惬意的; 有礼貌的; 同意的,接受的; 适合的,一致的的意思,那么你知道agreeable的反义词有哪些吗?接下来小编为大家整理了agreeable的反义词,希望对你有帮助哦!
1. Lloyd George was most anxious to be agreeable and pleasant.
劳埃德·乔治极力想表现得平易近人、和蔼亲切。
2. "It's not an agreeable state of affairs," concurs Heitham.
“目前的事态并不令人满意。”海瑟姆赞同道。
3. I'vegone out of my way to be agreeable to his friends.
我已然特意地去讨好他的朋友们。
4. He's a shallow, dis-agreeable man.
他是个肤浅、难相处的人。
5. We spent a most agreeable day together.
我们在一起度过了非常愉快的一天。
6. He was quite agreeable to accepting the plan.
他乐意接受这项计划.
7. It's very agreeable to have you here.
有你在这里很令人愉快.
8. It has an agreeable aromatic smell.
它有一种好闻的香味.
9. I enjoyed an agreeable holiday this summer.
今年夏天我度过了一个愉快的假期.
10. Is this agreeable to you?
这合你的意 吗 ?
11. I find her a very agreeable woman.
我发现她是个和蔼可亲的女人.
12. She has an agreeable voice.
她的嗓音听起来很悦耳.
13. If you are agreeable, my husband's office will make all the necessary arrangements.
如果你同意,我丈夫的事务所将作出所有必要的安排。
14. At dinner, share a half carafe of agreeable wine with an agreeablecompanion.
晚饭时,和知己分享半壶美酒。
15. He described it as'a very agreeable situation located within two small hills in the midst of which flowed a great river '.
他把这个地方描绘成 “ 一个非常令人愉快的地方,地处两个小山之间,中间流过一条大河 ”
浏览量:3
下载量:0
时间:
comfortable表示舒服的意思,那么你知道comfortable反义词是什么吗?一起来学习一下吧!
comfortable的反义词:discomfortable不安的,不适的;
comfortable的反义词:uncomfortable不舒服的; 令人不舒服的; 不自在的; 不安的;
1. We don't live in the lap of luxury, but we're comfortable.
我们的生活虽然并非锦衣玉食,也算是衣食无忧。
2. In warm weather, you should wear clothing that is cool and comfortable.
在热天里,应该穿凉快舒适的衣服。
3. Now sit down and make yourself comfortable. You must be very tired.
现在坐下来,让自己舒服些,你一定很累了。
4. By half distance we held a comfortable two-lap lead.
到半程时,我们轻松领先两圈。
5. He liked me and I felt comfortable with him.
他喜欢我,我跟他在一起觉得很自在。
6. She makes you feel warm and comfortable, and maybe a little excited.
她让人感觉温暖舒适,还可能有一点性欲高涨。
7. Many people are comfortable with life in the slow lane.
很多人满足于比别人慢半拍的生活。
8. I wouldn't have expected to find you in such comfortable circumstances.
我怎么也没有想到你生活这么优裕。
9. He was described as comfortable in hospital last night.
据说昨晚他在医院状况良好。
10. She tried to maneuver her body into a more comfortable position.
她试着把身子挪了挪,换了一个较为舒服的姿势。
11. Nervous politicians might well feel more comfortable with a step-by-step approach.
神经脆弱的政治家们似乎更容易接受一种循序渐进的做法。
12. Lie down on your bed and make yourself comfortable.
躺在床上,身体放松。
13. The Oriental is a comfortable hotel, but rather inconveniently situated.
东方大酒店是个舒适的宾馆,但地理位置却非常不方便。
14. He appeared to be heading for a comfortable victory.
看起来他会轻松获胜。
15. Her sandals were old and somewhat beaten-up, but very comfortable.
她的凉鞋旧了,多少还有点破,但是穿起来很舒服。
1. One after another of his scouts arrived, each brought him more discomfortable news.
接二连三回来的探子, 都给他带来了更使人烦恼的消息.
2. A : You're welcome . I know everyone of us will feel discomfortable when we're loose end.
别客气, 我知道一个人无事可干的时候很不舒服.
3. Most of patients have aridity of nasal mucosa, burning pain, discomfortable symptom of respiratory channel.
患者多感有鼻黏膜干燥 、 灼痛 、 呼吸道不适等症状.
浏览量:3
下载量:0
时间:
valuable表示贵重的,宝贵的; 有价值的意思,那么你知道valuable的同义词有哪些吗?接下来读文网小编为大家整理了valuable的同义词,欢迎大家学习。
浏览量:2
下载量:0
时间:
suitable有适宜的;合适的等意思,那么你知道suitable的用法吗?下面跟着读文网小编一起来学习一下,希望对大家的学习有所帮助!
1. The authority must make suitable accommodation available to the family.
当局必须给这个家庭提供适当的食宿条件。
2. The course is also suitable for those in the caring professions.
本门课程同样适合护理业从业人士学习。
3. They'd soon be penniless and homeless if she couldn't find suitable work.
她要找不到合适的工作,他们很快就会身无分文,无家可归。
4. A family doctor will be able to advise on suitable birth control.
家庭医生能够就合适的节育措施提出建议。
5. They were looking for suitable ways of maximising their electoral support.
他们正在寻找合适的途径来最大限度地获得选民的支持。
6. The foreign ministers have thrashed out a suitable compromise formula.
外交部长们经过反复讨论,已经制订出合适的折中方案。
7. Vikram Seth's "A Suitable Boy" is number two in the best-seller lists.
维克拉姆·塞思的《如意郎君》在畅销书排行榜中排名第二。
8. When setting out on a long walk, always wear suitable boots.
每次出发远行,都要穿合适的鞋子。
9. My prospects of returning to a suitable job are dismal.
我重新找到一个合适的工作岗位的希望很渺茫。
10. It was only suitable for children.
它只适合儿童。
11. The mascara is suitable for contact lens wearers.
这种睫毛膏适用于戴隐形眼镜的人。
12. Ask your doctor to recommend a suitable therapist.
让你的医生给你推荐一个合适的治疗专家。
13. We are trying to compile a list of suitable people for the job.
我们在努力编制一份适合做这项工作的人员名单。
14. She seems eminently suitable for the job.
她看来非常适合这个工作。
浏览量:4
下载量:0
时间:
available释义:可利用的;可得到的;有空的;有效的。以下是读文网小编为大家整理的available的反义词和例句,以供参考。
Do you have a room available?
你们有空房间吗?
The swimming pool is available only in summer.
这个游泳池只在夏天开放。
All sorts of lamps are available in that shop.
在那家商店可买到各式各样的灯具。
The Prime Minister was not available for comment.
首相无暇作出评论。
When will the plumber be available?
管道工什么时候有空?
This film ticket is no longer available.
这张电影票不再有效。
The round trip ticket is available for two months.
返程票两个月有效。
We must utilize all available resources. 我们必须利用可以得到的一切资源。
He truncated a news item to fit the available space. 他删节一则新闻以适合可用的版面。
When you do go out, look for available deals and discounts. 如果一定要出去吃,记得查找可用的优惠和折扣。
Use this clause if the table must be up and available at any time. 如果该表在任何时刻都必须是可用的,那么应该使用该子句。
You have no way to indicate whether this method should or should not also beavailable to classes outside the JAR. 您没有办法来表明这个方法是否也应该或不应该对该JAR之外的类可用。
Look for available patterns that support all or part of your domain. 请寻找为您的域提供全部或部分支持的可用模式。
Your class will have some other facilities available to you. 这个类将有一些其他的工具提供给您。
Do they have to wait for the information, or is it instantly available? 他们是否必须等待该信息,或者该信息是否立即可用?
What matters is that the customize function be available. 重要的是这个定制功能是可利用的。
In this section, we highlight some of the options available. 在这一节中,我们将重点介绍一些可用的选项。
Custom properties are available after they have been set for the task instance, orin all task states, when they are set on the task template. 自定义属性在已经为任务实例进行了设置之后可用,或在任务模板上进行设置的情况下,在所有任务状态下可用。
Select one or more projects to reference from the list of available projects, thenclick the >> button to add those projects to the reference group. 从可用项目的列表中选择一个或多个要引用的项目,然后单击 >>按钮以将那些项目添加到引用组。
Custom properties are available after they have been set for the process oractivity instance, or in all task states, when they are set on the process or activitytemplate. 自定义属性在已经针对流程或活动实例进行设置之后可用,或在流程或活动模板上进行设置的情况下,在所有任务状态下可用。
Have some background information available to buttress your case, includinglinks and citations. 有一些可用的背景信息支持你的案例,包括链接和引用。
Each component gets slightly less space because there must be room for the tabbar, but as you tab between them, they get all the space available. 将每个组件的空间缩小一些,因为需要为选项卡栏留出空间,但在它们之间加选项卡时,它们可获得所有可用空间。
If possible, you should examine all data fields available. 如果可能,您应该检查所有可用的数据字段。
These bounds could specify the set of available constructors that must bepresent in any instantiation of the parameter. 这些界限可以指定一组可用的构造函数,它们必须出现在参数的每一个实例化中。
These connections will be available, but the flow is paused until data arrives onthe socket to be processed. 这些连接是可用的,但是要对消息流进行解释,直到数据达到要进行处理的套接字。
Now, it will return all available buffers, but you only want one. 目前,它将返回所有可用的缓冲区,但是我们只需要一个。
You can determine the state transitions available for this application. 您可以确定这个应用程序可用的状态转换。
浏览量:2
下载量:0
时间:
table表表,目录; 桌子; 手术台的意思,那么你知道table的同义词有哪些吗?接下来小编为大家整理了table的同义词,希望对你有帮助哦!
1. Warwicks leap to third in the table, 31 points behind leaders Essex.
沃里克队在排名中蹿升至第3名,落后领先的埃塞克斯队31分。
2. Patterson pointed toward a plain cardboard box beneath a long wooden table.
帕特森指着长木桌下的一个普通的纸板箱。
3. Isabelle placed a wine cup on the table within his reach.
伊莎贝尔把酒杯放在桌上他伸手可及的地方。
4. Grace laid out the knives and forks at the lunch-table.
格雷丝把刀叉摆放在午餐桌上。
5. A cheap table can be transformed by an interesting cover.
一块趣味盎然的桌布就能使一张廉价桌子面目一新。
6. He tipped the table over in front of him.
他把面前的桌子打翻了。
7. She stood up from the table and faced him.
她从桌前站起来,面对着他。
8. We painted our table to match the window frame in the bedroom.
我们把桌子刷成与卧室窗框一致的颜色。
9. It was a good table too, sturdily constructed of elm.
这也是张很不错的桌子,榆木的,很结实。
10. He had blundered into the table, upsetting the flowers.
他不小心撞到了桌子,把花打翻了。
11. The coffee-table is glass, to be as unobtrusive as possible.
那张咖啡桌是玻璃的,为的是尽量不惹眼。
12. I believe in seasoning food before putting it on the table.
我认为在把食物端上餐桌前应该先调味。
13. He crossed to the bedside table and put out the light.
他走到床头柜的另一边关了灯。
14. Can you just lift the table for a second?
你把桌子抬起来一下好吗?
15. They took the only free table, which was just inside the door.
他们在刚进门处的唯一一张空桌子边坐下。
浏览量:2
下载量:0
时间:
法瑞尔·威廉姆斯,1973年4月出生于美国,美国歌手、音乐制作人。1990年法瑞尔·威廉姆斯组建了自己的第一支乐队“海王星”。2003年发行首张专辑《The Neptunes Present:Clones》获全美流行专辑榜冠军。下面读文网小编为大家带来他的经典英文歌曲《Despicable Me》的英文歌词,欢迎大家阅读!
Im having a bad bad day
its about time that I get my way
steam rolling whatever i see, huh
despicable me
I’m having a bad bad day
if you take it personal thats ok,
watch this is so fun to see, huh
despicable me
Why ask why better yet why not
Why are you marking x on that spot
Why use a blow torch isn’t that hot?
Why use a chainsaw is that all you got
Why do you like seeing people in shock
But my question to you is why not
Why go to the back and stand in line
Just use a freeze gun it saves me time
Im having a bad bad day
its about time that I get my way
steam rolling whatever i see, huh
despicable me
I’m having a bad bad day
if you take it personal thats ok,
watch this is so fun to see, huh
despicable me
Why ask why when this is just art
Why parallel when I can just part?
Why does vector think that he’s smart
And does his dad know I know his part
Why did I have to live with my mom
Why do you think that I should be calm
Why want the moon, the World's in my palm
Is it crazy you think I’ve gone?
Im having a bad bad day
its about time that I get my way
steam rolling whatever i see, huh
despicable me
I’m having a bad bad day
if you take it personal thats ok,
watch this is so fun to see, huh
despicable me
Excuse me if you will
You look like you have time to kill
Can you chill
Cause Gru Got the speakers and the trunk to make you
Bounce, bounce, bounce, bounce, bounce, bounce, bounce
To make you bounce, bounce, bounce, bounce
I'm having a bad bad day
its about time that I get my way
steam rolling whatever i see, huh
despicable me
I’m having a bad bad day
if you take it personal thats ok,
watch this is so fun to see, huh
despicable me
Despicable Me
Despicable Me
Despicable Me
Despicable Me
Despicable Me
Despicable Me
Despicable Me
Despicable Me
I'm having a bad bad day
its about time that I get my way
steam rolling whatever i see, huh
despicable me
I’m having a bad bad day
if you take it personal thats ok,
watch this is so fun to see, huh
浏览量:3
下载量:0
时间:
able有能够的;有能力的;能干的等意思,那么你知道able的用法吗?下面跟着读文网小编一起来学习一下,希望对大家的学习有所帮助!
1. Chantal was lucky to be able to salvage her career.
尚塔尔能保住她的事业算是走了运。
2. The RAF recognized him as an out-standingly able engineer.
英国皇家空军表彰他是一名非常能干的机械师。
3. Anton was able to transfer from Lavine's to an American company.
安东成功地从拉文调到了一家美国公司.
4. He conjectured that some individuals may be able to detect major calamities.
他猜测说有些人也许能够察觉重大灾难。
5. The government have not been able to turn today'sdemonstration to their advantage.
政府未能把今天的游行示威转为己用。
6. We were not able to meet the deadline because of manufacturing delays.
因为制造方面的延误,我们没能赶上最后期限。
7. I do hope you'll be able to come to the wedding.
我确实希望你能来参加婚礼。
8. The gym can be used by both able-bodied and disabled people.
这家健身房健全和残障人士都可使用。
9. It would be nice to be able to afford to retire earlier.
无后顾之忧而能提早退休当是件幸事。
10. Individualists say that you should be able to wear what you want.
个人主义者认为人应该想穿什么就穿什么。
11. Magistrates will be able to attach conditions when juveniles are remanded.
地方法官将可以在少年犯送押时提出附加条件。
12. I hope that everyone will be able to join in the fun.
我希望每个人都能够加入进来,玩得开心。
13. He was never able to get past the border guards.
他从未能够通过边防哨兵的检查。
14. Have you been able to have any kind of contact?
你联系上了吗?
15. One of my most able students was rejected by another university.
我的一个最有能力的学生申请另一所大学落选了。
浏览量:1
下载量:0
时间:
able表示能够的; 有能力的意思,那么你知道able的短语有哪些吗?接下来读文网小编为大家整理了able的短语搭配,希望对你有帮助哦!
be able for 有能力做…
be able in 善于
浏览量:2
下载量:0
时间:
considerable释义:重要的;相当大的;可观的。以下是读文网小编为大家整理了considerable的反义词和例句,以供参考。
The mayor is a considerable official.
市长是一位重要的官员。
He is a considerable person in that college.
他是那所学院相当重要的人物。
The economy was a considerable issue in the campaign.
在竞选运动中经济是一个重要问题。
His remarks provoked considerable comment.
他的话引起了相当大的议论。
Your work shows considerable improvement.
你的工作显示出相当大的改进。
The design requires considerable modification.
这个设计需要大的修改。
It is a considerable sum of money.
那是一笔数量可观的钱。
He was a man of considerable wealth.
他是个有可观的财富的人。
It will cost considerable time to lacquer the old furniture. 油漆旧家具要花相当多时间。
They not only protect health. They bring in considerable revenue. 他们不仅保护健康,还将带来可观的收入。
Numerous small contributions soon bulk up into a considerable sum. 许多小额捐助不久就积成了一笔可观的款子。
Impeding means that the persona could use the product, but only withconsiderable effort. 阻碍意味着角色可以使用产品,但只有付出相当大的努力。
By bringing HISS products into these negotiations we have the potential of addingconsiderable value to the new organization. 通过把HISS的产品带进这场谈判中,我们有潜力为新组织增加相当大的价值。
Like the CPU, these devices are emulated as well, which can introduceconsiderable overhead in the path. 如同CPU,这些设备也被仿真,这在整个过程中会引入相当大的开销。
But why Swedes should have more freedom in matters of sex than Americans butless economic freedom is a considerable puzzle, although I shall attempt anexplanation. 虽然我试图给出解释,但是,为什么瑞典人在性的问题上要比美国人有更多的自由,而更少经济的自由,这是一个相当大的难题。
Tariffs and Non Tariff Barriers have a very considerable influence on the patternof world trade. 关税壁垒与非关税壁垒对世界贸易的模式有着非常重要的影响。
"We think the downside for activity and prices remains considerable ... There isno sign of a bottom in any of these data," he added. "我们认为营建活动和房价仍面临相当大的下档风险...这些数据没有任何触底的迹象,"他补充道.
I come now to other motives which, though in a sense less fundamental thanthose we have been considering, are still of considerable importance. 现在提一些其他的动机,虽然和我们之前考虑过的那些动机相比他们在某种程度上少些重要性,但依然是相当的重要。
Investors buy these bonds on the assumption that the issuing company will bearound in 100 years, a considerable risk that is compensated for with higheryield. 投资者买进这类百年债券是基于这样一种假设:100年后发行公司仍存在,这有相当大的风险,但被更高的收益率补偿了。
This bid for the Crafer family's farms – now under review – has stirred upconsiderable concern in a country that depends on the dairy industry for almost a quarter of its export earnings. 这场对克莱佛家的农场的竞标-现在审查中-已在这个奶制品工业占出口收入四分之一,并以其为依靠的国家激起了相当大的忧虑。
As a result "there are considerable gaps between goals that undermine theircapacity to achieve some interaction and synergy in development". 结果,“在各个目标之间有相当大的鸿沟,破坏了实现一些相互作用和发展中的协同增效的能力。
The lack of such generic software tools is of considerable impediment for thosethat need to deploy such tools for managing and governing their software. 缺乏这类通用软件工具,对于那些需要部署这类工具来管理和治理他们软件的人来说,这实在是一个相当大的障碍。
This last point, one suspects, is crucial. Persuading individuals living in policestates to hand over classified information demands considerable powers ofpersuasion. 人们怀疑最后一点才是关键所在。说服生活在极权国家的人交出机密情报,需要相当的说服力。
If you are getting less back than you put in over a considerable period of time,back off. 如果你在相当长的一段时间内获得的回报比投入少,那么,赶紧撤退。
I would not strike him with my fist, but I'd kick him with my foot, and experienceconsiderable satisfaction. 我不用我的拳头打他,我可要用我的脚踢他,那就会感到相当大的满足。
This has been the subject of considerable debate within the alliance. 这个问题在北约内部引起相当大的争议。
But it also creates a demand for advice and reassurance in the midst of limiteddata and considerable scientific uncertainty. 但是,在数据有限并在科学方面存在相当大的不确定性时,这也产生了对建议和鼓励的需求。
Even where models agree on the direction of rainfall change, there areconsiderable differences in magnitude. 即便模型在降水量变化的方向上取得一致,在数量级上也有相当大的差异。
浏览量:3
下载量:0
时间:
c中datatable的用法的用法你知道吗?下面小编就跟你们详细介绍下c中datatable的用法的用法,希望对你们有用。
一、排序
1.获取DataTable的默认视图
2.对视图设置排序表达式
3.用排序后的视图导出的新DataTable替换就DataTable(Asc升序可省略,多列排序用","隔开)
1)、重生法
复制代码 代码如下:
dstaset.Tables.Add(dt)
dataset.Tables(0).DefaultView.Sort = "id desc"
2)、直接法
复制代码 代码如下:
dv = New DataView(dt)
dv.Sort = "id desc"
dt = dv.ToTable();
3)、间接法
复制代码 代码如下:
dv = New DataView(ds.Tables[0])
dv.Sort = "id desc"
dt = dv.ToTable();
二、检索
设置查询字符串
使用Select方法获取到所有满足条件的数据行对象数组 (多项查询条件间,用and隔开)
复制代码 代码如下:
DataRow[] matches = dt.Select("id<'003' and name='名字11'");
string strName = matches[0]["name"].ToString();
三、合并
假定有2个DataTable:Dt1 , Dt2。表结构一样
将Dt2接在Dt1后可采用此方法
复制代码 代码如下:
dt1.Merge(dt2);
四、在DataTable中查询应该注意的问题
完成一个查询,返回一个DataTable后,很多时候都想在查询结果中继续搜索。这时可以使用DataTable.Select方法对结果进行再查询
Select方法有4个重载,我们经常用到的就是DataTable.Select(String)
这个String的参数是查询的限定式。相当于SQL查询语言中的WHERE语句(不含WHERE),其语法符合SQL语言语法。
Select方法的返回的是包含查询到的数据的DataRow,但是这个DataRow只是被查询的DataTable的一个映射,所以DataRow是随着DataTable的行变化而变化的。例如,DataTable的行都被删除了,那么DataRow中的数据同样被删除了(即便是先Select,再删除的)
所以,要想把返回的DataRow放进数据显示控件中,需要将其放入另一个DataTable中,如果直接放入原DataTable或将原DataTable的行全部清除再放入查询所得的数据都是不行的,程序会显示错误,错误提示是“表中已有此行”。
另外,在一个新表中插入行,不能直接用DataTable.Rows.Add(DataRow)的方式,因为这样是插入一个新表,也就是DataRow是空的。要用导入行的方式,DataTable.ImportRow(DataRow)。当然,前提是这个新表要有与原数据表一样的结构。
复制代码 代码如下:
Public Function SDEResearch(ByVal InputDT As DataTable, ByVal SearchStr As String) As DataTable
'用来存储再查询后的数据表
Dim ReSearchDT As DataTable = InputDT.Clone() '保证有与源数据表相同的表结构
'用来存储查询后返回的datarow数组
Dim ReSearchDR() As DataRow = Nothing
Try
ReSearchDR = InputDT.Select("NAME LIKE '%" + SearchStr + "%'") '只是从数据表中映射出来datarow(),所以不能删除原表中的行
Catch ex As Exception
Return Nothing
End Try
For i As Int16 = 0 To ReSearchDR.Length - 1
ReSearchDT.ImportRow(ReSearchDR(i))
Next
Return ReSearchDT
End Function
附:筛选DataTable数据的方法
对DataTable进行过滤筛选的一些方法Select,dataview
当你从数据库里取出一些数据,然后要对数据进行整合,你很容易就会想到:
复制代码 代码如下:
DataTable dt = new DataTable();https://假设dt是由"SELECT C1,C2,C3 FROM T1"查询出来的结果
for (int i = 0; i < dt.Rows.Count; i++)
{
if (dt.Rows[i]["C1"].ToString() == "abc")https://查询条件
{
https://进行操作
}
}
但这种做法用一两次还好说,用多了就累了。那有没有更好的方法呢?记得LinQ是可以直接对DataTable进行查询操作的,那在.Net Framework 2.0里,有没有类似的方法呢?答案是肯定的,就是dt.Select(),上面的操作可以改成这样:
复制代码 代码如下:
DataRow[] drArr = dt.Select("C1='abc'");https://查询
还可以这样操作:
复制代码 代码如下:
DataRow[] drArr = dt.Select("C1 LIKE 'abc%'");https://模糊查询
DataRow[] drArr = dt.Select("'abc' LIKE C1 + '%'", "C2 DESC");https://另一种模糊查询的方法
DataRow[] drArr = dt.Select("C1='abc'", "C2 DESC");https://排序
问题又来了,如果要把DataRow赋值给新的DataTable,怎么赋值呢?你可能会想到:
复制代码 代码如下:
DataTable dtNew = dt.Clone();
for (int i = 0; i < drArr.Length; i++)
{
dtNew.Rows.Add(drArr[i]);
}
但这样程序就会出错,说该DataRow是属于其他DataTable的,那要怎么做呢?很简单,这样就可以解决了:
复制代码 代码如下:
DataTable dtNew = dt.Clone();
for (int i = 0; i < drArr.Length; i++)
{
dtNew.ImportRow(drArr[i]);
}
这样就完成了。
3.5里的DataRow[]有个扩展方法CopyToDataTable()
复制代码 代码如下:
/*
* 补充一下,还可以利用DataView来达到检索的目的。
*/
DataTable dataSource = new DataTable();
DataView dv = dataSource.DefaultView;
dv.RowFilter = "columnA = 'abc'";
https://1.过滤后直接获取DataTable
DataTable newTable1 = dv.ToTable();
https://2.设置新DataTable的TableName
DataTable newTable2 = dv.ToTable("NewTableName");
https://3.设置新表是否过滤重复项,拥有的列的列名以及出现的顺序
https://即可以设置新表的字段。但是字段名肯定是老表dataSource中拥有的。
DataTable newTable3 =
dv.ToTable(true, new string[] { "columnA,columnF,columnC" });
https://4.综合了2.3两点。
DataTable newTable4 =
dv.ToTable("NewTableName", true, new string[] { "columnA,columnF,columnC" });
浏览量:1
下载量:0
时间:
suitable表合适的,适当的,适宜的意思,那么你知道suitable的同义词有哪些吗?接下来小编为大家整理了suitable的同义词,希望对你有帮助哦!
fit to bust
1. 用力地,使劲地
他们放声大笑。
they laughed fit to bust.
if the cap fits (wear it)
see (或 think) fit
1. 认为正确(或合适)
为什么这家公司认为把这份工作给你很合适?。
why did the company see fit to give you the job?.
give someone a fit
1. (非正式)使大为震惊;使恶心;惹恼,激怒
have (或 throw) a fit
1. (非正式)大吃一惊,很意外;很生气,恼怒
in fits (of laughter)
1. (非正式)愉悦的,开心的,高兴的
他让我们大家都非常开心。
he had us all in fits.
in (或 by) fits and starts
1. 断断续续地,间歇性地,一阵阵地,不时地
这机器往往是时断时续地前进。
the machine tends to go forward in fits and starts.
fit in
1. (人)与他人和谐相处;适应
他认为自己该强硬起来,好与朋友们保持一致。
he feels he should become tough to &B{fit in with} his friends.
fit someone/thing in (或 into)
1. 安插,找地方放;把…放进
你还能往水壶里再加点水吗?。
can you fit any more water into the jug?.
fit someone/thing out (或 up)
1. 装备,装配;供给
船舱按高标准装配。
the cabin had been fitted out to a high standard.
fit someone up
1. (英,非正式)伪造证据诬陷某人
浏览量:2
下载量:0
时间:
available释义:可利用的;可得到的;有空的。以下是读文网小编为大家整理了available的同义词和例句,以供参考。
Do you have a room available?
你们有空房间吗?
The swimming pool is available only in summer.
这个游泳池只在夏天开放。
All sorts of lamps are available in that shop.
在那家商店可买到各式各样的灯具。
The Prime Minister was not available for comment.
首相无暇作出评论。
When will the plumber be available?
管道工什么时候有空?
This film ticket is no longer available.
这张电影票不再有效。
The round trip ticket is available for two months.
返程票两个月有效。
We must utilize all available resources. 我们必须利用可以得到的一切资源。
He truncated a news item to fit the available space. 他删节一则新闻以适合可用的版面。
When you do go out, look for available deals and discounts. 如果一定要出去吃,记得查找可用的优惠和折扣。
Use this clause if the table must be up and available at any time. 如果该表在任何时刻都必须是可用的,那么应该使用该子句。
You have no way to indicate whether this method should or should not also beavailable to classes outside the JAR. 您没有办法来表明这个方法是否也应该或不应该对该JAR之外的类可用。
Look for available patterns that support all or part of your domain. 请寻找为您的域提供全部或部分支持的可用模式。
Your class will have some other facilities available to you. 这个类将有一些其他的工具提供给您。
Do they have to wait for the information, or is it instantly available? 他们是否必须等待该信息,或者该信息是否立即可用?
What matters is that the customize function be available. 重要的是这个定制功能是可利用的。
In this section, we highlight some of the options available. 在这一节中,我们将重点介绍一些可用的选项。
Custom properties are available after they have been set for the task instance, orin all task states, when they are set on the task template. 自定义属性在已经为任务实例进行了设置之后可用,或在任务模板上进行设置的情况下,在所有任务状态下可用。
Select one or more projects to reference from the list of available projects, thenclick the >> button to add those projects to the reference group. 从可用项目的列表中选择一个或多个要引用的项目,然后单击 >>按钮以将那些项目添加到引用组。
Custom properties are available after they have been set for the process oractivity instance, or in all task states, when they are set on the process or activitytemplate. 自定义属性在已经针对流程或活动实例进行设置之后可用,或在流程或活动模板上进行设置的情况下,在所有任务状态下可用。
Have some background information available to buttress your case, includinglinks and citations. 有一些可用的背景信息支持你的案例,包括链接和引用。
Each component gets slightly less space because there must be room for the tabbar, but as you tab between them, they get all the space available. 将每个组件的空间缩小一些,因为需要为选项卡栏留出空间,但在它们之间加选项卡时,它们可获得所有可用空间。
If possible, you should examine all data fields available. 如果可能,您应该检查所有可用的数据字段。
These bounds could specify the set of available constructors that must bepresent in any instantiation of the parameter. 这些界限可以指定一组可用的构造函数,它们必须出现在参数的每一个实例化中。
These connections will be available, but the flow is paused until data arrives onthe socket to be processed. 这些连接是可用的,但是要对消息流进行解释,直到数据达到要进行处理的套接字。
Now, it will return all available buffers, but you only want one. 目前,它将返回所有可用的缓冲区,但是我们只需要一个。
You can determine the state transitions available for this application. 您可以确定这个应用程序可用的状态转换。
浏览量:2
下载量:0
时间:
be able to释义:会; 能。那么你知道be able to的同义词有哪些吗,以下是读文网小编为大家整理的be able to的同义词和例句,以供大家参考。
can, could和be able to基本相同,在很多语境下是可以互相换着用的,但是也还有点不同
1. be able to强调一个人有能力去做,就是有本事的意思
2. can,could表示能够,是情态动词,很多时候是一种推测的语气。
比如,你能帮我吗?
如果用can/could来问,,那这事就是举手之劳,谁都能帮,就是推测对方乐意帮忙不乐意,
如果用be able to来提问,那是很难做到的事,问对方有这个本事没有。
could是can的过去式,但是,现在时中也可以使用could,比can的语气更加客气些。
浏览量:3
下载量:0
时间:
able表 能够的; 有能力的; 有才干的; 干练的的意思,那么你知道able的反义词有哪些吗?接下来小编为大家整理了able的反义词,希望对你有帮助哦!
1. Chantal was lucky to be able to salvage her career.
尚塔尔能保住她的事业算是走了运。
2. The RAF recognized him as an out-standingly able engineer.
英国皇家空军表彰他是一名非常能干的机械师。
3. Anton was able to transfer from Lavine's to an American company.
安东成功地从拉文调到了一家美国公司.
4. He conjectured that some individuals may be able to detect major calamities.
他猜测说有些人也许能够察觉重大灾难。
5. The government have not been able to turn today'sdemonstration to their advantage.
政府未能把今天的游行示威转为己用。
6. We were not able to meet the deadline because of manufacturing delays.
因为制造方面的延误,我们没能赶上最后期限。
7. I do hope you'll be able to come to the wedding.
我确实希望你能来参加婚礼。
8. The gym can be used by both able-bodied and disabled people.
这家健身房健全和残障人士都可使用。
9. It would be nice to be able to afford to retire earlier.
无后顾之忧而能提早退休当是件幸事。
10. Individualists say that you should be able to wear what you want.
个人主义者认为人应该想穿什么就穿什么。
11. Magistrates will be able to attach conditions when juveniles are remanded.
地方法官将可以在少年犯送押时提出附加条件。
12. I hope that everyone will be able to join in the fun.
我希望每个人都能够加入进来,玩得开心。
13. He was never able to get past the border guards.
他从未能够通过边防哨兵的检查。
14. Have you been able to have any kind of contact?
你联系上了吗?
15. One of my most able students was rejected by another university.
我的一个最有能力的学生申请另一所大学落选了。
浏览量:3
下载量:0
时间: