Update problem when using ISDataSource

3 replies. Last post: August 24, 2011 3:34 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
xu guochunMember

Hi ,

  I am tring to update the data in the webgrid , then there will be a alert said "update failure etc" . But in fact , the data in the webgrid is change and the data in the database is also change . It mean update success .

<ISDataSource:ISDataSource runat="server" ID="IDS1" SchemaName="Bizlogic.DB_Frame_CustomPageSetting">
      <Tables>
           <ISDataSource:ISDataSourceTable SelectMethod="Select" TypeName="Bizlogic.DB_Frame_CustomPageSetting"
 TableName="DB_Frame_CustomPageSetting" EnablePaging="true" SelectCountMethod="SelectCount">
                 <SelectParameters>
                     <asp:QueryStringParameter Name="categoryNum" DbType="String" QueryStringField="ParentCategoryNum" />
                 </SelectParameters>
            </ISDataSource:ISDataSourceTable>
       </Tables>
</ISDataSource:ISDataSource>

   The code above I used is to bind to webgrid , and the update method I used is OnBatchUpdate . The image in the attach file is that alert .

  Anyone can help me ? Thanks a lot !

1 attachment
All times are GMT -5. The time now is 6:25 PM.
Previous Next