Sunday, February 12, 2012

2012第一個POST

今年希望做到的事:

1. MA CANNOT FAIL!!!!!
2. FYP CANNOT FAIL!!!!!
3. 希望有時間提升語文能力

最近真的很忙........看來2012年上半年都不會過得很好........要頂硬上呀~~~

Monday, January 16, 2012

Visual Studio force rebuild when the debugging

I can easily find the solution of this problem (it is everyone knew it ???????)

I know it should be changing something in Option, now I found it

Friday, November 12, 2010

Linq 多項 OrderBy...

Var movies = _db.Movies.Orderby(c => c.Category).ThenBy(n => n.Name)

不同sql...原來用ThenBy

還可以
var movies = from row in _db.Movies  orderby row.Category, row.Name select row;

Monday, November 1, 2010

OptimisticConcurrencyException

C兄教的...
處理save入db時出現concurrency的問題...
記低先...
                           
try
{
    int Indict = db.SaveChanges();
}
    catch (OptimisticConcurrencyException)
{
    db.Refresh(System.Data.Objects.RefreshMode.ClientWins, add);
    db.SaveChanges();
}

Saturday, October 30, 2010

I find that it is really so stupid to type so much about a tech news, all details of it are in its site...

Name:
box.net - free online storage space provide 1GB space for free users

Why mention this: 1. It is new
2. More friendly to cloud compare with other file storage service
3. More friendly with Google Apps & Android
4. Can Embed File download panel to webpage


http://www.box.net/home