Groups | Blog | Home
all groups > vb.net data > june 2005 >

vb.net data : Simple Add Modify Delete and Navigation Buttons for - Database Acc



Manish Sawjiani
6/16/2005 11:57:09 AM
Dear Friends,
Am new to vb dot net. I want to create a simple form with text boxes and
Add-Modify-Delete Buttons along with navigation buttons to move next, move
previous, move first and move last. An example for this would go right upto
the bottom of my heart and hope to the bottom of my brain as well. THanks

Regards
Manish
--
William (Bill) Vaughn
6/16/2005 12:12:35 PM
Wait until you see Whidbey. It has a new data navigation control that does
just that. I suggest downloading the April CAP and trying it out.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
www.sqlreportingservices.net
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________


"Manish Sawjiani" <ManishSawjiani@discussions.microsoft.com> wrote in
message news:9546D314-8572-4046-820F-FE4183466638@microsoft.com...
[quoted text, click to view]

Manish Sawjiani
6/17/2005 7:21:02 AM
Dear Sir,

You mean it is better for to learn Whidbey rather than VB.net? I am an ADO
Programmer (you know rs.AddNew .... rs.MoveNext) and now i am forced into dot
net and am curious to know about the change that is going to hit me!

Thanks
Manish
--
Three Cheers to Technet for the Help!


[quoted text, click to view]
james
6/17/2005 11:04:12 AM
The latest version of Visual Basic in Visual Studio 2005 Beta 2 has the new Data Navigation Control that Bill was talking about.
As for the learning curve between ADO( rs.AddNew.....rs.MoveNext etc.) and the way it is done in VB 2003 etc. , there will be a
big change for you. (was and still is for me) Here's a sample:

Private Sub btnNavNext_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNavNext.Click

Me.BindingContext(accessDataSet, mytbl).Position = Me.BindingContext(accessDataSet, mytbl).Position + 1

Me.DataSet_PositionChanged()

End Sub

Private Sub btnNavPrev_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNavPrev.Click

Me.BindingContext(accessDataSet, mytbl).Position = Me.BindingContext(accessDataSet, mytbl).Position - 1

Me.DataSet_PositionChanged()

End Sub

It's really not all that bad, but, does take some getting used to. (more typing for sure)
james





[quoted text, click to view]

William (Bill) Vaughn
7/17/2005 8:18:36 PM
Whidbey is Visual Studio 2005. It includes VB.NET, C# and the rest of the
languages. It's a development platform. What I meant is that the Whidbey
version of VB.NET has the features you're looking for. As others have said,
ADO.NET is very different from COM-based ADO (what we call ADO classic or
ADOc). It approaches problems from a very different perspective in many
respects. It's not any harder to learn than RDO for a DAO developer or ADO
for an RDO developer.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
www.sqlreportingservices.net
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________


"Manish Sawjiani" <ManishSawjiani@discussions.microsoft.com> wrote in
message news:EF5EC242-7098-48FD-9FBD-1BEF19320595@microsoft.com...
[quoted text, click to view]

AddThis Social Bookmark Button