Click here to Skip to main content
15,915,873 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Unicode support in VBscript messagebox Pin
Archana New to Dotnet8-Jul-09 17:29
Archana New to Dotnet8-Jul-09 17:29 
Questionusing vb.net to create or add ms sql Database User Pin
ChiSmile7-Jul-09 9:03
ChiSmile7-Jul-09 9:03 
AnswerRe: using vb.net to create or add ms sql Database User Pin
Henry Minute7-Jul-09 9:26
Henry Minute7-Jul-09 9:26 
GeneralRe: using vb.net to create or add ms sql Database User Pin
Steven J Jowett8-Jul-09 5:59
Steven J Jowett8-Jul-09 5:59 
QuestionNew to VB. Help needed. Pin
gjx_junxian19897-Jul-09 5:27
gjx_junxian19897-Jul-09 5:27 
AnswerRe: New to VB. Help needed. Pin
DoctorMick7-Jul-09 5:36
DoctorMick7-Jul-09 5:36 
AnswerRe: New to VB. Help needed. Pin
nlarson117-Jul-09 5:37
nlarson117-Jul-09 5:37 
GeneralRe: New to VB. Help needed. Pin
gjx_junxian19897-Jul-09 5:42
gjx_junxian19897-Jul-09 5:42 
GeneralRe: New to VB. Help needed. Pin
Christian Graus7-Jul-09 5:44
protectorChristian Graus7-Jul-09 5:44 
GeneralRe: New to VB. Help needed. Pin
gjx_junxian19897-Jul-09 5:49
gjx_junxian19897-Jul-09 5:49 
GeneralRe: New to VB. Help needed. Pin
Christian Graus7-Jul-09 5:55
protectorChristian Graus7-Jul-09 5:55 
GeneralRe: New to VB. Help needed. Pin
gjx_junxian19897-Jul-09 6:03
gjx_junxian19897-Jul-09 6:03 
GeneralRe: New to VB. Help needed. Pin
Christian Graus7-Jul-09 6:27
protectorChristian Graus7-Jul-09 6:27 
GeneralRe: New to VB. Help needed. Pin
gjx_junxian19897-Jul-09 6:31
gjx_junxian19897-Jul-09 6:31 
GeneralRe: New to VB. Help needed. Pin
Christian Graus7-Jul-09 6:34
protectorChristian Graus7-Jul-09 6:34 
GeneralRe: New to VB. Help needed. Pin
gjx_junxian19897-Jul-09 6:36
gjx_junxian19897-Jul-09 6:36 
AnswerRe: New to VB. Help needed. Pin
chilinhhacker13-Jul-09 18:31
chilinhhacker13-Jul-09 18:31 
QuestionConvert String DataType To Form Object Pin
faravani7-Jul-09 3:12
faravani7-Jul-09 3:12 
AnswerRe: Convert String DataType To Form Object Pin
Christian Graus7-Jul-09 3:20
protectorChristian Graus7-Jul-09 3:20 
AnswerRe: Convert String DataType To Form Object Pin
Anoop Brijmohun7-Jul-09 22:32
Anoop Brijmohun7-Jul-09 22:32 
QuestionArray declaration and asigning value of array to combobox Pin
KIDYA7-Jul-09 1:27
KIDYA7-Jul-09 1:27 
Hello Experts!!

I am declaring one array (having size 10) as an integer and bind array data to grid combobox.It works well but in combobox it shows values as well as zeros....means if array contains 3 values then remaining values shows zero(remaining 7).
How to taggle with this? Combo shows like this->1,2,3,0,0,0,0,0,0,0...I dont want that zeros

My code is

<pre>Dim o As New design
Dim i As Integer = 0
Dim rowArray As String()
Dim no(10) As Integer //Declaration
rssearch = New ADODB.Recordset
rssearch.Open("select srno from design", con, ADODB.CursorTypeEnum.adOpenDynamic, ADODB.LockTypeEnum.adLockPessimistic)
While Not rssearch.EOF
o = New design
o.dsrno = rssearch.Fields("srno").Value

Dim row1() As String = {o.dsrno}
Dim rows() As Object = {row1}

For Each rowArray In rows
no(i) = rowArray(0) // Assign value one by one
i = i + 1
Next rowArray


o = Nothing
o = New design
rssearch.MoveNext()
'i = i + 1
End While

CType(dgvbottom.Columns(8), DataGridViewComboBoxColumn).DataSource = no // Display values in combo

AnswerRe: Array declaration and asigning value of array to combobox Pin
Christian Graus7-Jul-09 1:35
protectorChristian Graus7-Jul-09 1:35 
AnswerRe: Array declaration and asigning value of array to combobox Pin
Luc Pattyn7-Jul-09 1:38
sitebuilderLuc Pattyn7-Jul-09 1:38 
GeneralRe: Array declaration and asigning value of array to combobox Pin
KIDYA7-Jul-09 2:22
KIDYA7-Jul-09 2:22 
QuestionEdit and Delete option with gridview Pin
Member 45142186-Jul-09 11:30
Member 45142186-Jul-09 11:30 

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.