不是在数据库里。是在程序里。
請問你的編號是放在哪兒的呢
前台:<%# xuhao() %>;后台: private int i = 0; public int xuhao() { i++; return i; }在VS2005 里测试过。