﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - WebGrid Inserting Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-Inserting-Error/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>WebGrid Inserting Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-Inserting-Error/</link><pubDate>Wed, 20 Jan 2010 22:38:07 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p /&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Hi Jocelyn,&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;     Thank you for adding more detail information
and I understand now. Are you saying that you want to leave blank on
"RecipNo" and it will have an auto-increment for it? Correct me if I
wrong. However, if that is you scenario, after we use WebGrid_BatchUpdate on
serverside, it should be automatically give us an auto-increment for
DataKeyField. For more details, you can see our docs at &lt;/span&gt;&lt;a href="ms-help://ISNet.WebUI.WebGrid.V7/ISNet.WebUI.WebGrid/Streamlined Editing Process.html" target="_blank"&gt;&lt;span style="font-size: 9pt; "&gt;ms-help://ISNet.WebUI.WebGrid.V7/ISNet.WebUI.WebGrid/Streamlined
Editing Process.html&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: 9pt; "&gt; and &lt;/span&gt;&lt;a href="ms-help://ISNet.WebUI.WebGrid.V7/ISNet.WebUI.WebGrid/Configuring Updatable WebGrid in Batch Update mode (Using DataSet Binding).html" target="_blank"&gt;&lt;span style="font-size: 9pt; "&gt;ms-help://ISNet.WebUI.WebGrid.V7/ISNet.WebUI.WebGrid/Configuring
Updatable WebGrid in Batch Update mode (Using DataSet Binding).html&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: 9pt; "&gt;. &lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;      As well, I attached you my simple sample
using a two columns, Id and field columns. In here, the ID column will give us
as "(Auto)" in the new row column, so we do not need to input any
value on it. I hope it helps and please, do not hesitate to ask if you have any
other questions. Thank you.&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;o:p&gt;&lt;span style="font-family: 'lucida sans unicode'; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt; &lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>WebGrid Inserting Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-Inserting-Error/</link><pubDate>Wed, 20 Jan 2010 11:21:03 GMT</pubDate><dc:creator>jcrendulic</dc:creator><description>&lt;p&gt;I actually don't input anything for this value.  It is a DataKeyField on the WebGrid.  After I do the Insert with the Stored Procedure do need to set this value in the code behind?  &lt;/p&gt;</description></item><item><title>WebGrid Inserting Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-Inserting-Error/</link><pubDate>Wed, 20 Jan 2010 02:06:00 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p /&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Hi Jocelyn,&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;    I am having a problem to replicate your issue.
From what I see on you error attachment, probably, you had inputted an
incorrect data type. Please ensure that the data type in storage is the same
with what you had inputted. &lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;    I hope it helps and please, do not hesitate to
ask if you have any other questions. Thank you.&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Best Regards,&lt;/span&gt;&lt;span style="font-size: 9pt; "&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 7.5pt; margin-right: 0in; margin-bottom: 7.5pt; margin-left: 0in; "&gt;&lt;span style="font-family: 'lucida sans unicode', sans-serif; color: black; font-size: 9pt; "&gt;&lt;span style="font-size: 9pt; "&gt;Andi Santoso&lt;/span&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>WebGrid Inserting Error</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid-Inserting-Error/</link><pubDate>Tue, 19 Jan 2010 16:53:22 GMT</pubDate><dc:creator>jcrendulic</dc:creator><description>&lt;p&gt;I get an error when I insert a new record and save changes to the grid.  The code actually inserts the new record into the table sucessfully by using a stored procedure which is called in the code behind method called &lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;protected&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;void&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; WebGrid1_BatchUpdate(&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;object&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; sender, &lt;/span&gt;&lt;span style="font-size: 13px; color: #2b91af"&gt;&lt;span style="font-size: 13px; color: #2b91af"&gt;BatchUpdateEventArgs&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; e) .&amp;nbsp; When I refresh the page the record shows up with no errors.&amp;nbsp; I am attaching the screenshot of the error.&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>