.NET知识点滴_001

1.Codebehind and Compilation in ASP.NET 2.0

在 @ Page 指令中引入了 CodeFile 属性,以及将代码隐藏类声明为部分类。当开始生成该页时,您将注意到另一个区别 — 服务器端控件不再需要在代码隐藏类中显式声明,但是您仍然能够以编程方式完整地访问它们。

EN CN

2.改变页面的 ViewState 数据存储位置

ASP.NET 2.0 允许您修改临时保持页面状态的位置和方式。在某些情况下,避免在客户端与服务器之间往返传送数据可能更为可取。ASP.NET 2.0 提供的两个页面状态持续程序分别是 HiddenFieldPageState 持续程序和 SessionPageStatePersisterSessionPageStatePersister 利用与浏览器会话相关的服务器会话存储数据。使用 SessionPageStatePersister 有正反两个方面。对于发送到(自)浏览器的页面而言,使用会话(而非隐藏字段)可以避免其大小的增加。在许多情况中,页面状态是全部标记的一个重要部分。然而,在会话中存储数据将占用宝贵的服务器资源。此外,隐藏字段不像会话那样具有相关的超时。您可以配置一个应用程序,以便将会话保持到后端数据库,并避免将负载直接加到 Web 服务器。这也将扩展至 Web 场方案。

CN

3.have a review of Data Access in ASP.NET

4.C# Basic Interview Questions

5.使用Rose2003进行数据库建模并导入SQLServer2000的图解详细过程

我有一个名字叫夜夜

人,怎么可以不长记性呢?

我见过好多好多的人

他们总是给我不同的名字

可是我是我自己呢

 

其实以前有一帮人叫我豆腐

我很喜欢这个名字

名字是自己的

可是别人总想给你拿走,就像幸福一样

 

名字是自己的

可是很多时候是别人给你的

就像幸福一样

每个名字都和一种幸福有关

 

妈妈起的名字

是她给你的一辈子的幸福

后来,你结集了很多种幸福

他们和你一起被埋入土地里

 

给你带来痛苦的那些个名字

为什么你一定要埋在心底呢?

人,怎么可以不长记性呢?

你可是你自己呢

 

千千万万个人之中

你给了我一个名字

你说就叫我夜夜吧

你的幸福,你会给我么?

 

千千万万个人之中

我还会有能力选择可以给我名字的那个人吗?

我不再有感动

我已经失去爱的能力了……..

 

这风沙太NB了

中国北方遇大范围强沙尘

下午4:30,于老大叫我起床干活,网站又挂了.5:40进了图书馆,还书借书,帮个研一的哥哥选书学东西.刚过6点的时候出来,哇,天怎么变成这个样子了,太神奇了….老天比女人变的还快,哈.等吃完饭发现天已经黑了下来,拍PP只是妄想.听听风声也种享受,不过看看走道里的尘土明天保洁的大姐们又要忙活了.学校网络的龟速实在是难以忍受了.

惊奇的发现MSN不用代理也能登录了.又惊奇的发现一个域名没有续过费竟然也还能用,谁帮我续过了吗?

   Updated Date: 20-mar-2006
   Creation Date: 06-mar-2005
   Expiration Date: 06-mar-2007

变化总是太快….幸福总是在你身边你却不懂得珍惜.

Find new things

technology entrepreneurs under 30.

Under 30, on the Cutting Edge
This crop of fresh faces is poised to shake up the tech world. Here’s their advice to wannabe entrepreneurs
by Sarah Lacy, Olga Kharif and Justin Hibbard

Want to know what’s hot in technology? Follow the money. That’s what we did to find a fresh crop of tech’s best young entrepreneurs. We surveyed dozens of VC firms, from Sequoia Capital in Silicon Valley to Austin Ventures in Texas to Battery Ventures in Boston, to find out who’s generating buzz and getting funded — if not bought.

We then combed through the nominees to find the dozen or so people who in our view are poised to make the biggest impact on technology, be it through innovative ideas, successful business plans, outstanding products, or all of the above.

You may be familiar with some finalists. We felt we couldn’t overlook Skype’s Janus Friis, who last year sold his brainchild to eBay for a handsome $2.6 billion. Others may be new to you. Take Guido Lanza, who founded Pharmix to reshape the way drugs are developed, or Mark Spencer, whose startup Digium uses open-source software to build low-cost, multifunction phone systems. All, we hope you’ll agree, have the potential to shake up tech. Their profiles — and advice for would-be entrepreneurs — follow.

