C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 08-03-2005, 12:14 PM   #1
Registered User
 
Join Date: May 2004
Posts: 215
datbases and c#

I'm trying to make this thing thats hard coded dynamic and trying to convert it from coldfusion to C#. In my program Im trying to get information from a field called 'fields' in the database called 'Exporter'. The only thing is that for every row in the field called 'fields' it contains different information. Lets say the id is equal to '1001', then the 'fields' field would contain a bunch of fields like this 'plan_id, pcode, relcode, e_over, lastname, firstname, coveragetype' etc etc etc. But I only want to get everything BUT the last and first names. Is there a way to do that dynamically, to get the list from the fields field?
By the way they are all different, if the id was equal to '1002' he would have something like "action_id, lastname, coverage type, group_id" but then i would only want to get the action_id and group _id from that list. They arent equal to anything, they are just merely strings that I would like to get from the field 'fields'.

thanks :-)
osal is offline   Reply With Quote
Old 08-03-2005, 12:49 PM   #2
Registered User
 
Join Date: Jan 2004
Posts: 37
What is the format of the data that is in the "fields" field? Text? If so, how is it formatted.

Les
CompURocket is offline   Reply With Quote
Old 08-05-2005, 03:02 PM   #3
Registered User
 
Join Date: May 2004
Posts: 215
Hey sorry it took me a while to get back to you, instead i created a new database with those fields, and I fixed it, thanks anyways though!
osal is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump


All times are GMT -6. The time now is 01:48 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22