Click here to Skip to main content
15,560,987 members
Home / Discussions / C#
   

C#

 
GeneralRe: SQL Server 2008 in C# Console Appications Pin
bigjoe11a30-May-09 6:35
bigjoe11a30-May-09 6:35 
AnswerRe: SQL Server 2008 in C# Console Appications Pin
Henry Minute30-May-09 8:48
Henry Minute30-May-09 8:48 
GeneralRe: SQL Server 2008 in C# Console Appications Pin
bigjoe11a30-May-09 9:17
bigjoe11a30-May-09 9:17 
GeneralRe: SQL Server 2008 in C# Console Appications Pin
bigjoe11a30-May-09 9:33
bigjoe11a30-May-09 9:33 
GeneralRe: SQL Server 2008 in C# Console Appications Pin
Henry Minute30-May-09 9:59
Henry Minute30-May-09 9:59 
GeneralRe: SQL Server 2008 in C# Console Appications Pin
bigjoe11a30-May-09 10:08
bigjoe11a30-May-09 10:08 
GeneralRe: SQL Server 2008 in C# Console Appications Pin
Henry Minute30-May-09 10:14
Henry Minute30-May-09 10:14 
GeneralRe: SQL Server 2008 in C# Console Appications Pin
Henry Minute30-May-09 10:22
Henry Minute30-May-09 10:22 
None of this is needed now that you are no longer trying Parameterized stuff.
//command.Parameters.Add("@ID", SqlDbType.Int);
//command.Parameters["@ID"].Value = ID;
command.Parameters.Add("@Name", SqlDbType.Text);
command.Parameters["@Name"].Value = addr.name;
command.Parameters.Add("@telnetaddr", SqlDbType.Text);
command.Parameters["@telnetaddr"].Value = addr.telnetaddr;

// Use AddWithValue to assign Demographics.
// SQL Server will implicitly convert strings into XML.
command.Parameters.AddWithValue(commandText, );


either delete those lines or preferably just comment them out until you have the thing working.

Error 3 is caused by Error 2, so should be alright now.

The stuff about MyDoor, I cannot help with, although I remember seeing it in one of your previous posts.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: SQL Server 2008 in C# Console Appications Pin
bigjoe11a30-May-09 10:59
bigjoe11a30-May-09 10:59 
GeneralRe: SQL Server 2008 in C# Console Appications Pin
Henry Minute30-May-09 11:43
Henry Minute30-May-09 11:43 
GeneralRe: SQL Server 2008 in C# Console Appications Pin
bigjoe11a30-May-09 12:31
bigjoe11a30-May-09 12:31 
GeneralRe: SQL Server 2008 in C# Console Appications Pin
Henry Minute30-May-09 12:52
Henry Minute30-May-09 12:52 
GeneralRe: SQL Server 2008 in C# Console Appications Pin
bigjoe11a30-May-09 13:03
bigjoe11a30-May-09 13:03 
QuestionUpdating changings back to DB from DataGridView Pin
WinSolution30-May-09 4:11
WinSolution30-May-09 4:11 
AnswerRe: Updating changings back to DB from DataGridView Pin
Henry Minute30-May-09 5:12
Henry Minute30-May-09 5:12 
AnswerRe: Updating changings back to DB from DataGridView Pin
I Believe In GOD30-May-09 11:08
I Believe In GOD30-May-09 11:08 
GeneralRe: Updating changings back to DB from DataGridView Pin
Henry Minute30-May-09 11:51
Henry Minute30-May-09 11:51 
GeneralRe: Updating changings back to DB from DataGridView Pin
I Believe In GOD30-May-09 13:38
I Believe In GOD30-May-09 13:38 
GeneralRe: Updating changings back to DB from DataGridView Pin
WinSolution31-May-09 2:31
WinSolution31-May-09 2:31 
GeneralRe: Updating changings back to DB from DataGridView Pin
I Believe In GOD31-May-09 2:49
I Believe In GOD31-May-09 2:49 
QuestionGet the absolute pix of Html Element Using mshtml Pin
Member 437807730-May-09 4:00
Member 437807730-May-09 4:00 
QuestionPlease help Pin
Etienne_12330-May-09 2:57
Etienne_12330-May-09 2:57 
AnswerRe: Please help Pin
Henry Minute30-May-09 5:02
Henry Minute30-May-09 5:02 
AnswerRe: Please help Pin
I Believe In GOD30-May-09 11:11
I Believe In GOD30-May-09 11:11 
GeneralRe: Please help Pin
Etienne_12331-May-09 0:31
Etienne_12331-May-09 0:31 

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.