Click here to Skip to main content
16,007,760 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Trimming a String Pin
nishkarsh_k8-Sep-07 9:23
nishkarsh_k8-Sep-07 9:23 
QuestionPrinting a bound datagrid usint new DataGridViewPrint class Pin
2wit2woo7-Sep-07 8:03
2wit2woo7-Sep-07 8:03 
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 
hi all

my code is well in all departments, but this code keeps on making nulls, even when i enter e.g "PVNTR" string that is converted auto by vb.net . here is my code. it keeps on adding nulls

Const PVNTR As Integer = 3
   Const PVDIF As Integer = 2
 Const Property_Category_ID As Integer = 1
 Dim DIf As String = "PVDIF"
               Dim PVo As String = "PV000"
               Dim NTR As String = "PVNTR"
               Select Case txtfunckey.Text.Substring(1, 5)

                   Case Is = DIf
                       newRow("PROP_CATEGORY_ID") = PVDIF
                   Case Is = PVo
                       newRow("PROP_CATEGORY_ID") = Property_Category_ID
                   Case Is = NTR
                       newRow("PROP_CATEGORY_ID") = PVNTR
                   Case Else
                       newRow("PROP_CATEGORY_ID") = DBNull.Value
               End Select



PLease help



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


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 
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 

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.