gridview 問題
<ItemTemplate><tr>
<%
dim dt as DataTable = db.getData("select * from customer")<--一定有data
For i = 0 To dt.Columns.Count - 1
#Eval(dt.Columns(i).ColumnName) <------------這個error
Next
%>
</tr>
</ItemTemplate>
要怎樣改才正常?
[ 本帖最后由 chris1a2b3c 于 2010-1-13 16:32 编辑 ]