PC Review


Reply
Thread Tools Rate Thread

DataTable.NewRow calls yield "Value was either too large or too smallfor an Int32"

 
 
Lee Gillie
Guest
Posts: n/a
 
      14th Jun 2007
I'm using typed dataset. The tables in the dataset have been filled from
the SQL Server.

The error happens when I go to work with a combo box. I need selected
DataRow for the combo, plus some phoney ones like "(new)" or "(all)".
What I do is create a List( of MyDataRowType ) and add the phoney ones
first, and then all from my DataTable. The error occurs when creating a
phoney one. But only for this one table. The same technique works elsewhere.

I wonder, could it have to do something with a BIT datatype used in this
table?

ANY hints or suggestions would be tremendously appreciated.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert.Int32("0")causes{"Input string was not in a correct format =?Utf-8?B?SmFtZXMgUG9zZQ==?= Microsoft Dot NET 1 23rd Feb 2006 03:01 AM
Improve the Scheduling of "Calls" and "Tasks" within Outlook =?Utf-8?B?R1REIE5lZWRz?= Microsoft Outlook Calendar 1 8th Apr 2005 01:00 AM
Convert "Int32" to type Int32 Joe Microsoft C# .NET 1 28th Jan 2005 08:28 PM
Currencymanager.addnew or Dataset.Tables("Name").NewRow =?Utf-8?B?RGViaQ==?= Microsoft ADO .NET 7 18th Nov 2004 05:25 PM
Re: CAPUTO CALLS AJAX A COWARDLY "BALLSLESS COP" SPEWING "BASELESS DRIVEL" !! ajaxDAcop@ballsless.baseless Freeware 0 25th Jun 2004 09:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:19 PM.