ObjectDataSource在使用時需要事先指定查詢方法SelectMethod(其實(shí)還有InsertMethod,UpdateMethod和DeleteMethod),TypeName和DataObjectTypeName,然后我們只需要編寫好SelectMethod方法的實(shí)現(xiàn),如果需要分頁,那么還要指定MaximumRwosParameterName屬性和StartRowIndexParameterName,然后在SelectMethod方法中加上相應(yīng)的參數(shù),當(dāng)然,SelectCountMe...
www.dbjr.com.cn/article/210...htm 2025-5-28