Click here to Skip to main content
15,920,217 members
Home / Discussions / C#
   

C#

 
GeneralRe: Accessing XML File on Web Pin
alexthecat200017-Feb-10 11:06
alexthecat200017-Feb-10 11:06 
Questionto pass memcod with query string in window.open() method Pin
Mayank Pathak, Chandigarh17-Feb-10 0:24
Mayank Pathak, Chandigarh17-Feb-10 0:24 
AnswerRe: to pass memcod with query string in window.open() method Pin
Calla17-Feb-10 0:26
Calla17-Feb-10 0:26 
AnswerRe: to pass memcod with query string in window.open() method Pin
OriginalGriff17-Feb-10 0:35
mveOriginalGriff17-Feb-10 0:35 
GeneralRe: to pass memcod with query string in window.open() method Pin
Mayank Pathak, Chandigarh17-Feb-10 1:04
Mayank Pathak, Chandigarh17-Feb-10 1:04 
GeneralRe: to pass memcod with query string in window.open() method Pin
OriginalGriff17-Feb-10 1:38
mveOriginalGriff17-Feb-10 1:38 
QuestionGridView + TextBox and Button Control [modified] Pin
It_tech17-Feb-10 0:15
It_tech17-Feb-10 0:15 
AnswerMessage Closed Pin
17-Feb-10 0:29
stancrm17-Feb-10 0:29 
GeneralRe: GridView + TextBox and Button Control Pin
It_tech17-Feb-10 0:40
It_tech17-Feb-10 0:40 
GeneralRe: GridView + TextBox and Button Control Pin
It_tech17-Feb-10 1:02
It_tech17-Feb-10 1:02 
GeneralRe: GridView + TextBox and Button Control Pin
It_tech17-Feb-10 5:47
It_tech17-Feb-10 5:47 
QuestionRegular expression Pin
salmonraju16-Feb-10 22:59
salmonraju16-Feb-10 22:59 
AnswerRe: Regular expression [modified] Pin
OriginalGriff16-Feb-10 23:14
mveOriginalGriff16-Feb-10 23:14 
GeneralRe: Regular expression Pin
salmonraju16-Feb-10 23:24
salmonraju16-Feb-10 23:24 
GeneralRe: Regular expression Pin
OriginalGriff16-Feb-10 23:30
mveOriginalGriff16-Feb-10 23:30 
GeneralRe: Regular expression Pin
salmonraju16-Feb-10 23:46
salmonraju16-Feb-10 23:46 
QuestionXmlSerializer doesn't serialize properties when inheriting List<T>? [modified] Pin
mav.northwind16-Feb-10 22:55
mav.northwind16-Feb-10 22:55 
AnswerMessage Closed Pin
16-Feb-10 23:08
stancrm16-Feb-10 23:08 
GeneralRe: XmlSerializer doesn't serialize Guid? Pin
mav.northwind17-Feb-10 0:16
mav.northwind17-Feb-10 0:16 
AnswerSolution Pin
mav.northwind17-Feb-10 2:11
mav.northwind17-Feb-10 2:11 
Questionquery execution with mysql Pin
Guizzardi16-Feb-10 22:34
Guizzardi16-Feb-10 22:34 
AnswerRe: query execution with mysql Pin
OriginalGriff16-Feb-10 23:26
mveOriginalGriff16-Feb-10 23:26 
GeneralRe: query execution with mysql Pin
Guizzardi17-Feb-10 0:14
Guizzardi17-Feb-10 0:14 
GeneralRe: query execution with mysql Pin
OriginalGriff17-Feb-10 0:33
mveOriginalGriff17-Feb-10 0:33 
That's easy - you have declared 'mysqlCon' near the top of your routine:
try
{
    MySqlConnection mysqlCon = new MySqlConnection(strProvider);
    mysqlCon.Open();
so when you try to declare it again in your new code:
MySqlCommand mysqlCon = new MySqlCommand(strSQL); 
mysqlCon.ExecuteNonQuery();
The compiler complains as you have used the name before, and it wouldn't be sure which one you are referring to. Change the name of the second one, and the error will go away.
You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace

GeneralRe: query execution with mysql Pin
Guizzardi17-Feb-10 1:04
Guizzardi17-Feb-10 1:04 

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.