Click here to Skip to main content
15,920,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionadd reply to the next node Pin
Shanmugapriya.G3-Jun-08 0:45
Shanmugapriya.G3-Jun-08 0:45 
AnswerRe: add reply to the next node Pin
ChandraRam3-Jun-08 1:27
ChandraRam3-Jun-08 1:27 
AnswerRe: add reply to the next node Pin
Anubhava Dimri3-Jun-08 21:10
Anubhava Dimri3-Jun-08 21:10 
QuestionCrystal Report Pin
sathyan_82942-Jun-08 23:21
sathyan_82942-Jun-08 23:21 
AnswerRe: Crystal Report Pin
ChandraRam3-Jun-08 1:25
ChandraRam3-Jun-08 1:25 
AnswerRe: Crystal Report Pin
Rupesh Kumar Swami3-Jun-08 2:55
Rupesh Kumar Swami3-Jun-08 2:55 
AnswerRe: Crystal Report Pin
Anubhava Dimri6-Jun-08 0:26
Anubhava Dimri6-Jun-08 0:26 
QuestionCombobox events in a DataGridView Pin
iJuan2-Jun-08 23:00
iJuan2-Jun-08 23:00 
Hello, I was wondering if u can help me out with this one....

I have a datagridview with 5 columns, the first one is a Combobox Column... I've managed to fill it up with a datasource...know what I'll like to know is how to fill the remaining 4 cells of the row, based in the code i've selected in the first one...

I've been searching a lot and i've found some examples of how to capture the event of the combobox...
<br />
Private Sub dataGridView1_EditingControlShowing(ByVal sender As Object, ByVal e As DataGridViewEditingControlShowingEventArgs)<br />
                  Dim editingComboBox As ComboBox = CType(e.Control, ComboBox)<br />
                  If Not editingComboBox Is Nothing Then<br />
                        AddHandler editingComboBox.SelectedIndexChanged, AddressOf editingComboBox_SelectedIndexChanged<br />
                  End If<br />
End Sub<br />
 <br />
Private Sub editingComboBox_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)<br />
                  Dim comboBox1 As ComboBox = CType(sender, ComboBox)<br />
                  ' Display index<br />
                  MessageBox.Show(comboBox1.SelectedIndex.ToString())<br />
                  ' Display value<br />
                  MessageBox.Show(comboBox1.Text)<br />
End Sub


Here's a picture of the form...

http://img90.imageshack.us/my.php?image=screenin9.png

This isn't helping that much because what i'll like to do is this:
Get the Code of the zone "Zona" in the picture...(i dont know how to Frown | :( ) and based on that go to the DB and based on a store procedure get the remaining information

Well thanks a lot... if u can tell how to capture the event of change a value in the combobox will be more than enough Big Grin | :-D

Greetings from Lima - Peru
Juan
AnswerRe: Combobox events in a DataGridView Pin
paas3-Jun-08 2:48
paas3-Jun-08 2:48 
QuestionSet two Different print area in excel 2007 sheet using vb.net Pin
~Khatri Mitesh~2-Jun-08 22:40
~Khatri Mitesh~2-Jun-08 22:40 
QuestionWhat type of value return when using format(now(),"hh:mm:ss") in VB6? Pin
cocoonwls2-Jun-08 21:27
cocoonwls2-Jun-08 21:27 
AnswerRe: What type of value return when using format(now(),"hh:mm:ss") in VB6? Pin
~Khatri Mitesh~3-Jun-08 1:27
~Khatri Mitesh~3-Jun-08 1:27 
GeneralRe: What type of value return when using format(now(),"hh:mm:ss") in VB6? Pin
cocoonwls3-Jun-08 18:48
cocoonwls3-Jun-08 18:48 
Question[Message Deleted] Pin
bbalaji7feb2-Jun-08 20:39
bbalaji7feb2-Jun-08 20:39 
AnswerCross Post Pin
dan!sh 2-Jun-08 20:44
professional dan!sh 2-Jun-08 20:44 
QuestionProblem with VB.NET using MySql .NET Connector Pin
drexler_kk2-Jun-08 19:00
drexler_kk2-Jun-08 19:00 
AnswerRe: Problem with VB.NET using MySql .NET Connector Pin
drexler_kk4-Jun-08 21:32
drexler_kk4-Jun-08 21:32 
Generalsql editor inside the vb.net application Pin
xybroxymoron2-Jun-08 17:13
xybroxymoron2-Jun-08 17:13 
GeneralCP IGNORE Pin
leckey2-Jun-08 17:29
leckey2-Jun-08 17:29 
QuestionCopy html with VB Pin
Harold_Wishes2-Jun-08 10:18
Harold_Wishes2-Jun-08 10:18 
AnswerRe: Copy html with VB Pin
jzonthemtn2-Jun-08 12:53
jzonthemtn2-Jun-08 12:53 
QuestionUsing net send in VB.net Pin
Charles Hardy2-Jun-08 10:09
Charles Hardy2-Jun-08 10:09 
AnswerRe: Using net send in VB.net Pin
jzonthemtn3-Jun-08 11:41
jzonthemtn3-Jun-08 11:41 
GeneralRe: Using net send in VB.net Pin
Charles Hardy5-Jun-08 6:06
Charles Hardy5-Jun-08 6:06 
GeneralRe: Using net send in VB.net Pin
jzonthemtn5-Jun-08 6:12
jzonthemtn5-Jun-08 6:12 

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.