Welcome to WebmasterWorld Guest from 54.227.48.147

Forum Moderators: ocean10000

Message Too Old, No Replies

Maybe the wrong placem but here goes!

Paginiation, or similar

     
7:36 pm on Oct 13, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Feb 22, 2009
posts:1396
votes: 0


Hello there, people of the forum!

I have a project that I have written in VB6 (which isn't too dissimilar to .NET), and I have asked my work colleagues this, and I got blank looks.. The issue I have is this:-

I would like to create a form (window) which holds the contents of my database, I would like to use form_OnLoad() to get all records from my database, then have the 'type' column selectable/clickable, so that when I double click on it, it opens a new window with the contents of all the data relevant to that 'type' id..

I hope as this makes sense, I would have had this written in half a day if it was in html/php/mysql, but the powers that be are insisting that I do this in VB6/.NET

Any ideas please!

Cheers,
MRb
5:52 pm on Oct 14, 2010 (gmt 0)

Administrator

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month

joined:Jan 14, 2004
posts:864
votes: 3


This is a very common application type which vb6 was very good at. But vb6 documentation is getting harder and harder to find now days, along with people who know its ins and outs. I haven't done any new programing in VB6 since the late 1990's.

The following links are for Dot.Net Window applications, which I can find more links to and some samples for you to look at.

Customizing the Windows Forms DataGrid (vb.net)
[msdn.microsoft.com...]

Windows Forms: A Modern-Day Programming Model for Writing GUI Applications
[msdn.microsoft.com...]
6:11 pm on Oct 14, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Feb 22, 2009
posts:1396
votes: 0


Hi there Ocean10000,

Thanks for the links, I shall see what I can do with them, as I have only got VB6 at present, I may as well get the .NET version from the Microsoft site and see if I can adapt to the new way of doing things... It can't be that hard can it? A colleague of mine also brought me a C# book in today and remarked, "You might find this a good bedtime read..."

We shall see.

[EDIT] The first link is the most useful, pretty in depth introduction to 'DataGrid' which looks pretty much what I was after, with the exception of there being no first|previous|next|last type buttons there...

Cheers,
MRb