Click here to Skip to main content
16,008,719 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: alternative of recordset in vb.net Pin
supercat918-Aug-08 12:37
supercat918-Aug-08 12:37 
GeneralRe: alternative of recordset in vb.net Pin
Mycroft Holmes18-Aug-08 14:04
professionalMycroft Holmes18-Aug-08 14:04 
GeneralRe: alternative of recordset in vb.net Pin
supercat919-Aug-08 6:32
supercat919-Aug-08 6:32 
GeneralRe: alternative of recordset in vb.net Pin
Mycroft Holmes19-Aug-08 12:03
professionalMycroft Holmes19-Aug-08 12:03 
AnswerRe: alternative of recordset in vb.net Pin
rprateek18-Aug-08 18:46
rprateek18-Aug-08 18:46 
QuestionHow to work with errors in visual basic Pin
Matthew Leggett17-Aug-08 4:06
Matthew Leggett17-Aug-08 4:06 
AnswerRe: How to work with errors in visual basic Pin
ChandraRam17-Aug-08 20:58
ChandraRam17-Aug-08 20:58 
Questionkindly check this and suggest me where i did mistake Pin
Rameez Raja17-Aug-08 1:06
Rameez Raja17-Aug-08 1:06 
Hi all,

first i stored employee name into an array from start_cell_number to end_cell_number like this


Dim testarray() As String = New String(47) {}

For i = start_cell_number To end_cell_number mean (4 to 8)
                    testarray(i) = (dr("User_Name").ToString())
                Next


then tried to findout total number of user name repeated in an array like this


Dim noOfTimes As Integer = 0
           For Each str As String In testarray
               If str = Label1.Text Then
                   noOfTimes = noOfTimes + 1
               End If
           Next


here iam getting total number of user name repeates in an array but when iam putting below line in loop block iam getting result like this

Response.Write(noOfTimes.ToString() + "" + Label1.Text)



00001234444444444444444444444444444444444444444444444444444 but i have to need result like this
00001234000000000000000000000000000000000000000000000000000 becuase username only repeated 4 times.

kindly suggest me where iam doing mistake.

thanks in advance
Regards
Rameez
AnswerRe: kindly check this and suggest me where i did mistake Pin
lisan_al_ghaib17-Aug-08 1:17
lisan_al_ghaib17-Aug-08 1:17 
GeneralRe: kindly check this and suggest me where i did mistake [modified] Pin
Rameez Raja17-Aug-08 16:45
Rameez Raja17-Aug-08 16:45 
Questionhi Pin
ershad15-Aug-08 22:49
ershad15-Aug-08 22:49 
AnswerRe: hi Pin
Christian Flutcher15-Aug-08 23:19
Christian Flutcher15-Aug-08 23:19 
GeneralRe: hi Pin
ershad15-Aug-08 23:54
ershad15-Aug-08 23:54 
GeneralRe: hi Pin
Christian Graus16-Aug-08 0:07
protectorChristian Graus16-Aug-08 0:07 
GeneralRe: hi Pin
Paul Conrad16-Aug-08 9:22
professionalPaul Conrad16-Aug-08 9:22 
AnswerRe: hi Pin
~Khatri Mitesh~16-Aug-08 0:02
~Khatri Mitesh~16-Aug-08 0:02 
GeneralRe: hi Pin
Christian Graus16-Aug-08 0:08
protectorChristian Graus16-Aug-08 0:08 
GeneralRe: hi Pin
Paul Conrad16-Aug-08 9:23
professionalPaul Conrad16-Aug-08 9:23 
AnswerRe: hi Pin
rprateek18-Aug-08 18:53
rprateek18-Aug-08 18:53 
Questionhow to import .csv or .txt file into listview control?? Pin
aungthiha15-Aug-08 21:08
aungthiha15-Aug-08 21:08 
AnswerRe: how to import .csv or .txt file into listview control?? Pin
Christian Graus15-Aug-08 21:34
protectorChristian Graus15-Aug-08 21:34 
GeneralRe: how to import .csv or .txt file into listview control?? Pin
Mycroft Holmes16-Aug-08 15:08
professionalMycroft Holmes16-Aug-08 15:08 
GeneralRe: how to import .csv or .txt file into listview control?? Pin
LloydA11117-Aug-08 15:32
LloydA11117-Aug-08 15:32 
QuestionGraphing calculator problem (VB.NET) Pin
jacobjordan15-Aug-08 17:44
jacobjordan15-Aug-08 17:44 
AnswerRe: Graphing calculator problem (VB.NET) Pin
The Cadde18-Aug-08 0:32
The Cadde18-Aug-08 0:32 

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.