Jeremy Stoppelman, Russel Simmons
Ages: 28 and 27, respectively
Company: Yelp
Funding: $6 million from Bessemer Venture Partners and PayPal co-founder Max Levchin

Stoppelman and Simmons rode out the worst of the dot-com bust during a stint at PayPal from 2000 to 2003, forging ties with colleagues that have since paid off. In the summer of 2004, they worked on an incubator project with Levchin, who gathered PayPal alumni to develop ideas for startups. They hatched the concept for Yelp, a Web site that lets users write and share reviews of local businesses. Levchin provided seed capital and Stoppelman dropped out of Harvard Business School to start the company.

Advice: Raise more money than you think you’ll need early in your company’s life, Stoppelman says. It will get you through unforeseen rough patches in the early research and development phase. Says Simmons: Be extremely careful with every hire and remember that the personalities will filter into every aspect of the company.

Guido Lanza
Age: 29
Company: Pharmix
Funding: $13 million from Mohr, Davidow Ventures and Latterell Ventures

Lanza wants to revamp the slow-moving $38 billion drug-development industry. So he built a program that simulates a lab and is aimed at helping drug companies save time and money in testing. Still, Big Pharma was skeptical at first. “No one wanted to hear, ‘Here’s the computer — now throw away your chemist,'” says Lanza, who founded Pharmix and is the company’s chief technology officer. So the company used its own technology to find a new statin, used to lower cholesterol. The drug is in animal trials and Pharmix is talking to several companies about partnerships. “We’re trying to reinvent the entire process by which drugs are discovered,” Lanza says. “This is not a two-year plan.”

Advice: “It’s really a patience game, and you need investors who share a vision. Everything else comes from there. If you have investors looking for a quick turnaround, 99% of your problems are going to come from that.”

 

Seth Sternberg, Sandy Jen, and Elaine Wherry
Ages: 27, 25, and 28, respectively
Company: Meebo
Funding: $3.5 million from angel investors and Sequoia Capital

Meebo re-imagines instant messaging. The dominant IM players — Yahoo!, America Online, and Microsoft — require users to download software. With Meebo, all it takes is an Internet connection, user name, and password. It has been a hit with students, employees who are restricted from downloading software, or folks who just want to chat from a borrowed computer. Founded by Sternberg, Jen, and Wherry, Meebo carries some 20 million messages a day, and more than 400,000 people log on daily — all with little marketing. The trick will be staying ahead of the giants and making money from a yet-unproven ad-sales model.

Advice: “Surround yourself with really, really smart people and don’t be afraid to give them equity, because it’s all about the team,” says Sternberg.
Raza Khan and Vishal Garg
Ages: Both 28
Company: MyRichUncle
Funding: $29 million from Battery Ventures

Many recent college grads recall well the struggle of paying for school. Few take on the $15 billion private student loan industry in response. New York University alumni Khan and Garg had many hardworking friends who had trouble getting loans because of their parents’ income level. So they founded MyRichUncle, which considers not only income but also a host of factors traditional lenders ignore, such as major, grades, and career aims. The company also tries to match loan type to career goals, advising future teachers, for example, to avoid too much debt. In half a year, MyRichUncle has lent $22 million to 1,600 students, thanks to a $400 million credit facility by banks including Merrill Lynch.

Advice: “It’s not about how much you can make,” Khan says. “You have to be focused on building something greater than yourself.”

 

Bill Trenchard
Age: 31 (was 30 when chosen)
Company: LiveOps
Funding: $22 million from Menlo Ventures and CMEA Ventures

LiveOps combines smart business with social conscience. Trenchard’s third company, LiveOps connects companies in need of outside call centers with employees able to handle those calls. But rather than farming the work overseas, LiveOps sends it to a U.S. workforce made up of some 6,000 stay-at-home parents and other part-time workers who need or want to work from home. LiveOps itself employs over 160 people and has been profitable since 2000. Customers include Ronco Inc. and Family Link, set up by the Bush Administration in the wake of Hurricane Katrina. If LiveOps takes even a modest bite of the $350 billion contact-center market, investors will no doubt be pleased.

Advice: “Just jump into the deep end of the pool,” says Trenchard. “Smart, motivated people will pick things up quickly and you’ll get further faster than taking the safe route through Corporate America.”
Mark Spencer
Age: 28
Company: Digium
Funding: Self-funded

