Click here to Skip to main content
15,897,704 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionProblem With Datagridview Pin
sujuu6-Sep-12 0:39
sujuu6-Sep-12 0:39 
AnswerRe: Problem With Datagridview Pin
Eddy Vluggen6-Sep-12 18:31
professionalEddy Vluggen6-Sep-12 18:31 
Question.Net Control similar to Excel Text Wizard Pin
Member 77438055-Sep-12 14:54
Member 77438055-Sep-12 14:54 
AnswerRe: .Net Control similar to Excel Text Wizard Pin
Eddy Vluggen5-Sep-12 23:53
professionalEddy Vluggen5-Sep-12 23:53 
GeneralRe: .Net Control similar to Excel Text Wizard Pin
Member 77438056-Sep-12 2:32
Member 77438056-Sep-12 2:32 
GeneralRe: .Net Control similar to Excel Text Wizard Pin
Eddy Vluggen6-Sep-12 2:50
professionalEddy Vluggen6-Sep-12 2:50 
QuestionHow to Pass Parameter to Report Viewer ( vb.net 2010 ) ? Pin
sali224-Sep-12 20:58
sali224-Sep-12 20:58 
QuestionQuestion About this Function Pin
CHACAMAN3-Sep-12 11:30
CHACAMAN3-Sep-12 11:30 
hi, guys i have function for get multi values from a datareader

is working fine but when i have two or more data only i can get the las register

how i can get all register ??

VB
Public Class OracleDataClass
    Public ORAVALUEA As String
    Public ORAVALUEB As String
    Public ORAVALUEC As String
    Public ORAVALUED As String
End Class

Function OracleQuerys(ByVal orasql_query As String, ByVal ORAVALUEA As String, ByVal ORAVALUEB As String, ByVal ORAVALUEC As String, ByVal ORAVALUED As String) As OracleDataClass
Try
Dim OracleGetInfo As New OracleDataClass
Dim OracleDataClass As
orasql_querys = orasql_query
oracle_cmd_command = New OracleCommand(orasql_query, conoracle)
oracle_data_reader = oracle_cmd_command.ExecuteReader
While (oracle_data_reader.Read())
OracleGetInfo.ORAVALUEA = oracle_data_reader.Item(ORAVALUEA)
OracleGetInfo.ORAVALUEB = oracle_data_reader.Item(ORAVALUEB)
OracleGetInfo.ORAVALUEC = oracle_data_reader.Item(ORAVALUEC)
OracleGetInfo.ORAVALUED = oracle_data_reader.Item(ORAVALUED)
End While
Return OracleGetInfo
Catch ex As Exception
Console.WriteLine(ex.Message)
End Try
oracle_data_reader.Close()
End Function

VB
Dim GetDataOracle As OracleDataClass = OracleQuerys(orasql_query, ORAVALUEA, ORAVALUEB, ORAVALUEC, ORAVALUED)
            client_product_number = GetDataOracle.ORAVALUEB
            client_phone_number = GetDataOracle.ORAVALUEC


thanks for the help and time Smile | :)
AnswerRe: Question About this Function Pin
Dave Kreskowiak3-Sep-12 12:43
mveDave Kreskowiak3-Sep-12 12:43 
GeneralRe: Question About this Function Pin
CHACAMAN3-Sep-12 13:43
CHACAMAN3-Sep-12 13:43 
GeneralRe: Question About this Function Pin
CHACAMAN3-Sep-12 15:25
CHACAMAN3-Sep-12 15:25 
GeneralRe: Question About this Function Pin
Dave Kreskowiak4-Sep-12 9:34
mveDave Kreskowiak4-Sep-12 9:34 
GeneralRe: Question About this Function Pin
CHACAMAN4-Sep-12 12:06
CHACAMAN4-Sep-12 12:06 
QuestionFill Datagridview in one form From Another Datagridview Form Pin
Member 16002102-Sep-12 23:03
Member 16002102-Sep-12 23:03 
AnswerRe: Fill Datagridview in one form From Another Datagridview Form Pin
Sonhospa3-Sep-12 6:31
Sonhospa3-Sep-12 6:31 
AnswerRe: Fill Datagridview in one form From Another Datagridview Form Pin
wkalo5-Sep-12 9:33
wkalo5-Sep-12 9:33 
QuestionText_Changed Calculation error Pin
garyu871-Sep-12 20:24
garyu871-Sep-12 20:24 
AnswerRe: Text_Changed Calculation error Pin
garyu871-Sep-12 21:48
garyu871-Sep-12 21:48 
QuestionSecuring Local Files [Solved] Pin
Saul Johnson1-Sep-12 11:59
Saul Johnson1-Sep-12 11:59 
AnswerRe: Securing Local Files Pin
AspDotNetDev1-Sep-12 15:26
protectorAspDotNetDev1-Sep-12 15:26 
GeneralRe: Securing Local Files Pin
Saul Johnson1-Sep-12 23:13
Saul Johnson1-Sep-12 23:13 
GeneralRe: Securing Local Files Pin
dcu.lcr4-Sep-12 4:20
dcu.lcr4-Sep-12 4:20 
GeneralRe: Securing Local Files Pin
Eddy Vluggen4-Sep-12 5:16
professionalEddy Vluggen4-Sep-12 5:16 
GeneralRe: Securing Local Files Pin
dcu.lcr5-Sep-12 2:37
dcu.lcr5-Sep-12 2:37 
GeneralRe: Securing Local Files Pin
Eddy Vluggen5-Sep-12 3:22
professionalEddy Vluggen5-Sep-12 3:22 

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.