Click here to Skip to main content
15,885,655 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMiddle Mouse Click "Autoscroll" in Webbrowser Pin
Syberaptor7-May-07 10:46
Syberaptor7-May-07 10:46 
AnswerRe: Middle Mouse Click "Autoscroll" in Webbrowser Pin
The ANZAC7-May-07 11:13
The ANZAC7-May-07 11:13 
GeneralRe: Middle Mouse Click "Autoscroll" in Webbrowser Pin
Syberaptor8-May-07 7:39
Syberaptor8-May-07 7:39 
GeneralRe: Middle Mouse Click "Autoscroll" in Webbrowser Pin
The ANZAC8-May-07 14:05
The ANZAC8-May-07 14:05 
QuestionExplanation Parameterised Queries Pin
keninfo7-May-07 10:21
keninfo7-May-07 10:21 
AnswerRe: Explanation Parameterised Queries Pin
Colin Angus Mackay7-May-07 10:27
Colin Angus Mackay7-May-07 10:27 
GeneralRe: Explanation Parameterised Queries Pin
keninfo7-May-07 10:49
keninfo7-May-07 10:49 
GeneralRe: Explanation Parameterised Queries Pin
Colin Angus Mackay7-May-07 10:56
Colin Angus Mackay7-May-07 10:56 
keninfo wrote:
But i don't know what @AgentNaam corresponse with, it should be a parameter, i guess.

Can you explain the following

command.Parameters.Add("@AgentNaam", OleDb.OleDbType.VarChar, 20, "AgentNaam")


Did you not read the documentation?

@AgentNaam is your parameter name (think of is as a variable name). When you use @AgentNaam in your SQL you get the value of the parameter. Just like you would a variable in VB.NET

The last argument is the value you want the parameter to have. Putting in "AgentNaam" will mean the parameter will always have that value. It is like writing the following in VB.NET:
Dim agentNaam As String = "AgentNaam"


keninfo wrote:
I need to update a table with new values, which are inserted via textfields.

I don't get the way from textfield inserting till the actual update


Where you currently have the literal string values (That's the last argument of the Add method) you should change that to the appropriate values that have come from the text boxes.


Upcoming events:
* Glasgow: SQL Server 2005 - XML and XML Query Plans, Mock Objects, SQL Server Reporting Services...

Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton


My website

GeneralRe: Explanation Parameterised Queries Pin
keninfo7-May-07 11:30
keninfo7-May-07 11:30 
GeneralRe: Explanation Parameterised Queries Pin
Colin Angus Mackay7-May-07 11:36
Colin Angus Mackay7-May-07 11:36 
QuestionHow to Import tab delimited text file into Sybase using VB.Net Pin
VB Prog7-May-07 9:46
VB Prog7-May-07 9:46 
AnswerRe: How to Import tab delimited text file into Sybase using VB.Net Pin
VB Prog9-May-07 6:36
VB Prog9-May-07 6:36 
QuestionVB.Net - XML into a DB Pin
ukfrosty7-May-07 7:38
ukfrosty7-May-07 7:38 
AnswerRe: VB.Net - XML into a DB Pin
MatrixCoder7-May-07 18:44
MatrixCoder7-May-07 18:44 
Questioni need to manage exceptions how can i ? Pin
Hasan Jaffal7-May-07 3:58
Hasan Jaffal7-May-07 3:58 
AnswerRe: i need to manage exceptions how can i ? Pin
Rupesh Kumar Swami7-May-07 4:30
Rupesh Kumar Swami7-May-07 4:30 
GeneralRe: i need to manage exceptions how can i ? Pin
Hasan Jaffal7-May-07 4:39
Hasan Jaffal7-May-07 4:39 
GeneralRe: i need to manage exceptions how can i ? Pin
Rupesh Kumar Swami7-May-07 4:49
Rupesh Kumar Swami7-May-07 4:49 
GeneralRe: i need to manage exceptions how can i ? Pin
Hasan Jaffal7-May-07 4:56
Hasan Jaffal7-May-07 4:56 
GeneralRe: i need to manage exceptions how can i ? Pin
Rupesh Kumar Swami7-May-07 5:03
Rupesh Kumar Swami7-May-07 5:03 
GeneralRe: i need to manage exceptions how can i ? Pin
Hasan Jaffal7-May-07 5:11
Hasan Jaffal7-May-07 5:11 
AnswerRe: i need to manage exceptions how can i ? Pin
Christian Graus7-May-07 13:07
protectorChristian Graus7-May-07 13:07 
GeneralRe: i need to manage exceptions how can i ? Pin
Hasan Jaffal7-May-07 13:15
Hasan Jaffal7-May-07 13:15 
QuestionGetObject function question Pin
ganeshpulsars7-May-07 3:42
ganeshpulsars7-May-07 3:42 
AnswerRe: GetObject function question Pin
Dave Kreskowiak7-May-07 7:07
mveDave Kreskowiak7-May-07 7:07 

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.