Click here to Skip to main content
15,893,337 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to prevent user form changing Windows Date/Time? Pin
kindman_nb6-Aug-07 3:54
kindman_nb6-Aug-07 3:54 
AnswerRe: How to prevent user form changing Windows Date/Time? Pin
Paul Conrad6-Aug-07 5:09
professionalPaul Conrad6-Aug-07 5:09 
Questiondbms ado.net is not supported... error Pin
Tom Deketelaere6-Aug-07 0:02
professionalTom Deketelaere6-Aug-07 0:02 
AnswerRe: dbms ado.net is not supported... error Pin
Tom Deketelaere6-Aug-07 0:10
professionalTom Deketelaere6-Aug-07 0:10 
QuestionGenerating Pdf files dynamically Pin
sarodam5-Aug-07 23:43
sarodam5-Aug-07 23:43 
AnswerRe: Generating Pdf files dynamically Pin
Vasudevan Deepak Kumar6-Aug-07 1:43
Vasudevan Deepak Kumar6-Aug-07 1:43 
AnswerRe: Generating Pdf files dynamically Pin
Steven J Jowett6-Aug-07 6:18
Steven J Jowett6-Aug-07 6:18 
QuestionSearching the Datagrid Pin
Vimalsoft(Pty) Ltd5-Aug-07 22:36
professionalVimalsoft(Pty) Ltd5-Aug-07 22:36 
hi i have datagrid i need to search. i wrote the following code
     SqlDataAdapter2.SelectCommand.Parameters("Lis_key").Value = txtnumkey.Text
        SqlDataAdapter2.Fill(DataSet21)
        If DataSet21.Tables("Property_Mass").Rows.Count = 0 Then
            MessageBox.Show("Township not Found")
End If

when i run the code and search with a correct Lis_key field, it gives me the Following Error.
An unhandled exception of type 'System.IndexOutOfRangeException' occurred in system.data.dll

Additional information: An SqlParameter with ParameterName 'Lis_key' is not contained by this SqlParameterCollection.


What is the Problem?
it points to this line
<br />
SqlDataAdapter2.SelectCommand.Parameters("Lis_key").Value = txtnumkey.Text<br />

Thanks

Vuyiswa Maseko

AnswerRe: Searching the Datagrid Pin
Tom Deketelaere5-Aug-07 22:47
professionalTom Deketelaere5-Aug-07 22:47 
AnswerRe: Searching the Datagrid Pin
Vimalsoft(Pty) Ltd6-Aug-07 2:13
professionalVimalsoft(Pty) Ltd6-Aug-07 2:13 
QuestionTake over a GUI of running program Pin
Morad Kobi5-Aug-07 22:31
Morad Kobi5-Aug-07 22:31 
AnswerRe: Take over a GUI of running program Pin
Paul Conrad6-Aug-07 5:10
professionalPaul Conrad6-Aug-07 5:10 
GeneralRe: Take over a GUI of running program Pin
Morad Kobi6-Aug-07 5:33
Morad Kobi6-Aug-07 5:33 
GeneralRe: Take over a GUI of running program Pin
Paul Conrad6-Aug-07 5:43
professionalPaul Conrad6-Aug-07 5:43 
GeneralRe: Take over a GUI of running program Pin
Dave Kreskowiak6-Aug-07 7:59
mveDave Kreskowiak6-Aug-07 7:59 
QuestionVB.Net add child node to treeview control Pin
Mbire5-Aug-07 21:38
Mbire5-Aug-07 21:38 
AnswerRe: VB.Net add child node to treeview control Pin
Tom Deketelaere5-Aug-07 21:43
professionalTom Deketelaere5-Aug-07 21:43 
GeneralRe: VB.Net add child node to treeview control Pin
Mbire5-Aug-07 22:06
Mbire5-Aug-07 22:06 
GeneralRe: VB.Net add child node to treeview control Pin
Tom Deketelaere5-Aug-07 22:23
professionalTom Deketelaere5-Aug-07 22:23 
GeneralRe: VB.Net add child node to treeview control Pin
Mbire6-Aug-07 1:08
Mbire6-Aug-07 1:08 
QuestionVisual Basic 6.0 help required Pin
Taqi Raza5-Aug-07 21:14
Taqi Raza5-Aug-07 21:14 
AnswerRe: Visual Basic 6.0 help required Pin
klaydze5-Aug-07 22:33
klaydze5-Aug-07 22:33 
AnswerRe: Visual Basic 6.0 help required Pin
Taqi Raza6-Aug-07 22:40
Taqi Raza6-Aug-07 22:40 
QuestionDatagrid Complex Databinding Pin
mir firasat ali khan5-Aug-07 14:04
mir firasat ali khan5-Aug-07 14:04 
QuestionVB Application that will be used in LAN Pin
Maho^^^5-Aug-07 13:19
Maho^^^5-Aug-07 13:19 

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.