Digium created and supports Asterisk, one of the hottest open-source projects on the Web. Asterisk provides more calling features than traditional phone systems, but at a fraction of the cost, Digium says. The system has been downloaded hundreds of thousands of times and attracted the attention of such giants as Intel, which signed a development deal with Digium in 2005. Unlike entrepreneurs looking for a quick buck, Digium founder and CEO Spencer has stayed focused on his product and community of open-source contributors, resisting outside capital for now. Meantime, Digium is growing like a weed. Because Asterisk is available free over the Web, users get in touch only when they want or need support, letting Spencer focus on the product and partnerships.

Advice: “Speak to as many successful people as you can,” Spencer says. “You’ll get lots of advice, much of it contradictory, but your job as the entrepreneur is to figure out how it all applies to you and your business.”

 

Janus Friis
Age: 29
Company: Skype
Funding: Before it was bought by online auction house eBay in October for $2.6 billion, Skype raised more than $20 million from investors, including Draper Fisher Jurvetson

Friis got his start answering phones on a help desk at Cybercity, one of Denmark’s first Internet service providers. He met Niklas Zennstrom while at operator Tele2 and the duo went on to launch a batch of notable Net companies, from get2net, another Danish ISP, to the music and video-sharing service KaZaA, now the world’s most downloaded Internet software. Skype, a provider of low-cost PC-to-PC calling, remains his most successful venture to date and it’s probably not his last, says Web-calling entrepreneur Jeff Pulver. “As long as there’s a market to be disrupted, he’ll be there,” Pulver says.

Advice: Skype declined to make Friis available
Greg Tseng and Johann Schleier-Smith
Ages: Both 26
Company: Tagged
Funding: $7 million from investors led by Mayfield Fund

Pals since seventh grade, when they met in a science class, Tseng and Schleier-Smith went to the same high school and both majored in physics and mathematics at Harvard University (Tseng threw in chemistry for good measure). The pair used revenue from a company they founded in college (crushlink, for connecting shy singles) to start an incubator that spawned Tagged. The social networking site limits membership to people between 13 and 19 — an attempt to lock in the teen market while easing parents’ concerns over online safety. Officially launched in 2004, Tagged has a registered user base of 2 million. Still, it’s a long way from nudging aside MySpace and its tens of millions.

Advice: Choose something you love and “be O.K. with uncertainty,” Tseng says. Adds Schleier-Smith: Find good mentors. When you’re starting out, “you have a lot more to learn from other people than they have to learn from you.”
Greg Tseng and Johann Schleier-Smith
Ages: Both 26
Company: Tagged
Funding: $7 million from investors led by Mayfield Fund

Pals since seventh grade, when they met in a science class, Tseng and Schleier-Smith went to the same high school and both majored in physics and mathematics at Harvard University (Tseng threw in chemistry for good measure). The pair used revenue from a company they founded in college (crushlink, for connecting shy singles) to start an incubator that spawned Tagged. The social networking site limits membership to people between 13 and 19 — an attempt to lock in the teen market while easing parents’ concerns over online safety. Officially launched in 2004, Tagged has a registered user base of 2 million. Still, it’s a long way from nudging aside MySpace and its tens of millions.

Advice: Choose something you love and “be O.K. with uncertainty,” Tseng says. Adds Schleier-Smith: Find good mentors. When you’re starting out, “you have a lot more to learn from other people than they have to learn from you.”
Alexei Erchak
Age: 30
Company: Luminus Devices
Funding: $28 million in three rounds from Draper Fisher Jurvetson, Stata Venture Partners, Battery Ventures, Argonaut Holdings, Eastward Capital

Unlike many of his peers, Erchak entered Massachusetts Institute of Technology’s graduate program knowing he wanted to do something entrepreneurial — not just pure research. He scoured the school for a research project with promising commercial potential and found professor John Joannopoulos’ work on so-called photonic crystal lattices, which could potentially produce very bright, low-energy light sources. Erchak became the youngest member of an MIT research team that developed and patented an extremely bright light-emitting diode based on photonic crystal lattice technology. Erchak and his co-founders used the MIT network to contact MIT alums and Analog Devices Inc. founder Ray Stata, whose venture fund provided seed capital for Luminus Devices.

Advice: “Don’t look at what the industry is doing,” Erchak says. “Look at what they’re not doing and focus on that. That’s where the real disruptive technology comes from.”

 

Angus Davis
Age: 27
Company: Tellme
Funding: More than $250 million from investors, including Kleiner Perkins Caufield & Byers and former Netscape President and CEO Jim Barksdale

