Click here to Skip to main content
15,910,277 members
Home / Discussions / C#
   

C#

 
AnswerRe: Buttons look different with DirectX Pin
Nagy Vilmos23-Jul-09 6:32
professionalNagy Vilmos23-Jul-09 6:32 
QuestionXML Deserialisation to an inherited class type based on an XML attribute Pin
Clive D. Pottinger23-Jul-09 4:17
Clive D. Pottinger23-Jul-09 4:17 
AnswerRe: XML Deserialisation to an inherited class type based on an XML attribute Pin
Muhammad Mazhar23-Jul-09 4:50
Muhammad Mazhar23-Jul-09 4:50 
GeneralRe: XML Deserialisation to an inherited class type based on an XML attribute Pin
Clive D. Pottinger23-Jul-09 5:30
Clive D. Pottinger23-Jul-09 5:30 
AnswerRe: XML Deserialisation to an inherited class type based on an XML attribute [modified] Pin
Clive D. Pottinger23-Jul-09 5:57
Clive D. Pottinger23-Jul-09 5:57 
Questionread registry value from XML file and find it into the the registry?????can anybody help me. Pin
janeeta23-Jul-09 4:07
janeeta23-Jul-09 4:07 
QuestionProcess Enumeration loop Pin
Haydn01223-Jul-09 4:06
Haydn01223-Jul-09 4:06 
AnswerRe: Process Enumeration loop Pin
DoctorMick23-Jul-09 5:23
DoctorMick23-Jul-09 5:23 
GeneralRe: Process Enumeration loop [modified] Pin
Haydn01223-Jul-09 5:29
Haydn01223-Jul-09 5:29 
QuestionDataTable.Select() PRoblem Pin
jonhbt23-Jul-09 3:12
jonhbt23-Jul-09 3:12 
AnswerRe: DataTable.Select() PRoblem PinPopular
Tom Deketelaere23-Jul-09 3:19
professionalTom Deketelaere23-Jul-09 3:19 
GeneralRe: DataTable.Select() PRoblem Pin
jonhbt23-Jul-09 3:25
jonhbt23-Jul-09 3:25 
GeneralRe: DataTable.Select() PRoblem Pin
jonhbt23-Jul-09 3:27
jonhbt23-Jul-09 3:27 
GeneralRe: DataTable.Select() PRoblem Pin
Tom Deketelaere23-Jul-09 3:40
professionalTom Deketelaere23-Jul-09 3:40 
Don't worry you didn't cause problems, was just a hint.

Another hint:
When posting code use the 'code block' tags, makes it easier to read the code.

As to your problem.

At what userid does the error occur?

My guess would be that since you do a 'tostring' your userid is of the type string (varchar).
If so your filter expression should be:

"UserID = '" + datarow["USERID"].ToString() + "'";

GeneralRe: DataTable.Select() PRoblem Pin
jonhbt23-Jul-09 3:51
jonhbt23-Jul-09 3:51 
GeneralRe: DataTable.Select() PRoblem Pin
Tom Deketelaere23-Jul-09 4:03
professionalTom Deketelaere23-Jul-09 4:03 
GeneralRe: DataTable.Select() PRoblem Pin
jonhbt23-Jul-09 4:20
jonhbt23-Jul-09 4:20 
GeneralRe: DataTable.Select() PRoblem Pin
Tom Deketelaere23-Jul-09 4:29
professionalTom Deketelaere23-Jul-09 4:29 
GeneralRe: DataTable.Select() PRoblem Pin
jonhbt23-Jul-09 4:43
jonhbt23-Jul-09 4:43 
GeneralRe: DataTable.Select() PRoblem Pin
Tom Deketelaere23-Jul-09 5:01
professionalTom Deketelaere23-Jul-09 5:01 
AnswerRe: DataTable.Select() PRoblem Pin
jonhbt23-Jul-09 5:27
jonhbt23-Jul-09 5:27 
GeneralRe: DataTable.Select() PRoblem Pin
MumbleB23-Jul-09 3:36
MumbleB23-Jul-09 3:36 
GeneralRe: DataTable.Select() PRoblem Pin
jonhbt23-Jul-09 3:43
jonhbt23-Jul-09 3:43 
QuestionBorder Less Window Mouse Left click Pin
satsumatable23-Jul-09 2:45
satsumatable23-Jul-09 2:45 
AnswerRe: Border Less Window Mouse Left click Pin
shlomtzi23-Jul-09 2:52
shlomtzi23-Jul-09 2:52 

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.