troubleshooting Question

dbml file - newbie picking up a web project that needs guidance on this tech

Avatar of websss
websssFlag for Kenya asked on
ASP.NETC#
1 Comment1 Solution281 ViewsLast Modified:
Hi

I'm a traditional webforms asp.net 2.0 developer who uses ado.net and sql server
i've inherited a solution with code I'm trying to figure out and uses tech i've never used before

I wont go into too much detail but i have the following
Contacts.dbml file with what looks like 4 diagrams of the database tables:
Contacts
Departments
Locations
Divisions

I also have an ascx file with a linq data source that currently points to:
Contacts.ContactsDataContext
on the next screen of the wizard you select the table (and you choose from one of the 4 tables i mentioned)

I also have a grid which allows you to view and edit the data in the table

What i need to do now, is store the which Divisions are at each Location
I have manually added a 5th table in SQL Express called dbo.LocationDivisions

I need the grid to show all records in dbo.LOCATIONS
clicking EDIT will shows all the dbo.DIVISIONS as checkboxes, and you tick which divisions you wish to be assigned to that Location, and it gets saved in the new dbo.LocationDivisions table

However, i've no idea where to start with this new tech

I assume i need to focus a lot of attention on the DBML file, but have not idea what i'm doing here
Can someone help me get through this, and advise me what steps i need to take particualry on the dbml side as i'm new to this bit
ASKER CERTIFIED SOLUTION
Paul Jackson
Software Engineer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2011

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros