Converting datatypes, not sure if this is the right direction?

This is a discussion on "Converting datatypes, not sure if this is the right direction?" within the Databases section. This forum, and the thread "Converting datatypes, not sure if this is the right direction? are both part of the Program Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Databases

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Sep 28th, 2007, 08:33
New Member
Join Date: Sep 2007
Location: London
Age: 29
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Converting datatypes, not sure if this is the right direction?

New to developing. We are working on a project using asp.net and c# where data is pulled out of an sql database via multiple tables and displayed via a details view. The user can then update the information and submit it back to the database.

The problem we are encountering is:

Within the database there are multiple tables joined by a FK for example there is a Service Group ID column with the Records main table linked to the Service Group table which holds an ID column and a Service Group column so ID1 = Service Group A. Any records within the main table which has an ID of 1, is shows as Service Group A in the details view.

What we wold like to do is when a user updates the Service Group via a drop down, the ID goes into the main table rather than the Service Group name so if they select Service Group B, an ID of 2 goes into the Records main table. We aren't sure how to go about doing the conversion of Service Group B to an ID 2? We have been looking at converting datatypes but don't think it is right for what we are trying to do,

Any suggestions would be gratefully recieved Apologies if this is in the wrong forum.

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Sep 28th, 2007, 15:59
alexgeek's Avatar
Moderator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,812
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: Converting datatypes, not sure if this is the right direction?

mySQL or msSQL?
i think your in the wrong forum
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opera rtl direction marSoul Web Page Design 0 Mar 1st, 2008 20:44
CSS Padding with rtl direction marSoul Web Page Design 0 Jan 23rd, 2008 14:14
Which Direction Should I Continue & Why? threelefts Free Web Site Critique 11 Nov 8th, 2007 01:21
point me in the right direction camcool21 PHP Forum 1 Jan 24th, 2007 21:15
A Little Direction - Please just_the_basix ASP.NET Forum 1 Apr 22nd, 2004 05:37


All times are GMT. The time now is 22:08.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42