Davis was put on suspension at Phillips Academy Andover for hacking into the prep school’s phone system. A decade later he’s still tinkering with phones — but making big bucks at it. After a stint at Netscape, Davis co-founded Tellme, a maker of software that improves the way users get information over the phone. Founded in 1999, Tellme is profitable, generates more than $100 million in annual sales, and could well become one of the year’s hottest initial public offerings.

Advice: “If you are going after a new market, know nothing or everything there is to know about that market,” Davis says. “If you know only something, you might be afraid” to get started, he says.

 

The big city and Interview

The big city and Interview

  其实最近一直都在快快的赶毕业设计,好快点儿忙工作的事.昨天在上海见过蓝大哥,都没来的及四下看看就返回学校了.
  我的表现我自己也有点儿不满意,看来在和别人的交流上真的要下点儿功夫了.很遗憾自己一直都在小打小闹没有真正的系统性做过东西.不过我觉的这个项目真的是很有前景的,所以自己也很希望快点加入到当中去.对上海还是有点儿怕怕的感觉,没有北京有亲切感,因为我一听到南方的方言自己就会发晕.而且我一点儿也不喜欢人多,昨天一来一回都是乘地铁,那可叫人多呢.但是呆在学校的时间不会太久了…..
Continue reading The big city and Interview

在路上

在路上.....

  感谢师弟帮忙弄到了歌友会的票,听完了,看完了,睡了三个小时刚好起来赶凌晨的火车去上海.河南的青年们还是很疯狂,基本上二个小时我只是在听,而不是在看,因为前面的小兄弟基本上就从没有坐在座位上.商业化还是很可耻的,它促进音乐的进步又时时在影响着音乐的分享.一个小小的歌友会还搞那么多的花样儿.
  有些歌听来还是让你怦然而动,许巍的歌我自己都还是很喜欢的.所以才放弃本该睡觉的时间去听.去现场感受一下他的音容笑貌.嗯,当他在面前的时候,我在想像他在为我一个人歌唱.我不会疯狂只会静静的听,静静的感受.我听过的东西很少,让自己喜欢的东西就更少,但是很多时候听东西是随着心情而变化的,所以学会选择不同的音乐来改变自己的心情我觉的才是真正掌控了音乐,而不是要音乐掌控了人的精神,更何况这么多商业化的垃圾呢.

隐秩序 适应性造就复杂性

 美.约翰.H.霍兰  共创未来 打造自由软件神话

  《隐秩序》是一部里程碑式杰作,是霍兰几十年关于主体系统如何演化、适应、凝聚、竞争、合作,以及与此同时如何创造极大的多样性和新颖性等深刻思想的完美浓缩。所涉原理数目很少、很一般,但又极优美。霍兰杰出而活跃的心智取从经济学跳跃到免疫学,再到生态学、神经病学和博弈论,然后再返回来。这些强有力洞见的大师般综合为为研究复杂性如何涌现和适应设定了一个路标;所有试图理解现在称作“复杂性”之大综合的人们,将长期把它作为指路灯塔。
  Hidder order:How Adaptation Builds Complexity,大一的时候在图书馆看这个哲人石系列的共创未来看的爱不释手,后来那本书又认认真真的读过三次.然后就喜欢上了写code的人,自己也想一直写下去.这本《隐秩序》是在图书馆里一个角落里发现的,似乎是没有人动过的样子,当时自己读过共创未来以后一直在找这个系列的其它书,所以看见的时候一阵激动,拿在手翻了一个下午.
  很小的时候总想把这个世界弄个究竟,越长大越糊涂.看的书越多,知道的事越多越觉的自己是很渺小.因为事物的复杂是超出自己的想像,研究一个系统的复杂性是几乎不可能的.霍兰用了七个元素来把他的理论(CAS)慢慢道来,其中有三个机制:标识,内部模型,积木;四个特性:聚集,流,非线性和多样性.原来建模对研究真的是很有用的.这七个元素我反复看了好几次,觉的似乎明白好多以前自己想过的事情,似乎醍醐灌顶的样子.仔细的读这本书可以了解到底怎么研究一门理论,从无到有的全新的创造出一种东西来.当然这本书只读一次是不够的,要多读的几次才能很好把他的哲学方法溶入自己.新事物的出现只是创造出他的系统孕育出来的,没有偶然.所谓大惊小怪只是没有见过,没有思考过罢了.