I upgraded an existing site and have suddenly run into a new error.
// Get a DataSet containing all Page
dsGetTrans = oTrans.GetEmptyTrans();
dsGetTrans.Tables["deptran"].Rows[0]["tr_applpg"]=MmTextBox2.Text ;
As you can see I'm getting a blank row and trying to insert data column by column. It's suddenly getting the error below.
Column 'tr_applpg' is read only.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.ReadOnlyException: Column 'tr_applpg' is read only.
Stack Trace:
[ReadOnlyException: Column 'tr_applpg' is read only.]
System.Data.DataColumn.CheckReadOnly(DataRow row)
System.Data.DataTable.RaiseColumnChanging(DataRow row, DataColumnChangeEventArgs e)
System.Data.DataRow.set_Item(DataColumn column, Object value)
System.Data.DataRow.set_Item(String columnName, Object value)
Acme.OrderSystem.Depindx.saveit() in C:\Inetpub\wwwroot\mmJumpStart\Depindx.aspx.cs:631
Acme.OrderSystem.Depindx.MmButton7_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\mmJumpStart\Depindx.aspx.cs:703
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()
Any ideas?