No announcements
Found 423080 threads
-
1 Votes
Handling DBNull in Dot Net
I have been having an error that DBNull cannot be returned as a String and after hunting around I came up with the folowing but have had no sucess. it is very inportant that this code ...Answered | 2 Replies | 1462 Views | Created by Aneets - Thursday, January 19, 2012 11:47 AM | Last reply by Aneets - Thursday, January 19, 2012 9:22 PM -
0 Votes
Handling DBNull in assignment to Nullable<int>
f=255&MSPPError=-2147217396 and ...Answered | 5 Replies | 2339 Views | Created by Kirby Wallace - Wednesday, September 21, 2016 6:30 PM | Last reply by Sabah Shariq - Wednesday, October 5, 2016 11:22 AM -
2 Votes
What's the best way to handle null/DBNull values?
For sample, have a look at this one.Answered | 6 Replies | 12231 Views | Created by patr1c1a - Wednesday, April 20, 2011 9:47 PM | Last reply by NeverHopeless - Friday, October 12, 2012 6:00 PM -
0 Votes
Handling DBNull in an ImageURL
I have tried several things from looking for blanks to DBNull.Answered | 4 Replies | 27 Views | Created by Anonymous - Tuesday, April 22, 2014 6:27 AM | Last reply by Anonymous - Tuesday, April 22, 2014 7:06 AM -
0 Votes
DBNull in SSIS
DBNull is what you use when you want to send a NULL value as a parameter to SQL Server (proc)Chuck Pedretti | Magenic – North Region | magenic.comAnswered | 1 Replies | 6873 Views | Created by Shanu_Shri - Friday, May 25, 2012 1:03 PM | Last reply by Chuck Pedretti - Friday, May 25, 2012 1:07 PM -
1 Votes
How to cast DBNull to int
DBNull DBNull is actually a class.Answered | 19 Replies | 35619 Views | Created by skuanet - Wednesday, February 8, 2012 11:21 AM | Last reply by Cor Ligthert - Wednesday, February 22, 2012 10:10 AM -
2 Votes
Saving DBNULL with BINDED TEXTBOX
As far as I understand txtData.DataBindings("Text").DataSourceNullValue sets the dataset value if string emty or "", ...Answered | 4 Replies | 876 Views | Created by fhomedes - Monday, August 18, 2014 2:19 PM | Last reply by fhomedes - Wednesday, September 3, 2014 11:15 AM -
0 Votes
Operator '=' is not defined for type 'DBNull' and 'Nothing'
Try this and note I did not check against the DataTable but instead the DataGridView rows Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As ...Answered | 2 Replies | 7010 Views | Created by RalJans - Friday, January 17, 2014 12:06 PM | Last reply by Rbie - Friday, January 17, 2014 12:21 PM -
0 Votes
ImageUrl in a web part
Using this event you can get the row, find the column, find the <asp:Image /> and set the ImageUrl.Answered | 2 Replies | 6218 Views | Created by zedekiah - Wednesday, September 5, 2007 12:59 PM | Last reply by Dave Hunter - Thursday, April 2, 2009 1:46 PM -
0 Votes
Return DBNull instead of empty string
The short answer is that this is impossible -- listen to what the compiler says, class DBNull doesn't inherit from T so you can't return it from your function, it's as if you had a function ...Answered | 8 Replies | 7329 Views | Created by Somesh Chandra - Tuesday, April 28, 2009 9:43 PM | Last reply by JohnGrove - Wednesday, April 29, 2009 2:21 PM -
1 Votes
Workflow problem - STAGE_INFO is DBNull
When submitting workflow from stage 2 to stage 3 sometimes on Workflow Stage Status Project Detail Page is written "The value for column 'STAGE_INFO' in table 'WorkflowStatus' is ...Answered | 18 Replies | 15050 Views | Created by Tomaz_K - Wednesday, March 23, 2011 12:45 PM | Last reply by Pavel Birioukov - Sunday, February 3, 2013 10:24 PM -
0 Votes
convert DBnull to string
hi I have to convert DBnull values to a string value & save it is a string variable.Answered | 5 Replies | 3399 Views | Created by ADL_CAPL - Wednesday, October 14, 2009 5:08 PM | Last reply by Tamer Oz - Wednesday, October 14, 2009 5:42 PM -
0 Votes
How to fix two problems with DBNull?
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click Dim row As DataGridViewRow For Each row ...Answered | 10 Replies | 891 Views | Created by Mateusz Myślak - Tuesday, April 12, 2016 4:47 PM | Last reply by Mateusz Myślak - Wednesday, April 13, 2016 9:03 AM -
5 Votes
Conversion from type 'DBNull' to type 'String' is not valid
;code should be: ' frmReturnedBook.txtTransactionNo.Text _ ' ...Answered | 10 Replies | 2212 Views | Created by arvin28 - Wednesday, August 21, 2013 9:57 AM | Last reply by xxiao - Thursday, August 22, 2013 6:16 AM -
6 Votes
DataGridView Cell value (DBNull instead of NULL)
Even though the value is not null or dbnull, it just happens to the one row that has the blank value.Answered | 12 Replies | 30815 Views | Created by hollymatrix - Saturday, October 25, 2008 3:34 PM | Last reply by brad_1000 - Wednesday, August 22, 2018 4:16 PM -
1 Votes
VB.NET am having big problems with DBNull errors when using Dataset
No matter what I did to try and "test" for a DBNull, I always got the same exception [MyColumnName] = {"The value for column 'MyColumnName' in table ...Answered | 10 Replies | 17982 Views | Created by Johnvan - Wednesday, July 7, 2010 5:12 AM | Last reply by MarvinPerkins - Monday, April 15, 2013 3:56 PM -
2 Votes
Error at System.Web.UI.DataVisualization.Charting.Chart.GetNewSeqImageUrl(String imageUrl)
" Source: "System.Web.DataVisualization" StackTrace: " at ...Answered | 2 Replies | 9621 Views | Created by Dzangger - Tuesday, June 23, 2009 1:36 PM | Last reply by Dzangger - Thursday, June 25, 2009 12:53 PM -
0 Votes
Conversion from type 'DBNull' to type 'String' is not valid.
Conversion from type 'DBNull' to type 'String' is not valid.Answered | 2 Replies | 4226 Views | Created by RAJUPATEL13 - Thursday, June 23, 2011 5:10 PM | Last reply by Kee Poppy - Monday, June 27, 2011 8:19 AM -
0 Votes
Cast from DBNull error
Hi All, I'm facing an error that is (exception = {"Object cannot be cast from DBNull to other types.Answered | 4 Replies | 5714 Views | Created by Md. Marufuzzaman - Monday, March 29, 2010 6:28 PM | Last reply by cool gags - Tuesday, March 30, 2010 11:19 AM -
2 Votes
CELL FORMATING AND DBNULL
How much other event handling are you doing?Answered | 14 Replies | 2913 Views | Created by mipakteh - Sunday, December 6, 2009 5:29 PM | Last reply by mipakteh - Tuesday, December 8, 2009 2:37 PM - Items 1 to 20 of 423080 Next ›
No announcements