Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
With Visual C# .NET, can I visually create dynamic tables by simply selecting connections and commands or do I still have to hand code like the old ASP way such as:
<%= MyRecordset.Fields("MyField").Value %>

?

Windows XP Professional, Visual Studio .NET Enterprise Architect, Dell Dimension 8100, 15" TFT Monitor, Intel Pentium 4 CPU 1700MHz, 40GB Hard Disk, nVidia GeForce 3, NEC CD-RW 16x, Samsung DVD 16x.
  • *Experts*
Posted

I'm no ASP.NET expert - haven't used it for about 9 months. But if I remember right and I'm not getting too confused, you can use a grid control. It's not like an embedded object that requires IE. Instead, it was a server-side control that spits out the proper HTML for you so that you don't have to worry about IE, Netscape, etc. It will add attributes and elements as needed to format the table however you tell it (colors, columns to include, etc.). It even supports paging (show 10 records at a time with Next/Prev/Jump-To-Page-X) through server-side round trips (of course).

 

We use(d) it for awhile. I moved on to another project in WinForms so I can't say how well it's worked 9 months into the project. Like anything, I'm sure they have their uses. If you have old ASP functions that build tables from Recordsets it may be easier to convert that code to ASP.NET. But I'd check out the server-side controls to see what they offer.

 

-nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...