Click here to Skip to main content
15,884,353 members
Home / Discussions / C#
   

C#

 
QuestionDifferance Between Protected and protected internal Pin
Rahul.RK24-Jun-07 23:54
Rahul.RK24-Jun-07 23:54 
AnswerRe: Differance Between Protected and protected internal Pin
Colin Angus Mackay25-Jun-07 0:00
Colin Angus Mackay25-Jun-07 0:00 
GeneralRe: Differance Between Protected and protected internal Pin
Rahul.RK25-Jun-07 0:05
Rahul.RK25-Jun-07 0:05 
GeneralRe: Differance Between Protected and protected internal Pin
Colin Angus Mackay25-Jun-07 0:09
Colin Angus Mackay25-Jun-07 0:09 
GeneralRe: Differance Between Protected and protected internal Pin
Rahul.RK25-Jun-07 0:18
Rahul.RK25-Jun-07 0:18 
GeneralRe: Differance Between Protected and protected internal Pin
Colin Angus Mackay25-Jun-07 0:23
Colin Angus Mackay25-Jun-07 0:23 
GeneralRe: Differance Between Protected and protected internal Pin
Rahul.RK25-Jun-07 0:25
Rahul.RK25-Jun-07 0:25 
QuestionDBNull.Value problem Pin
t4ure4n24-Jun-07 23:46
t4ure4n24-Jun-07 23:46 
Hello i am facing a slight problem with Store a record in the database.

I have a column of Type Decimal (It can have null values in the DB).
i take the input in a textbox and saves it to the database.
dataRow["SPEED"] = (this.tbSpeed.Text == "" ? DBNull.Value.ToString() : this.tbSpeed.Text);

If I leave it blank it gives me following error

An unhandled exception of type 'System.ArgumentException' occurred in System.Data.dll

Additional information: Input string was not in a correct format.Couldn't store <> in SPEED Column. Expected type is Decimal

What could be the solution to this problem

o O º(`'·.,(`'·., ☆,.·''),.·'')º O o°
»·'"`»* *☆ t4ure4n ☆* *«·'"`«
°o O º(,.·''(,.·'' ☆`'·.,)`'·.,)º O o°

AnswerRe: DBNull.Value problem Pin
Colin Angus Mackay24-Jun-07 23:55
Colin Angus Mackay24-Jun-07 23:55 
GeneralRe: DBNull.Value problem Pin
t4ure4n24-Jun-07 23:57
t4ure4n24-Jun-07 23:57 
GeneralRe: DBNull.Value problem Pin
Colin Angus Mackay25-Jun-07 0:03
Colin Angus Mackay25-Jun-07 0:03 
GeneralRe: DBNull.Value problem Pin
Colin Angus Mackay25-Jun-07 0:04
Colin Angus Mackay25-Jun-07 0:04 
GeneralRe: DBNull.Value problem Pin
martin_hughes25-Jun-07 1:07
martin_hughes25-Jun-07 1:07 
AnswerRe: DBNull.Value problem Pin
blackjack215025-Jun-07 0:20
blackjack215025-Jun-07 0:20 
GeneralRe: DBNull.Value problem Pin
t4ure4n25-Jun-07 0:25
t4ure4n25-Jun-07 0:25 
AnswerRe: DBNull.Value problem Pin
blackjack215025-Jun-07 0:51
blackjack215025-Jun-07 0:51 
GeneralRe: DBNull.Value problem Pin
t4ure4n25-Jun-07 0:56
t4ure4n25-Jun-07 0:56 
Questiondividing a windows forms in two Pin
justintimberlake24-Jun-07 23:40
justintimberlake24-Jun-07 23:40 
AnswerRe: dividing a windows forms in two Pin
Colin Angus Mackay24-Jun-07 23:45
Colin Angus Mackay24-Jun-07 23:45 
GeneralRe: dividing a windows forms in two Pin
justintimberlake24-Jun-07 23:54
justintimberlake24-Jun-07 23:54 
GeneralRe: dividing a windows forms in two Pin
Colin Angus Mackay24-Jun-07 23:57
Colin Angus Mackay24-Jun-07 23:57 
GeneralRe: dividing a windows forms in two Pin
mav.northwind25-Jun-07 19:02
mav.northwind25-Jun-07 19:02 
QuestionSQL Server Business Intelligence Development Studio? Pin
ASysSolvers24-Jun-07 23:30
ASysSolvers24-Jun-07 23:30 
AnswerRe: SQL Server Business Intelligence Development Studio? Pin
Colin Angus Mackay24-Jun-07 23:46
Colin Angus Mackay24-Jun-07 23:46 
QuestionFile ACL Pin
Tauseef A24-Jun-07 23:26
Tauseef A24-Jun-07 23:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.