Click here to Skip to main content
15,899,632 members
Home / Discussions / C#
   

C#

 
GeneralRe: populating combo box on selectedindex changedevent of other combo box1 Pin
monuSaini10-Jul-07 21:46
monuSaini10-Jul-07 21:46 
QuestionException Pin
sangramkp10-Jul-07 19:27
sangramkp10-Jul-07 19:27 
AnswerRe: Exception Pin
valerian.precop10-Jul-07 20:36
valerian.precop10-Jul-07 20:36 
GeneralRe: Exception Pin
sangramkp10-Jul-07 21:17
sangramkp10-Jul-07 21:17 
GeneralRe: Exception Pin
Brady Kelly10-Jul-07 21:40
Brady Kelly10-Jul-07 21:40 
GeneralRe: Exception Pin
Rhys Gravell10-Jul-07 22:33
professionalRhys Gravell10-Jul-07 22:33 
AnswerRe: Exception Pin
valerian.precop10-Jul-07 21:39
valerian.precop10-Jul-07 21:39 
GeneralRe: Exception Pin
mav.northwind11-Jul-07 8:52
mav.northwind11-Jul-07 8:52 
As you've been told before, you should read (and understand) the problem and not give bad advice like building your SQL statements by string concatenation.D'Oh! | :doh:
Hint: Google for "SQL injection".

The simple reason for the exception is (as the exception messages tells very clearly) that "String or binary data would be truncated." while trying to put some data into the database.
So obviously at least one of the values is longer than what the corresponding DB field can hold.

Regards,
mav

--
Black holes are the places where God divided by 0...

AnswerRe: Exception Pin
Rhys Gravell10-Jul-07 22:29
professionalRhys Gravell10-Jul-07 22:29 
Questionevent fire Pin
SwaSubhaVijju10-Jul-07 19:20
SwaSubhaVijju10-Jul-07 19:20 
AnswerRe: event fire Pin
_AK_10-Jul-07 19:37
_AK_10-Jul-07 19:37 
AnswerRe: event fire Pin
Vikram A Punathambekar10-Jul-07 19:43
Vikram A Punathambekar10-Jul-07 19:43 
GeneralRe: event fire Pin
SwaSubhaVijju10-Jul-07 19:54
SwaSubhaVijju10-Jul-07 19:54 
AnswerRe: event fire Pin
gauthee10-Jul-07 19:59
gauthee10-Jul-07 19:59 
AnswerRe: event fire Pin
gauthee10-Jul-07 20:04
gauthee10-Jul-07 20:04 
Questiondatagrid Pin
SwaSubhaVijju10-Jul-07 19:03
SwaSubhaVijju10-Jul-07 19:03 
AnswerRe: datagrid Pin
Sathesh Sakthivel10-Jul-07 19:18
Sathesh Sakthivel10-Jul-07 19:18 
GeneralRe: datagrid Pin
SwaSubhaVijju10-Jul-07 19:22
SwaSubhaVijju10-Jul-07 19:22 
GeneralRe: datagrid Pin
Sathesh Sakthivel10-Jul-07 19:26
Sathesh Sakthivel10-Jul-07 19:26 
GeneralRe: datagrid Pin
Steve Echols10-Jul-07 19:28
Steve Echols10-Jul-07 19:28 
AnswerRe: datagrid Pin
Steve Echols10-Jul-07 19:26
Steve Echols10-Jul-07 19:26 
AnswerRe: datagrid Pin
SwaSubhaVijju10-Jul-07 19:53
SwaSubhaVijju10-Jul-07 19:53 
Questionwhile i input "at" to serialport in my program,but return "at" not as excepted "ok"? Pin
supercsharp110-Jul-07 18:46
supercsharp110-Jul-07 18:46 
QuestionMAPI with C# Pin
gihankoli10-Jul-07 18:13
gihankoli10-Jul-07 18:13 
AnswerRe: MAPI with C# Pin
Sathesh Sakthivel10-Jul-07 18:33
Sathesh Sakthivel10-Jul-07 18:33 

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.