Click here to Skip to main content
15,891,423 members
Home / Discussions / C#
   

C#

 
GeneralRe: Mark field in child class as NonSerialized Pin
Dust Signs21-Dec-08 23:51
Dust Signs21-Dec-08 23:51 
GeneralRe: Mark field in child class as NonSerialized Pin
deyaert22-Dec-08 0:31
deyaert22-Dec-08 0:31 
GeneralRe: Mark field in child class as NonSerialized Pin
Dust Signs22-Dec-08 0:39
Dust Signs22-Dec-08 0:39 
GeneralRe: Mark field in child class as NonSerialized Pin
deyaert22-Dec-08 0:58
deyaert22-Dec-08 0:58 
GeneralRe: Mark field in child class as NonSerialized Pin
Dust Signs22-Dec-08 1:01
Dust Signs22-Dec-08 1:01 
GeneralRe: Mark field in child class as NonSerialized Pin
deyaert22-Dec-08 1:02
deyaert22-Dec-08 1:02 
QuestionHow can I update rows in a table using OLEDB in C#? Pin
dliviu21-Dec-08 22:39
dliviu21-Dec-08 22:39 
AnswerRe: How can I update rows in a table using OLEDB in C#? Pin
Christian Graus21-Dec-08 22:45
protectorChristian Graus21-Dec-08 22:45 
First of all, because aVal and bVal are strings, it's possible I can erase your database. Do you know about SQL Injection ?

Second, why use a dataset to get back a single value ?

Third, NEVER assume that an array has any values in it, without checking.

Fourth, what's the point of doing a select when you already have only those values in the table ?

you seem to be some of the way along, although you could do all of this in a stored proc and with 3 lines of code on the C# side.

Christian Graus

Driven to the arms of OSX by Vista.

GeneralRe: How can I update rows in a table using OLEDB in C#? Pin
dliviu21-Dec-08 22:55
dliviu21-Dec-08 22:55 
GeneralRe: How can I update rows in a table using OLEDB in C#? Pin
Christian Graus21-Dec-08 23:04
protectorChristian Graus21-Dec-08 23:04 
QuestionException of file encryption using c# Pin
cat ang21-Dec-08 21:04
cat ang21-Dec-08 21:04 
AnswerRe: Exception of file encryption using c# Pin
Christian Graus21-Dec-08 22:42
protectorChristian Graus21-Dec-08 22:42 
GeneralRe: Exception of file encryption using c# Pin
cat ang22-Dec-08 2:16
cat ang22-Dec-08 2:16 
GeneralRe: Exception of file encryption using c# Pin
Colin Angus Mackay22-Dec-08 2:48
Colin Angus Mackay22-Dec-08 2:48 
AnswerRe: Exception of file encryption using c# Pin
Colin Angus Mackay22-Dec-08 2:46
Colin Angus Mackay22-Dec-08 2:46 
GeneralRe: Exception of file encryption using c# Pin
cat ang22-Dec-08 4:03
cat ang22-Dec-08 4:03 
Questionzedgraph Pin
hamidhakimi21-Dec-08 21:04
hamidhakimi21-Dec-08 21:04 
AnswerRe: zedgraph Pin
Garth J Lancaster21-Dec-08 22:35
professionalGarth J Lancaster21-Dec-08 22:35 
Questionhow to identify the button which is clicked Pin
prasadbuddhika21-Dec-08 20:28
prasadbuddhika21-Dec-08 20:28 
AnswerRe: how to identify the button which is clicked Pin
N a v a n e e t h21-Dec-08 20:41
N a v a n e e t h21-Dec-08 20:41 
AnswerRe: how to identify the button which is clicked Pin
Christian Graus21-Dec-08 20:51
protectorChristian Graus21-Dec-08 20:51 
Questionimage processing Pin
komathyc21-Dec-08 20:21
komathyc21-Dec-08 20:21 
AnswerRe: image processing Pin
Christian Graus21-Dec-08 20:51
protectorChristian Graus21-Dec-08 20:51 
QuestionServer path from DLL Pin
yesu prakash21-Dec-08 20:03
yesu prakash21-Dec-08 20:03 
AnswerRe: Server path from DLL Pin
Christian Graus21-Dec-08 20:05
protectorChristian Graus21-Dec-08 20:05 

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.