Hi,
I have an british ASP.Net 2.0 application which is doing what (should) be
very simple. But I am having issues.
On my page I have a GridView as follows (some tags excluded for easy reading):
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="ObjectDataSource1" DataKeyNames="Id"
OnRowUpdated="GridView1_RowUpdated">
<Columns>
<asp:BoundField DataField="CreateDate" HeaderText="Create Date"
SortExpression="CreateDate"
DataFormatString="{0:d}" ApplyFormatInEditMode="True"
ReadOnly="True" HtmlEncode="False">
<HeaderStyle Wrap="False" />
</asp:BoundField>
<asp:CommandField ButtonType="Image"
CancelImageUrl="~/images/manager/false.gif"
EditImageUrl="~/images/manager/edit.gif"
ShowEditButton="True" UpdateImageUrl="~/images/manager/true.gif" />
</Columns>
</asp:GridView>
This is bound to an ObjectDataSource defined as follows:
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
SelectMethod="GetCampaigns"
TypeName="B3.Mailer.BusinessEntities.Campaign"
DataObjectTypeName="B3.Mailer.BusinessEntities.Cam paign"
InsertMethod="Insert" UpdateMethod="Update">
<SelectParameters>
<asp:SessionParameter Name="clientId" SessionField="ClientId"
Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
The update method is defined as:
public static void Update(Campaign campaign)
{
}
However, when I edit a row in the GridView and press the update button I get
the following error:
[InvalidOperationException: Cannot convert value of parameter 'CreateDate'
from 'System.String' to 'System.DateTime']
System.Web.UI.WebControls.ObjectDataSourceView.Con vertType(Object value,
Type type, String paramName) +485
System.Web.UI.WebControls.ObjectDataSourceView.Bui ldObjectValue(Object
value, Type destinationType, String paramName) +217
System.Web.UI.WebControls.ObjectDataSourceView.Bui ldDataObject(Type
dataObjectType, IDictionary inputParameters) +548
System.Web.UI.WebControls.ObjectDataSourceView.Exe cuteUpdate(IDictionary
keys, IDictionary values, IDictionary oldValues) +1520
System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values,
IDictionary oldValues, DataSourceViewOperationCallback callback) +179
System.Web.UI.WebControls.GridView.HandleUpdate(Gr idViewRow row, Int32
rowIndex, Boolean causesValidation) +1137
System.Web.UI.WebControls.GridView.HandleEvent(Eve ntArgs e, Boolean
causesValidation, String validationGroup) +835
System.Web.UI.WebControls.GridView.OnBubbleEvent(O bject source, EventArgs
e) +162
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56
System.Web.UI.WebControls.GridViewRow.OnBubbleEven t(Object source,
EventArgs e) +118
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56
System.Web.UI.WebControls.ImageButton.OnCommand(Co mmandEventArgs e) +106
System.Web.UI.WebControls.ImageButton.RaisePostBac kEvent(String
eventArgument) +200
System.Web.UI.WebControls.ImageButton.System.Web.U I.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +31
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument) +32
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +72
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3840
This appears to be caused by the date being in UK format (dd/mm/yyyy - which
is correct for this application) as dates which could also be in US format
(i.e. 12/12/2005) do not throw this error.
Both my browser and development machine are set to en-gb but there is no
Culture attribute set on the @Page tags on the page.
Is this a bug in the ObjectDataSource not conforming to globalization or am
I missing somthing?
Any help you can give will be much appreciated. Thanks in advance for your
help.
Regards,
Anne. 4 8472
Hi Anne,
How do you define the "CreateDate" within the
"B3.Mailer.BusinessEntities.Campaign" class?
--
HTH,
Phillip Williams http://www.societopia.net http://www.webswapp.com
"Anne Catterick" wrote: Hi,
I have an british ASP.Net 2.0 application which is doing what (should) be very simple. But I am having issues.
On my page I have a GridView as follows (some tags excluded for easy reading):
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" DataKeyNames="Id" OnRowUpdated="GridView1_RowUpdated"> <Columns> <asp:BoundField DataField="CreateDate" HeaderText="Create Date" SortExpression="CreateDate" DataFormatString="{0:d}" ApplyFormatInEditMode="True" ReadOnly="True" HtmlEncode="False"> <HeaderStyle Wrap="False" /> </asp:BoundField> <asp:CommandField ButtonType="Image" CancelImageUrl="~/images/manager/false.gif" EditImageUrl="~/images/manager/edit.gif" ShowEditButton="True" UpdateImageUrl="~/images/manager/true.gif" /> </Columns> </asp:GridView>
This is bound to an ObjectDataSource defined as follows:
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetCampaigns" TypeName="B3.Mailer.BusinessEntities.Campaign" DataObjectTypeName="B3.Mailer.BusinessEntities.Cam paign" InsertMethod="Insert" UpdateMethod="Update"> <SelectParameters> <asp:SessionParameter Name="clientId" SessionField="ClientId" Type="Int32" /> </SelectParameters> </asp:ObjectDataSource>
The update method is defined as:
public static void Update(Campaign campaign) { }
However, when I edit a row in the GridView and press the update button I get the following error:
[InvalidOperationException: Cannot convert value of parameter 'CreateDate' from 'System.String' to 'System.DateTime'] System.Web.UI.WebControls.ObjectDataSourceView.Con vertType(Object value, Type type, String paramName) +485 System.Web.UI.WebControls.ObjectDataSourceView.Bui ldObjectValue(Object value, Type destinationType, String paramName) +217 System.Web.UI.WebControls.ObjectDataSourceView.Bui ldDataObject(Type dataObjectType, IDictionary inputParameters) +548 System.Web.UI.WebControls.ObjectDataSourceView.Exe cuteUpdate(IDictionary keys, IDictionary values, IDictionary oldValues) +1520 System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) +179 System.Web.UI.WebControls.GridView.HandleUpdate(Gr idViewRow row, Int32 rowIndex, Boolean causesValidation) +1137 System.Web.UI.WebControls.GridView.HandleEvent(Eve ntArgs e, Boolean causesValidation, String validationGroup) +835 System.Web.UI.WebControls.GridView.OnBubbleEvent(O bject source, EventArgs e) +162 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56 System.Web.UI.WebControls.GridViewRow.OnBubbleEven t(Object source, EventArgs e) +118 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56 System.Web.UI.WebControls.ImageButton.OnCommand(Co mmandEventArgs e) +106 System.Web.UI.WebControls.ImageButton.RaisePostBac kEvent(String eventArgument) +200
System.Web.UI.WebControls.ImageButton.System.Web.U I.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +31 System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +32 System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +72 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3840
This appears to be caused by the date being in UK format (dd/mm/yyyy - which is correct for this application) as dates which could also be in US format (i.e. 12/12/2005) do not throw this error.
Both my browser and development machine are set to en-gb but there is no Culture attribute set on the @Page tags on the page.
Is this a bug in the ObjectDataSource not conforming to globalization or am I missing somthing?
Any help you can give will be much appreciated. Thanks in advance for your help.
Regards,
Anne.
Hi,
It's a simple private field with public accessors:
private DateTime _CreateDate;
public DateTime CreateDate
{
get { return _CreateDate; }
set { _CreateDate = value; }
}
Any ideas?
Thanks,
Anne.
"Phillip Williams" wrote: Hi Anne,
How do you define the "CreateDate" within the "B3.Mailer.BusinessEntities.Campaign" class? -- HTH, Phillip Williams http://www.societopia.net http://www.webswapp.com
"Anne Catterick" wrote:
Hi,
I have an british ASP.Net 2.0 application which is doing what (should) be very simple. But I am having issues.
On my page I have a GridView as follows (some tags excluded for easy reading):
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" DataKeyNames="Id" OnRowUpdated="GridView1_RowUpdated"> <Columns> <asp:BoundField DataField="CreateDate" HeaderText="Create Date" SortExpression="CreateDate" DataFormatString="{0:d}" ApplyFormatInEditMode="True" ReadOnly="True" HtmlEncode="False"> <HeaderStyle Wrap="False" /> </asp:BoundField> <asp:CommandField ButtonType="Image" CancelImageUrl="~/images/manager/false.gif" EditImageUrl="~/images/manager/edit.gif" ShowEditButton="True" UpdateImageUrl="~/images/manager/true.gif" /> </Columns> </asp:GridView>
This is bound to an ObjectDataSource defined as follows:
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetCampaigns" TypeName="B3.Mailer.BusinessEntities.Campaign" DataObjectTypeName="B3.Mailer.BusinessEntities.Cam paign" InsertMethod="Insert" UpdateMethod="Update"> <SelectParameters> <asp:SessionParameter Name="clientId" SessionField="ClientId" Type="Int32" /> </SelectParameters> </asp:ObjectDataSource>
The update method is defined as:
public static void Update(Campaign campaign) { }
However, when I edit a row in the GridView and press the update button I get the following error:
[InvalidOperationException: Cannot convert value of parameter 'CreateDate' from 'System.String' to 'System.DateTime'] System.Web.UI.WebControls.ObjectDataSourceView.Con vertType(Object value, Type type, String paramName) +485 System.Web.UI.WebControls.ObjectDataSourceView.Bui ldObjectValue(Object value, Type destinationType, String paramName) +217 System.Web.UI.WebControls.ObjectDataSourceView.Bui ldDataObject(Type dataObjectType, IDictionary inputParameters) +548 System.Web.UI.WebControls.ObjectDataSourceView.Exe cuteUpdate(IDictionary keys, IDictionary values, IDictionary oldValues) +1520 System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) +179 System.Web.UI.WebControls.GridView.HandleUpdate(Gr idViewRow row, Int32 rowIndex, Boolean causesValidation) +1137 System.Web.UI.WebControls.GridView.HandleEvent(Eve ntArgs e, Boolean causesValidation, String validationGroup) +835 System.Web.UI.WebControls.GridView.OnBubbleEvent(O bject source, EventArgs e) +162 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56 System.Web.UI.WebControls.GridViewRow.OnBubbleEven t(Object source, EventArgs e) +118 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56 System.Web.UI.WebControls.ImageButton.OnCommand(Co mmandEventArgs e) +106 System.Web.UI.WebControls.ImageButton.RaisePostBac kEvent(String eventArgument) +200
System.Web.UI.WebControls.ImageButton.System.Web.U I.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +31 System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +32 System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +72 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3840
This appears to be caused by the date being in UK format (dd/mm/yyyy - which is correct for this application) as dates which could also be in US format (i.e. 12/12/2005) do not throw this error.
Both my browser and development machine are set to en-gb but there is no Culture attribute set on the @Page tags on the page.
Is this a bug in the ObjectDataSource not conforming to globalization or am I missing somthing?
Any help you can give will be much appreciated. Thanks in advance for your help.
Regards,
Anne.
Hi Anne,
If I build a web page that allows the user’s browser to determine the
display of the date, yet my database operates on a server using the culture
setting for en-us, then I would get the error that you got as in this demo: http://www.webswapp.com/CodeSamples/..._2c_error.aspx
If I add an UpdateParameters section within my objectDataSource defintion to
explicitly cast the edited values to their appropriate date type, I do not
get that error as in this demo: http://www.webswapp.com/CodeSamples/...idView_2c.aspx
--
HTH,
Phillip Williams http://www.societopia.net http://www.webswapp.com
"Anne Catterick" wrote: Hi,
It's a simple private field with public accessors:
private DateTime _CreateDate;
public DateTime CreateDate { get { return _CreateDate; } set { _CreateDate = value; } }
Any ideas?
Thanks,
Anne. "Phillip Williams" wrote:
Hi Anne,
How do you define the "CreateDate" within the "B3.Mailer.BusinessEntities.Campaign" class? -- HTH, Phillip Williams http://www.societopia.net http://www.webswapp.com
"Anne Catterick" wrote:
Hi,
I have an british ASP.Net 2.0 application which is doing what (should) be very simple. But I am having issues.
On my page I have a GridView as follows (some tags excluded for easy reading):
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" DataKeyNames="Id" OnRowUpdated="GridView1_RowUpdated"> <Columns> <asp:BoundField DataField="CreateDate" HeaderText="Create Date" SortExpression="CreateDate" DataFormatString="{0:d}" ApplyFormatInEditMode="True" ReadOnly="True" HtmlEncode="False"> <HeaderStyle Wrap="False" /> </asp:BoundField> <asp:CommandField ButtonType="Image" CancelImageUrl="~/images/manager/false.gif" EditImageUrl="~/images/manager/edit.gif" ShowEditButton="True" UpdateImageUrl="~/images/manager/true.gif" /> </Columns> </asp:GridView>
This is bound to an ObjectDataSource defined as follows:
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetCampaigns" TypeName="B3.Mailer.BusinessEntities.Campaign" DataObjectTypeName="B3.Mailer.BusinessEntities.Cam paign" InsertMethod="Insert" UpdateMethod="Update"> <SelectParameters> <asp:SessionParameter Name="clientId" SessionField="ClientId" Type="Int32" /> </SelectParameters> </asp:ObjectDataSource>
The update method is defined as:
public static void Update(Campaign campaign) { }
However, when I edit a row in the GridView and press the update button I get the following error:
[InvalidOperationException: Cannot convert value of parameter 'CreateDate' from 'System.String' to 'System.DateTime'] System.Web.UI.WebControls.ObjectDataSourceView.Con vertType(Object value, Type type, String paramName) +485 System.Web.UI.WebControls.ObjectDataSourceView.Bui ldObjectValue(Object value, Type destinationType, String paramName) +217 System.Web.UI.WebControls.ObjectDataSourceView.Bui ldDataObject(Type dataObjectType, IDictionary inputParameters) +548 System.Web.UI.WebControls.ObjectDataSourceView.Exe cuteUpdate(IDictionary keys, IDictionary values, IDictionary oldValues) +1520 System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) +179 System.Web.UI.WebControls.GridView.HandleUpdate(Gr idViewRow row, Int32 rowIndex, Boolean causesValidation) +1137 System.Web.UI.WebControls.GridView.HandleEvent(Eve ntArgs e, Boolean causesValidation, String validationGroup) +835 System.Web.UI.WebControls.GridView.OnBubbleEvent(O bject source, EventArgs e) +162 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56 System.Web.UI.WebControls.GridViewRow.OnBubbleEven t(Object source, EventArgs e) +118 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56 System.Web.UI.WebControls.ImageButton.OnCommand(Co mmandEventArgs e) +106 System.Web.UI.WebControls.ImageButton.RaisePostBac kEvent(String eventArgument) +200
System.Web.UI.WebControls.ImageButton.System.Web.U I.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +31 System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +32 System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +72 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3840
This appears to be caused by the date being in UK format (dd/mm/yyyy - which is correct for this application) as dates which could also be in US format (i.e. 12/12/2005) do not throw this error.
Both my browser and development machine are set to en-gb but there is no Culture attribute set on the @Page tags on the page.
Is this a bug in the ObjectDataSource not conforming to globalization or am I missing somthing?
Any help you can give will be much appreciated. Thanks in advance for your help.
Regards,
Anne.
Hi Philip,
Your a geneous! Thanks, that works great!
I wish the MSDN documentation actually mentioned this!
Thanks again,
Anne.
"Phillip Williams" wrote: Hi Anne,
If I build a web page that allows the user’s browser to determine the display of the date, yet my database operates on a server using the culture setting for en-us, then I would get the error that you got as in this demo: http://www.webswapp.com/CodeSamples/..._2c_error.aspx
If I add an UpdateParameters section within my objectDataSource defintion to explicitly cast the edited values to their appropriate date type, I do not get that error as in this demo: http://www.webswapp.com/CodeSamples/...idView_2c.aspx
-- HTH, Phillip Williams http://www.societopia.net http://www.webswapp.com
"Anne Catterick" wrote:
Hi,
It's a simple private field with public accessors:
private DateTime _CreateDate;
public DateTime CreateDate { get { return _CreateDate; } set { _CreateDate = value; } }
Any ideas?
Thanks,
Anne. "Phillip Williams" wrote:
Hi Anne,
How do you define the "CreateDate" within the "B3.Mailer.BusinessEntities.Campaign" class? -- HTH, Phillip Williams http://www.societopia.net http://www.webswapp.com
"Anne Catterick" wrote:
> Hi, > > I have an british ASP.Net 2.0 application which is doing what (should) be > very simple. But I am having issues. > > On my page I have a GridView as follows (some tags excluded for easy reading): > > <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" > DataSourceID="ObjectDataSource1" DataKeyNames="Id" > OnRowUpdated="GridView1_RowUpdated"> > <Columns> > <asp:BoundField DataField="CreateDate" HeaderText="Create Date" > SortExpression="CreateDate" > DataFormatString="{0:d}" ApplyFormatInEditMode="True" > ReadOnly="True" HtmlEncode="False"> > <HeaderStyle Wrap="False" /> > </asp:BoundField> > <asp:CommandField ButtonType="Image" > CancelImageUrl="~/images/manager/false.gif" > EditImageUrl="~/images/manager/edit.gif" > ShowEditButton="True" UpdateImageUrl="~/images/manager/true.gif" /> > </Columns> > </asp:GridView> > > This is bound to an ObjectDataSource defined as follows: > > <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" > SelectMethod="GetCampaigns" > TypeName="B3.Mailer.BusinessEntities.Campaign" > DataObjectTypeName="B3.Mailer.BusinessEntities.Cam paign" > InsertMethod="Insert" UpdateMethod="Update"> > <SelectParameters> > <asp:SessionParameter Name="clientId" SessionField="ClientId" > Type="Int32" /> > </SelectParameters> > </asp:ObjectDataSource> > > The update method is defined as: > > public static void Update(Campaign campaign) > { > } > > However, when I edit a row in the GridView and press the update button I get > the following error: > > [InvalidOperationException: Cannot convert value of parameter 'CreateDate' > from 'System.String' to 'System.DateTime'] > System.Web.UI.WebControls.ObjectDataSourceView.Con vertType(Object value, > Type type, String paramName) +485 > System.Web.UI.WebControls.ObjectDataSourceView.Bui ldObjectValue(Object > value, Type destinationType, String paramName) +217 > System.Web.UI.WebControls.ObjectDataSourceView.Bui ldDataObject(Type > dataObjectType, IDictionary inputParameters) +548 > System.Web.UI.WebControls.ObjectDataSourceView.Exe cuteUpdate(IDictionary > keys, IDictionary values, IDictionary oldValues) +1520 > System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, > IDictionary oldValues, DataSourceViewOperationCallback callback) +179 > System.Web.UI.WebControls.GridView.HandleUpdate(Gr idViewRow row, Int32 > rowIndex, Boolean causesValidation) +1137 > System.Web.UI.WebControls.GridView.HandleEvent(Eve ntArgs e, Boolean > causesValidation, String validationGroup) +835 > System.Web.UI.WebControls.GridView.OnBubbleEvent(O bject source, EventArgs > e) +162 > System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56 > System.Web.UI.WebControls.GridViewRow.OnBubbleEven t(Object source, > EventArgs e) +118 > System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56 > System.Web.UI.WebControls.ImageButton.OnCommand(Co mmandEventArgs e) +106 > System.Web.UI.WebControls.ImageButton.RaisePostBac kEvent(String > eventArgument) +200 > > System.Web.UI.WebControls.ImageButton.System.Web.U I.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +31 > System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler > sourceControl, String eventArgument) +32 > System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +72 > System.Web.UI.Page.ProcessRequestMain(Boolean > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3840 > > This appears to be caused by the date being in UK format (dd/mm/yyyy - which > is correct for this application) as dates which could also be in US format > (i.e. 12/12/2005) do not throw this error. > > Both my browser and development machine are set to en-gb but there is no > Culture attribute set on the @Page tags on the page. > > Is this a bug in the ObjectDataSource not conforming to globalization or am > I missing somthing? > > Any help you can give will be much appreciated. Thanks in advance for your > help. > > Regards, > > Anne. > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jim Hammond |
last post by:
I am passing the whole object instead or parameters in my select and update
methods.
I can get the updated object if I set UpdateMethod, let ASP.NET autogenerate
an update button, and then press...
|
by: CWWong |
last post by:
I am using DetailsView using ObjectDataSource with DataSourceTypeName
assigned to the specific class.
SelectMethod, UpdateMethod and DeleteMethod is working successfully, except
InsertMethod.
The...
|
by: John_H |
last post by:
Re: ASP.NET 2.0
I would like suggestions or code examples on how to collect a variable
length list of input data (item# & item quantity specifically).
I thought that I could accomplish this...
|
by: Dick |
last post by:
How do I get to an ObjectDataSource's underlying data/schema. I thought it
would have a DataSet property but I can't find it. So how do you find out
about the data and/or the schema used to...
|
by: Dabbler |
last post by:
I'm using an ObjectDataSource with a stored procedure and am getting the
following error when trying to update (ExecuteNonQuery):
System.Data.SqlClient.SqlException: Procedure or Function...
|
by: AlanJSmith |
last post by:
I have a a strongly typed dataset created by VS2005 and am referencing it
from an objectDataSource.
i am using the the objectDataSource in a FormView control.
The update fails so I trace the...
|
by: J055 |
last post by:
Hi
I've been trying out SqlCacheDependency using the ObjectDataSource and SQL
Server 2005. It all works quite well with the minimum of configuration, e.g.
<asp:ObjectDataSource...
|
by: =?Utf-8?B?RGVuaXMgU29oZXQ=?= |
last post by:
Hi all,
I've created a new project to test ObjectDataSource component.
I've just added a new objectdatasource, configured it (linked to a table)
etc ...
It works fine on localhost, i can...
|
by: Tides |
last post by:
My new page just won't fire the Update, Insert or Delete function on
the BLL.
I'm newish to ASP.NET and this may be a simple thing I have forgotten,
but its driving me up the wall.
I have other...
|
by: semomaniz |
last post by:
I have a ajax reorderlist that displays the contents with out any problems but when i drag and reorder the list nothing happens, i get a postback and the same initial list is displayed, seems like my...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |