Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 22nd, 2007, 07:48 AM
Authorized User
 
Join Date: Jan 2007
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem in VB.NET?

Actually i have coded this whole thing in console and displaying the output as a table format in HTML.my output is something like this in HTML page:

Deleted Items

From: Subject: Received: Size: No.of Attachment(s):
bhavna final 1/12/2007 2:34:14 PM 4949 0

Inbox
From: Subject: Received: Size: No.of Attachment(s):
bhavna atmttest 1/22/2007 12:52:32 PM 6449 1

Now i want that if suppose i m having hundreds of records in my inbox then i have to allow paging like 10 or 20 records at a time.So is the datagrid is the right option for tht or i hv to go with the frames of the HTML?

 The VB.NET code for displaying folderin an HTML table is:


  'Looping all the subfolders
 For j = 1 To 2
                sfolder = oFol.Item(j)
                s.WriteLine(sfolder.Name)

 'Looping the Mailitems of the Subfolders with the sender's name, Subject,Recevied Time,Size of the mail

Dim i As Integer
                For i = oItems.Count To 1 Step -1
   s.WriteLine(oMail.Subject)
                 Next
Next
this "s" is the stream for displaying data in HTML page.from outer for loop I am displaying the folder names and from inner loop I am displaying the contents of that folders .
Now I want to do paging since in case of hundreds and thousands of msgs in my inbox.
So I think datagrid is the best option for tht
 but I am getting how to populate the datagrid according to this and do paging in tht.And i hv no idea how to do it?









Similar Threads
Thread Thread Starter Forum Replies Last Post
vb.net dropdownlist problem msbsam Visual Studio 2005 0 November 21st, 2007 06:25 AM
Problem Converting C# to VB.NET in ASP.NET kwilliams ASP.NET 2.0 Basics 0 February 9th, 2007 06:22 PM
Problem with Exercise in Beg. asp.net for VB.net! mrfella71 BOOK: Beginning ASP.NET 1.0 1 October 23rd, 2005 12:06 PM
problem in using this code in Vb.Net arctica82 VB.NET 2002/2003 Basics 1 April 15th, 2005 03:05 PM
VB.net Outlook Com Problem Uriel VB.NET 2002/2003 Basics 0 July 29th, 2004 04:41 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.