Re: VB or C# for SQL Server

Tech-Archive recommends: Fix windows errors by optimizing your registry




Hello All:

Ok, sorry for the remark. I understand lang barriers as I'm American and my
wife is Indonesian.

My remark had nothing to do with that.

I spent days with Cor going round with a past issue I had and I did state
that did'nt want to use the bindingcontext(ds, "table").position to achieve
my goal. After a week of clarifying my question, he finaly responded with a
different way of using row positioning that would result with the same issue
as bindingcontext.

In any case, I found out on my own when I drove to NJ last weekend and
stayed at friends house who has a friend who has been programing VB since
mid 90's.

I admit that my experiance only goes back to VB 6 (and very limited at that)
which began right before VB.NET came out.

I don't believe this is a lang barrier thing as I have seen others in this
group.

Cor:

My 327 fields is working fine using panels that I set the visible property
to True as the user enters data.

When the user presses the down arrow on the last field in panel01,
panel01.visible = False Panel02.Visible = True etc ...

I also gave the user the choice of selecting the panel they wish to view
using Button_Click events

I do have a question. If you folkes don't want to answer me anymore, it's
fine.

When I'm done with this project, I will have many lines of code for the
visible property of these panels. I would like to move them to a Module.vb


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Label01.Visible = True
Panel01.Visible = True

Panel02.Visible = False
Label02.Visible = False

Panel03.Visible = False
Label03.Visible = False

Panel04.Visible = False
Label04.Visible = False

Panel05.Visible = False
Label05.Visible = False

Panel06.Visible = False
Label06.Visible = False
End Sub

I've tried a few different ways to move this to a Mod. Mostly nothing
happens. No error no nothing.

TIA

Bob


.


Quantcast