Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
AnswerRe: c# for android Pin
Hari-CodeBlogger11-Dec-15 23:44
Hari-CodeBlogger11-Dec-15 23:44 
QuestionTransfer data from Dataset to Report Viewer Pin
PDTUM8-Dec-15 8:32
PDTUM8-Dec-15 8:32 
AnswerRe: Transfer data from Dataset to Report Viewer Pin
Gerry Schmitz8-Dec-15 12:29
mveGerry Schmitz8-Dec-15 12:29 
GeneralRe: Transfer data from Dataset to Report Viewer Pin
PDTUM8-Dec-15 12:53
PDTUM8-Dec-15 12:53 
GeneralRe: Transfer data from Dataset to Report Viewer Pin
Gerry Schmitz8-Dec-15 13:29
mveGerry Schmitz8-Dec-15 13:29 
GeneralRe: Transfer data from Dataset to Report Viewer Pin
PDTUM8-Dec-15 14:14
PDTUM8-Dec-15 14:14 
QuestionIncomplete data after trapping Date Pin
Robert Kamarowski8-Dec-15 5:38
Robert Kamarowski8-Dec-15 5:38 
AnswerRe: Incomplete data after trapping Date Pin
Richard Deeming8-Dec-15 6:11
mveRichard Deeming8-Dec-15 6:11 
Robert Kamarowski wrote:
What am I doing wrong?

Well, the most obvious thing is that you're writing code which is vulnerable to SQL Injection[^].

The ID should be passed as a parameter. Table and column names can't be passed as parameters, so you should verify that the name is one of the expected values, and cannot be modified by the user. Alternatively, since you only seem to have four tables, use a specific query for each table.

DataTables can accept null values in columns of any type. You shouldn't get an error when you try to load a null date into a DataTable, so I'm not sure that your FillError handler is actually doing anything.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Incomplete data after trapping Date Pin
Robert Kamarowski8-Dec-15 6:18
Robert Kamarowski8-Dec-15 6:18 
GeneralRe: Incomplete data after trapping Date Pin
OriginalGriff8-Dec-15 6:37
mveOriginalGriff8-Dec-15 6:37 
GeneralRe: Incomplete data after trapping Date Pin
Dave Kreskowiak8-Dec-15 7:43
mveDave Kreskowiak8-Dec-15 7:43 
GeneralRe: Incomplete data after trapping Date Pin
Richard Deeming8-Dec-15 7:51
mveRichard Deeming8-Dec-15 7:51 
GeneralRe: Incomplete data after trapping Date Pin
Robert Kamarowski8-Dec-15 8:17
Robert Kamarowski8-Dec-15 8:17 
GeneralRe: Incomplete data after trapping Date Pin
Richard Deeming8-Dec-15 8:30
mveRichard Deeming8-Dec-15 8:30 
GeneralRe: Incomplete data after trapping Date Pin
OriginalGriff8-Dec-15 8:33
mveOriginalGriff8-Dec-15 8:33 
GeneralRe: Incomplete data after trapping Date Pin
Robert Kamarowski8-Dec-15 8:43
Robert Kamarowski8-Dec-15 8:43 
GeneralRe: Incomplete data after trapping Date Pin
Robert Kamarowski8-Dec-15 10:25
Robert Kamarowski8-Dec-15 10:25 
GeneralRe: Incomplete data after trapping Date Pin
Richard Deeming9-Dec-15 2:56
mveRichard Deeming9-Dec-15 2:56 
GeneralRe: Incomplete data after trapping Date Pin
Robert Kamarowski9-Dec-15 5:07
Robert Kamarowski9-Dec-15 5:07 
QuestionTask.ContinueWith Return Value Pin
Kevin Marois8-Dec-15 5:19
professionalKevin Marois8-Dec-15 5:19 
AnswerRe: Task.ContinueWith Return Value Pin
Richard Deeming8-Dec-15 6:04
mveRichard Deeming8-Dec-15 6:04 
GeneralRe: Task.ContinueWith Return Value Pin
Dave Kreskowiak8-Dec-15 6:09
mveDave Kreskowiak8-Dec-15 6:09 
GeneralRe: Task.ContinueWith Return Value Pin
Kevin Marois8-Dec-15 6:22
professionalKevin Marois8-Dec-15 6:22 
AnswerRe: Task.ContinueWith Return Value Pin
Dave Kreskowiak8-Dec-15 6:08
mveDave Kreskowiak8-Dec-15 6:08 
GeneralRe: Task.ContinueWith Return Value Pin
Kevin Marois8-Dec-15 6:23
professionalKevin Marois8-Dec-15 6:23 

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.