Click here to Skip to main content
15,896,063 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: problem on label control Pin
Dave Kreskowiak25-Aug-08 12:37
mveDave Kreskowiak25-Aug-08 12:37 
QuestionGet Web Address Pin
nitin_ion25-Aug-08 2:11
nitin_ion25-Aug-08 2:11 
AnswerRe: Get Web Address Pin
jzonthemtn25-Aug-08 6:46
jzonthemtn25-Aug-08 6:46 
AnswerRe: Get Web Address Pin
Dave Kreskowiak25-Aug-08 12:36
mveDave Kreskowiak25-Aug-08 12:36 
QuestionLinkbutton not adding into table cell programmatically( problem ) Pin
Rameez Raja25-Aug-08 0:59
Rameez Raja25-Aug-08 0:59 
AnswerRe: Linkbutton not adding into table cell programmatically( problem ) Pin
jzonthemtn25-Aug-08 6:47
jzonthemtn25-Aug-08 6:47 
QuestionRead for database SQL 2005 with more than 20 columns in a record Pin
DCAUB25-Aug-08 0:44
DCAUB25-Aug-08 0:44 
AnswerRe: Read for database SQL 2005 with more than 20 columns in a record Pin
Colin Angus Mackay25-Aug-08 3:24
Colin Angus Mackay25-Aug-08 3:24 
DCAUB wrote:
When i read from my database is do for example myreader.getstring(15) when i do this i read out the colom 15 that is in the record.


The columns are zero indexed, so myReader.GetString(15) will return the 16th column.

DCAUB wrote:
here there is a error that the Matrix is not big enough.


That does not sound like any error message I recognise. Please copy and paste the actual error message.


DCAUB wrote:
select *


This is bad practice. You should always list the column names, that means that if the database changes your program will still work. (Unless the column has been removed)


DCAUB wrote:
where hotel ='" + hotel + "'"


This is also bad practice, your code is susceptable to a SQL Injection attack. You should at the very least use parameterised queries to protect yourself.


GeneralRe: Read for database SQL 2005 with more than 20 columns in a record Pin
DCAUB25-Aug-08 3:35
DCAUB25-Aug-08 3:35 
GeneralRe: Read for database SQL 2005 with more than 20 columns in a record Pin
Colin Angus Mackay25-Aug-08 3:47
Colin Angus Mackay25-Aug-08 3:47 
QuestionHow to refresh a combobox in another form after the values of the combo have been updated? Pin
rprateek24-Aug-08 21:01
rprateek24-Aug-08 21:01 
AnswerRe: How to refresh a combobox in another form after the values of the combo have been updated? Pin
AlexeiXX325-Aug-08 6:10
AlexeiXX325-Aug-08 6:10 
GeneralRe: How to refresh a combobox in another form after the values of the combo have been updated? Pin
rprateek25-Aug-08 13:46
rprateek25-Aug-08 13:46 
AnswerRe: How to refresh a combobox in another form after the values of the combo have been updated? Pin
rprateek27-Aug-08 17:20
rprateek27-Aug-08 17:20 
QuestionMinimize all windows Pin
AlexeiXX324-Aug-08 18:29
AlexeiXX324-Aug-08 18:29 
AnswerRe: Minimize all windows Pin
John Ad24-Aug-08 21:33
John Ad24-Aug-08 21:33 
GeneralRe: Minimize all windows Pin
AlexeiXX325-Aug-08 6:03
AlexeiXX325-Aug-08 6:03 
GeneralRe: Minimize all windows Pin
Jon_Boy25-Aug-08 7:35
Jon_Boy25-Aug-08 7:35 
GeneralRe: Minimize all windows Pin
AlexeiXX325-Aug-08 7:40
AlexeiXX325-Aug-08 7:40 
GeneralRe: Minimize all windows Pin
JR21227-Aug-08 1:56
JR21227-Aug-08 1:56 
QuestionA more elegent way?? Pin
Rafone24-Aug-08 13:08
Rafone24-Aug-08 13:08 
AnswerRe: A more elegent way?? Pin
jzonthemtn24-Aug-08 13:36
jzonthemtn24-Aug-08 13:36 
GeneralRe: A more elegent way?? Pin
Rafone24-Aug-08 16:01
Rafone24-Aug-08 16:01 
AnswerRe: A more elegent way?? Pin
Gideon Engelberth25-Aug-08 2:45
Gideon Engelberth25-Aug-08 2:45 
QuestionDAtaBinding Problem Pin
vidhish24-Aug-08 1:35
vidhish24-Aug-08 1:35 

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.