Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 19th, 2007, 03:46 AM
Authorized User
 
Join Date: Oct 2006
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default One Problem

Hi Frnds,

                I am having two fields in my database. Those fields are like +A+B+C++, +1+2++++. I need to extract all the characters excluding +(which I have already done using SPLIT function). Now I need to arrange those data in a table like .....

Name Age
------- -------
A 1
B 2
C

If no characters are there in first string(i.e.+A+B+C++), that table will not be displayed at all. Can you please give a solution for this problem with some sample code??

Thanks in Advance...





 
Old January 19th, 2007, 11:01 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Well

There can be many ways around, one simplest way could be that you split the values and store them in a datable, and then bind it to a datagrid....

Regards
Mike

Fortune favours the brave, so don't regret on missed oppurtunities.









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