2007总体来说还是不错的,2008没准也不会太差。
过年好好休息,然后努力!
2007总体来说还是不错的,2008没准也不会太差。
过年好好休息,然后努力!
sea从上海回来了,我们在武商量贩相遇。这个家伙还是老样子,不过这次见到他仍然是在找工作,和上次一样,辞了职的人。
听说他和韩还有一个经管的大哥结拜了,真是羡慕,虽然sea一直称我孟兄,但实在是惭愧,我一直远不如他们。上海的那帮人搞了个工作室,业余搞点项目做,我在武汉一个人,目前还不知道能做什么。自己的一些零碎想法,也只是变成了星星点点的破代码。
不知道是不是真的如此,工资真的变得这么低了吗?Infosys只给他们两千多,太惨了,搞的这哥们面SAP的时候都不敢再开高价,只报了个四千,回来就被一帮人BS了一番。
晚上叫他到家里吃饭,正好老常也来,sea顺便把他的大学室友带过来,他们聊得挺热闹,我想也会是这样,一瓶酒分四个人,老常说没喝好。
参考听证会的解释(百度百科),这次降价听证会的“双方”应该是消费者和提供移动通讯服务的移动提供商,所以个人觉得人大代表、政协委员、专家学者没有资格参加这次听证,这些人可以作为支持前两者一方的个人身份参加听证。国资委当然是移动等一方,赚了钱有他的份嘛。
看看所谓交锋的三个主题:
第一个是是否降价到位,这个是主题,正当的。
第二个是先降资费还是先形成竞争,这是国务院的事情,与消费者无关,消费者只要保证服务和低价,价低了,有人不想做了,也自然有人想做了,竞争自然就有。
第三个讨论到取消漫游费是否优惠富人简直是扯淡,有税法来调整,跟你移动漫游费何干?真是闲得蛋疼。
string input = "";
if (!string.IsNullOrEmpty(TextBox1.Text))
{
input = TextBox1.Text.Trim();
}
string html = HtmlHandle.GetHtml(input, 8000, 0, Encoding.GetEncoding("gb2312"));
string ptn = @"<span id=""linkArea"">.*?""(?<link>.*?)"",""(?<title>.*?)"",""(?<subtitle>.*?)"".*?</span>";
string res = "";
MatchCollection mc = Regex.Matches(html, ptn, RegexOptions.ExplicitCapture);
foreach (Match ma in mc)
{
res = res + "<a href=" + ma.Groups["link"].Value + " title= " + ma.Groups["subtitle"].Value+">" + ma.Groups["title"].Value + "</a><br/>" ;
}
Literal1.Text = res;
在项目中加入SubSonic.dll的引用;
在项目web.config的configuration中加入
<configSections>
<section name="SubSonicService" type="SubSonic.SubSonicSection, SubSonic" requirePermission="false"/>
</configSections>
<connectionStrings>
<clear/>
<add name="MySqlDataConnection" connectionString="Data Source=dataserveripornamepipe;Database=database;User ID=username;Password=password"/>
</connectionStrings>
<SubSonicService defaultProvider="MySqlData">
<providers>
<clear/>
<add name="MySqlData" type="SubSonic.MySqlDataProvider,SubSonic" connectionStringName="OracleDataConnection" generatedNamespace="MySqlDataDomain"/>
</providers>
</SubSonicService>
然后SubSonic DAL,参照http://hi.baidu.com/beloving/blog/item/472d17ce1ed17e3ab600c8a9.html
注:如果同一个项目中有多个数据库,甚至是多种,如Sql Server+Oracle+MySql,建议用不同的Namespace,这样Generated目录中会出现多个相应文件夹来存放相应的数据类。
测试中我用的discuz数据库,输出界面显示如下信息:
Generating ODS Controllers for MySqlData (201 total) that’s a serious amount of tables to generate. But we can handle it. You just will need to be patient and go get some coffee while we do this thang…
呵呵
首先要装Oracle客户端,数据库放在哪里就看你的情况了。
在项目中加入SubSonic.dll的引用;
在项目web.config的configuration中加入
<configSections>
<section name="SubSonicService" type="SubSonic.SubSonicSection, SubSonic" requirePermission="false"/>
</configSections>
<connectionStrings>
<clear/>
<add name="OracleDataConnection" connectionString="Data Source=yourdataspace;Persist Security Info=True;User ID=yourid;Password=yourpassword"/>
</connectionStrings>
<SubSonicService defaultProvider="OracleData">
<providers>
<clear/>
<add name="OracleData" type="SubSonic.OracleDataProvider,SubSonic" connectionStringName="OracleDataConnection" generatedNamespace="OracleDataDomain"/>
</providers>
</SubSonicService>
然后SubSonic DAL,参照http://hi.baidu.com/beloving/blog/item/472d17ce1ed17e3ab600c8a9.html