Click here to Skip to main content
15,894,539 members
Home / Discussions / Database
   

Database

 
AnswerRe: Dynamic CrystalReports Pin
David Mujica30-Mar-10 3:22
David Mujica30-Mar-10 3:22 
GeneralRe: Dynamic CrystalReports Pin
Enobong Adahada30-Mar-10 22:01
Enobong Adahada30-Mar-10 22:01 
QuestionSQL IN statement or exists Pin
programmervb.netc++29-Mar-10 18:32
programmervb.netc++29-Mar-10 18:32 
AnswerRe: SQL IN statement or exists Pin
_Damian S_29-Mar-10 18:46
professional_Damian S_29-Mar-10 18:46 
AnswerRe: SQL IN statement or exists Pin
Mycroft Holmes29-Mar-10 19:11
professionalMycroft Holmes29-Mar-10 19:11 
AnswerRe: SQL IN statement or exists Pin
PIEBALDconsult31-Mar-10 8:38
mvePIEBALDconsult31-Mar-10 8:38 
GeneralRe: SQL IN statement or exists Pin
programmervb.netc++31-Mar-10 9:28
programmervb.netc++31-Mar-10 9:28 
QuestionReusable DataGridView and TableAdapter components in Lookup Tables? Pin
Bert Edens29-Mar-10 11:38
Bert Edens29-Mar-10 11:38 
Greetings, all...
I'm using Visual Studio 2008 Express with C# and SQL Server 2008 backend. I'm wanting to design a lookup table form where the user can select the table from a list of items on the left (probably a TreeView with a node for each entry), then have the grid on the right reflect the contents of that table (Users, Config settings, Security, etc.). But I don't have to have a table adapter for each table that could be on the form and would like to re-use the component by setting the properties on the fly. Has anyone done this before?
As a corrolary to this, if the user double-clicks on an entry in the grid, I would like to pop-up a form to allow the user to edit that entry. Again, I would like to use a single form to do this, without having a different form and table adapter, binding source, etc., for each possible table.
Has anyone done this before and can offer any suggestions? Or would the code to do it all run-time outweigh what it would take to just have separate table adapters and forms for each possible lookup table?
Thanks in advance!

- Bert
AnswerRe: Reusable DataGridView and TableAdapter components in Lookup Tables? Pin
Mycroft Holmes29-Mar-10 19:05
professionalMycroft Holmes29-Mar-10 19:05 
GeneralRe: Reusable DataGridView and TableAdapter components in Lookup Tables? Pin
Bert Edens30-Mar-10 4:06
Bert Edens30-Mar-10 4:06 
QuestionGroup ranking or row number Pin
Lash2029-Mar-10 9:29
Lash2029-Mar-10 9:29 
AnswerRe: Group ranking or row number Pin
programmervb.netc++29-Mar-10 9:36
programmervb.netc++29-Mar-10 9:36 
AnswerRe: Group ranking or row number Pin
Mycroft Holmes29-Mar-10 18:48
professionalMycroft Holmes29-Mar-10 18:48 
QuestionHow do you handle Dev DB vs Production DB? Pin
programmervb.netc++29-Mar-10 9:22
programmervb.netc++29-Mar-10 9:22 
AnswerRe: How do you handle Dev DB vs Production DB? Pin
PIEBALDconsult29-Mar-10 18:09
mvePIEBALDconsult29-Mar-10 18:09 
GeneralRe: How do you handle Dev DB vs Production DB? Pin
programmervb.netc++29-Mar-10 18:35
programmervb.netc++29-Mar-10 18:35 
AnswerRe: How do you handle Dev DB vs Production DB? Pin
Mycroft Holmes29-Mar-10 18:54
professionalMycroft Holmes29-Mar-10 18:54 
QuestionDatabase design question Pin
Alivemau529-Mar-10 4:00
Alivemau529-Mar-10 4:00 
AnswerRe: Database design question Pin
J4amieC29-Mar-10 4:56
J4amieC29-Mar-10 4:56 
GeneralRe: Database design question Pin
Alivemau529-Mar-10 5:01
Alivemau529-Mar-10 5:01 
GeneralRe: Database design question Pin
J4amieC29-Mar-10 5:17
J4amieC29-Mar-10 5:17 
GeneralRe: Database design question Pin
Alivemau529-Mar-10 6:24
Alivemau529-Mar-10 6:24 
GeneralRe: Database design question Pin
programmervb.netc++29-Mar-10 9:11
programmervb.netc++29-Mar-10 9:11 
AnswerRe: Database design question Pin
riced29-Mar-10 5:57
riced29-Mar-10 5:57 
GeneralRe: Database design question Pin
Alivemau529-Mar-10 6:30
Alivemau529-Mar-10 6:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.