Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
Original data source does not support inserts.
posted

I am binding the DataSet with WebDataGrid as DataSource. While adding row I am facing the Exception as follows

[Exception] :Original data source does not support inserts.

So how can I not allow to insert the row to DataSet. And I want to add row explicitly from RowAdding Event.

So how can I do that without facing Exception?

Parents
No Data
Reply
  • 5
    posted

    ok , i am writing the answer what i understood ,

    DataKeyFields="HSE_id"
    EnableDataViewState="True" EnableViewState="True"

    ADD THSE LINES AS BELOW AND TRY IT ,IF  Ur's problem solved it's good

    <ig:WebDataGrid ID="wdg" runat="server" Height="350px" Width="99%" DataKeyFields="HSE_id"
    EnableDataViewState="True" EnableViewState="True" >

Children
No Data