I have two forms. On the first form I have a datagrid when I click on a row it fills a typed dataset. On the second form I have another datagrid that has to display all the rows I clicked on the datagrid from the first form. When I'm ok with the selection I click save on the second form. But...
In every form I have this code:
Public Event switchTo(ByVal sender As Form, ByVal formName As MyForms)
And the usercontrol.
Where do I need to subscribe this event?
Thanks
David_nyh
Hi I have a problem with my usercontrol. I used this example from this board: http://www.vbdotnetforums.com/showthread.php?t=6754&highlight=RaiseEvent+switchTo%28Me%2C+MyApplication.MyForms.
But I have the buttons in my usercontrol and it give my a fault:
Fault:
Value of type...
I have to change this code in class A (not the nested class):
Public Sub New(ByVal name As String)
Me.Name = name
End Sub
To your example?
If I do this I get a objectreference fault
How do you call a constructor from your nested class? See bold text:
Public Class A
Public Class B
Private m_Age As Integer
Property Age() As Integer
Get
Return m_Age
End Get
Set(ByVal Value As Integer)...
Hi, I have to make a project in asp.net using a oracle database. But I have to demostrate it on my laptop. But I can't run oracle on my laptop. Is there a solution for this?
Sorry for my bad spelling.
How does the RegularExpressionValidator code look for an isbn nummer like 00-000-0000-0 or 00-000-0000-x and for tel 0000 00 00 00 or 000 00 00 00.
Thanks
I solved the problem by coding it different.
But now now I'm searching for tutorials are examples how you can add roles like users and admin access. Where the roles and the names of the users and admins with their password stored in microsoft access database.
I found some but they don't you...
Ok guys I have been working on this for hours and I still cant figure out what the problem is. So here is my setup
web.config
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!-- APPLICATION SETTINGS -->
<appSettings>
<add key="strConn" value="Provider = Microsoft.Jet.OLEDB.4.0;Data...
How can I save my datagrid? I tried everything. I can delete a row and cancel it but I can't save it.
Some of my code:
'Data van de tabel parameters ophalen
Private Sub fillDataSetParameters(ByVal paramSQLString As String)
'Data uit de tabel parameters ophalen
Dim paramDataSet As New...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.