Click here to Skip to main content
15,898,869 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Printing a bound datagrid usint new DataGridViewPrint class Pin
Dave Kreskowiak7-Sep-07 8:32
mveDave Kreskowiak7-Sep-07 8:32 
GeneralRe: Printing a bound datagrid usint new DataGridViewPrint class Pin
2wit2woo7-Sep-07 8:54
2wit2woo7-Sep-07 8:54 
GeneralRe: Printing a bound datagrid usint new DataGridViewPrint class Pin
Dave Kreskowiak7-Sep-07 9:30
mveDave Kreskowiak7-Sep-07 9:30 
Questiondatagrid cell focus Pin
ggreekggod7-Sep-07 6:49
ggreekggod7-Sep-07 6:49 
AnswerRe: datagrid cell focus Pin
Dave Kreskowiak7-Sep-07 9:35
mveDave Kreskowiak7-Sep-07 9:35 
QuestionWhat is Wrong with the Following Code.Adding records in DB Pin
Vimalsoft(Pty) Ltd7-Sep-07 6:36
professionalVimalsoft(Pty) Ltd7-Sep-07 6:36 
AnswerRe: What is Wrong with the Following Code.Adding records in DB Pin
Manuel F. Hernandez7-Sep-07 6:55
Manuel F. Hernandez7-Sep-07 6:55 
GeneralRe: What is Wrong with the Following Code.Adding records in DB Pin
Vimalsoft(Pty) Ltd7-Sep-07 7:41
professionalVimalsoft(Pty) Ltd7-Sep-07 7:41 
THANKS

Previously my code was like this
If txtfunckey.Text.Substring(1, 5).StartsWith("PV000") Then
                    newRow("PROP_CATEGORY_ID") = Property_Category_ID
                    Debug.Write(txtfunckey.Text.Substring(1, 5))
                    ' Later Provision for PVNTR001
                ElseIf txtfunckey.Text.Substring(1, 5) = "PVDIF" Then
                    newRow("PROP_CATEGORY_ID") = PVDIF
                    Debug.Write(txtfunckey.Text.Substring(1, 5))
                ElseIf txtfunckey.Text.Substring(1, 5) = "PVNTR" Then
                    Debug.Write(txtfunckey.Text.Substring(1, 5))
                    newRow("PROP_CATEGORY_ID") = PVNTR
                Else
                    MessageBox.Show("The was no Provision for this Functional, Ask Vuyiswa Add Provision for IT", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Information)
                    newRow("PROP_CATEGORY_ID") = DBNull.Value
                    Debug.Write(txtfunckey.Text.Substring(1, 5))
                End If

so i decided to add case's , mybe the nested If's caused this . but i will try to Debug.

thanks

Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sudden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com


GeneralRe: What is Wrong with the Following Code.Adding records in DB Pin
Manuel F. Hernandez7-Sep-07 8:02
Manuel F. Hernandez7-Sep-07 8:02 
AnswerRe: What is Wrong with the Following Code.Adding records in DB Pin
Christian Graus7-Sep-07 6:56
protectorChristian Graus7-Sep-07 6:56 
Questionchoose first field of repeating data and write to a text file Pin
samme7127-Sep-07 6:21
samme7127-Sep-07 6:21 
AnswerRe: choose first field of repeating data and write to a text file Pin
Dave Kreskowiak7-Sep-07 9:27
mveDave Kreskowiak7-Sep-07 9:27 
GeneralRe: choose first field of repeating data and write to a text file Pin
samme7127-Sep-07 10:12
samme7127-Sep-07 10:12 
GeneralRe: choose first field of repeating data and write to a text file Pin
Dave Kreskowiak7-Sep-07 12:59
mveDave Kreskowiak7-Sep-07 12:59 
GeneralRe: choose first field of repeating data and write to a text file Pin
samme71211-Sep-07 7:16
samme71211-Sep-07 7:16 
GeneralRe: choose first field of repeating data and write to a text file Pin
Dave Kreskowiak11-Sep-07 12:50
mveDave Kreskowiak11-Sep-07 12:50 
GeneralRe: choose first field of repeating data and write to a text file Pin
samme71211-Sep-07 16:56
samme71211-Sep-07 16:56 
GeneralRe: choose first field of repeating data and write to a text file Pin
samme71211-Sep-07 17:35
samme71211-Sep-07 17:35 
QuestionHow to customize a gridview? Pin
shyne77-Sep-07 6:21
shyne77-Sep-07 6:21 
AnswerRe: How to customize a gridview? Pin
Christian Graus7-Sep-07 6:26
protectorChristian Graus7-Sep-07 6:26 
AnswerRe: How to customize a gridview? Pin
Dave Kreskowiak7-Sep-07 6:55
mveDave Kreskowiak7-Sep-07 6:55 
GeneralRe: How to customize a gridview? Pin
shyne77-Sep-07 7:58
shyne77-Sep-07 7:58 
GeneralRe: How to customize a gridview? Pin
Dave Kreskowiak7-Sep-07 9:48
mveDave Kreskowiak7-Sep-07 9:48 
QuestionPlease tell how to update data using web service Pin
Dubey Yogendra7-Sep-07 6:15
Dubey Yogendra7-Sep-07 6:15 
AnswerRe: Please tell how to update data using web service Pin
Dave Kreskowiak7-Sep-07 8:34
mveDave Kreskowiak7-Sep-07 8:34 

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.