Click here to Skip to main content
15,917,859 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Create ActiveX control with .net 4.0 Pin
Not Active23-Jun-10 5:22
mentorNot Active23-Jun-10 5:22 
GeneralRe: Create ActiveX control with .net 4.0 Pin
awu2523-Jun-10 16:57
awu2523-Jun-10 16:57 
GeneralRe: Create ActiveX control with .net 4.0 Pin
Pete O'Hanlon23-Jun-10 21:56
mvePete O'Hanlon23-Jun-10 21:56 
GeneralRe: Create ActiveX control with .net 4.0 Pin
Pete O'Hanlon23-Jun-10 7:39
mvePete O'Hanlon23-Jun-10 7:39 
AnswerRe: Create ActiveX control with .net 4.0 Pin
Dave Kreskowiak23-Jun-10 3:13
mveDave Kreskowiak23-Jun-10 3:13 
QuestionXML Import Failing on XMLDocument.Load: Unexpected end of file has occurred. Pin
D.Dubya22-Jun-10 4:07
D.Dubya22-Jun-10 4:07 
QuestionDifferent query but get same result Pin
Naunt21-Jun-10 23:05
Naunt21-Jun-10 23:05 
AnswerRe: Different query but get same result Pin
Pete O'Hanlon21-Jun-10 23:28
mvePete O'Hanlon21-Jun-10 23:28 
I bet if you look again, you'll spot what's wrong, and that the problem is that you've been staring at this too long. As you are aware, a string is an immutable object, so setting acmd.CommandText = sSql means that you get the value of sSql at the time you assign it. As you have only changed sSql for the voyageno, you will get the same results because you have issued the original query again. What you need to do is set the SelectCommand again, but this time to the new value of sSql.

BTW - you don't need the line sSql = "".

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



GeneralRe: Different query but get same result Pin
Naunt22-Jun-10 1:17
Naunt22-Jun-10 1:17 
GeneralRe: Different query but get same result Pin
Pete O'Hanlon22-Jun-10 1:47
mvePete O'Hanlon22-Jun-10 1:47 
QuestionPage.ClientScript.RegisterClientScriptBlock Not Working in my page Pin
jintalPatel21-Jun-10 0:54
jintalPatel21-Jun-10 0:54 
AnswerRe: Page.ClientScript.RegisterClientScriptBlock Not Working in my page Pin
Peace ON21-Jun-10 1:42
Peace ON21-Jun-10 1:42 
GeneralRe: Page.ClientScript.RegisterClientScriptBlock Not Working in my page Pin
jintalPatel21-Jun-10 3:12
jintalPatel21-Jun-10 3:12 
GeneralRe: Page.ClientScript.RegisterClientScriptBlock Not Working in my page Pin
Dave Kreskowiak21-Jun-10 5:41
mveDave Kreskowiak21-Jun-10 5:41 
AnswerRe: Page.ClientScript.RegisterClientScriptBlock Not Working in my page Pin
Abhijit Jana21-Jun-10 2:21
professionalAbhijit Jana21-Jun-10 2:21 
GeneralRe: Page.ClientScript.RegisterClientScriptBlock Not Working in my page Pin
Not Active21-Jun-10 2:26
mentorNot Active21-Jun-10 2:26 
GeneralRe: Page.ClientScript.RegisterClientScriptBlock Not Working in my page Pin
Abhijit Jana21-Jun-10 2:35
professionalAbhijit Jana21-Jun-10 2:35 
QuestionHow can i see the metadata of the assembly ? Pin
Yanshof20-Jun-10 22:47
Yanshof20-Jun-10 22:47 
AnswerRe: How can i see the metadata of the assembly ? Pin
Abhinav S21-Jun-10 1:18
Abhinav S21-Jun-10 1:18 
AnswerRe: How can i see the metadata of the assembly ? Pin
Peace ON21-Jun-10 1:35
Peace ON21-Jun-10 1:35 
QuestionI want to develop any website Pin
AkyeaW18-Jun-10 22:18
AkyeaW18-Jun-10 22:18 
AnswerRe: I want to develop any website Pin
Richard MacCutchan18-Jun-10 23:04
mveRichard MacCutchan18-Jun-10 23:04 
AnswerRe: I want to develop any website Pin
Ankur\m/19-Jun-10 0:57
professionalAnkur\m/19-Jun-10 0:57 
AnswerRe: I want to develop any website Pin
Peace ON21-Jun-10 1:03
Peace ON21-Jun-10 1:03 
QuestionDeserialization of object after field name change fails Pin
davejsmith16-Jun-10 8:41
davejsmith16-Jun-10 8:41 

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.