Click here to Skip to main content
16,006,474 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Custom Control Pin
Cliff Wellman9-Dec-03 4:12
Cliff Wellman9-Dec-03 4:12 
GeneralTreeView Control Pin
phase18-Dec-03 6:11
phase18-Dec-03 6:11 
GeneralASP.NET VB Execute a String to Change Label Text Pin
etihwl8-Dec-03 4:53
etihwl8-Dec-03 4:53 
GeneralRe: ASP.NET VB Execute a String to Change Label Text Pin
Ian Darling8-Dec-03 5:25
Ian Darling8-Dec-03 5:25 
GeneralRe: ASP.NET VB Execute a String to Change Label Text Pin
etihwl8-Dec-03 5:36
etihwl8-Dec-03 5:36 
GeneralRe: ASP.NET VB Execute a String to Change Label Text Pin
Ian Darling8-Dec-03 5:48
Ian Darling8-Dec-03 5:48 
GeneralRe: ASP.NET VB Execute a String to Change Label Text Pin
etihwl8-Dec-03 6:40
etihwl8-Dec-03 6:40 
GeneralRe: ASP.NET VB Execute a String to Change Label Text Pin
Ian Darling8-Dec-03 7:03
Ian Darling8-Dec-03 7:03 
Junk the idea of executing code like that - it isn't practical. If you want to get all the language strings in one go, store the resultset in a DataTable instead of looping through a DataReader, and then just pull them out of that using the DataBinding mechanism I described earlier for controls, and a straight function call for anything else. You'll need an OLEDBDataAdapter to Fill the DataTable.

A colleague has suggested that you can use the Eval statement if you use JScript.NET as your code behind language, but neither of us recommend this approach, as it's intended for ASP application migration.


--
Ian Darling
"The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
GeneralRe: ASP.NET VB Execute a String to Change Label Text Pin
etihwl8-Dec-03 7:07
etihwl8-Dec-03 7:07 
GeneralRe: ASP.NET VB Execute a String to Change Label Text Pin
Ian Darling8-Dec-03 7:53
Ian Darling8-Dec-03 7:53 
GeneralCode required in VB.NET in emergency Pin
Member 7071198-Dec-03 0:31
Member 7071198-Dec-03 0:31 
GeneralRe: Code required in VB.NET in emergency [edited] Pin
Colin Angus Mackay8-Dec-03 2:59
Colin Angus Mackay8-Dec-03 2:59 
GeneralPrint All - ICON Pin
Andy H8-Dec-03 0:05
Andy H8-Dec-03 0:05 
GeneralRe: Print All - ICON Pin
Ian Darling8-Dec-03 0:10
Ian Darling8-Dec-03 0:10 
QuestionString to button????? Pin
KwGuy7-Dec-03 20:47
KwGuy7-Dec-03 20:47 
AnswerRe: String to button????? Pin
cnurse8-Dec-03 0:37
cnurse8-Dec-03 0:37 
GeneralToolbox icons for multiple controls in windows control library (.NET) Pin
cnurse7-Dec-03 13:50
cnurse7-Dec-03 13:50 
GeneralRe: Toolbox icons for multiple controls in windows control library (.NET) Pin
J. Dunlap7-Dec-03 14:43
J. Dunlap7-Dec-03 14:43 
Generalbanging my head Pin
cnurse7-Dec-03 16:06
cnurse7-Dec-03 16:06 
GeneralHelp needed re: printing .txt file Pin
Fionn7-Dec-03 13:42
Fionn7-Dec-03 13:42 
GeneralRe: Help needed re: printing .txt file Pin
Colin Angus Mackay7-Dec-03 14:41
Colin Angus Mackay7-Dec-03 14:41 
GeneralRe: Help needed re: printing .txt file Pin
Fionn9-Dec-03 13:10
Fionn9-Dec-03 13:10 
GeneralRe: Help needed re: printing .txt file Pin
Dave Kreskowiak9-Dec-03 13:24
mveDave Kreskowiak9-Dec-03 13:24 
GeneralExcel Wksheet Using Visual Basic Pin
EZ-V7-Dec-03 5:29
EZ-V7-Dec-03 5:29 
GeneralRe: Excel Wksheet Using Visual Basic Pin
Dave Kreskowiak7-Dec-03 14:43
mveDave Kreskowiak7-Dec-03 14:43 

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.