Click here to Skip to main content
15,899,754 members
Home / Discussions / Database
   

Database

 
AnswerRe: MS SQL 2005 - merge new rows and tables Pin
Robin_Roy30-Jul-09 16:40
Robin_Roy30-Jul-09 16:40 
AnswerRe: MS SQL 2005 - merge new rows and tables Pin
Mycroft Holmes30-Jul-09 16:54
professionalMycroft Holmes30-Jul-09 16:54 
Question.NET DataGridView question Pin
Art Frank30-Jul-09 7:56
Art Frank30-Jul-09 7:56 
AnswerRe: .NET DataGridView question Pin
Robin_Roy30-Jul-09 16:35
Robin_Roy30-Jul-09 16:35 
AnswerRe: .NET DataGridView question Pin
Mycroft Holmes30-Jul-09 16:48
professionalMycroft Holmes30-Jul-09 16:48 
GeneralRe: .NET DataGridView question Pin
Art Frank31-Jul-09 9:18
Art Frank31-Jul-09 9:18 
GeneralRe: .NET DataGridView question Pin
Art Frank31-Jul-09 9:25
Art Frank31-Jul-09 9:25 
GeneralRe: .NET DataGridView question Pin
Mycroft Holmes31-Jul-09 12:42
professionalMycroft Holmes31-Jul-09 12:42 
Art Frank wrote:
There appear to be a few different ways


This my friend is an understatement, I usually use 2 data sources, a datatable/view or a List<myclass> either bound to a bindingsource and the bindingsource as the datasource to the table. I then hide any columns in the DGV I don't like, I have a base rule that the recordID is ALWAYS in column0 and this is almost always hidden.

On the dblclick, grab the selected row.cell[0].value and pass it to the dialogs constructor. If you are using a List<myclass> you can pass the instance of MyClass.

I have a Utils class that does all the binding and formatting for me so I dont even think about it. It has some requirements like controls are named and prefixed correctly but I have been doing that for so long it is automatic.

Never underestimate the power of human stupidity
RAH

QuestionHow to protect sqlserver database from unauthorized access Pin
shine_paravur30-Jul-09 0:40
shine_paravur30-Jul-09 0:40 
AnswerRe: How to protect sqlserver database from unauthorized access Pin
dan!sh 30-Jul-09 0:47
professional dan!sh 30-Jul-09 0:47 
AnswerRe: How to protect sqlserver database from unauthorized access Pin
Abhijit Jana30-Jul-09 8:29
professionalAbhijit Jana30-Jul-09 8:29 
AnswerRe: How to protect sqlserver database from unauthorized access Pin
Robin_Roy30-Jul-09 16:45
Robin_Roy30-Jul-09 16:45 
Question[Message Deleted] Pin
Balaji_rcs30-Jul-09 0:09
professionalBalaji_rcs30-Jul-09 0:09 
AnswerRe: Checklist for migrating Sql Server 2000 based websites to 2005 based websites Pin
Ashfield30-Jul-09 1:58
Ashfield30-Jul-09 1:58 
AnswerRe: Checklist for migrating Sql Server 2000 based websites to 2005 based websites Pin
Abhijit Jana30-Jul-09 8:32
professionalAbhijit Jana30-Jul-09 8:32 
AnswerRe: Checklist for migrating Sql Server 2000 based websites to 2005 based websites Pin
Robin_Roy30-Jul-09 16:50
Robin_Roy30-Jul-09 16:50 
QuestionNeed Checklist for migrating Sql Server 2000 based websites to 2005 based websites Pin
Balaji_rcs30-Jul-09 0:06
professionalBalaji_rcs30-Jul-09 0:06 
AnswerRe: Need Checklist for migrating Sql Server 2000 based websites to 2005 based websites Pin
Jerry Hammond30-Jul-09 3:09
Jerry Hammond30-Jul-09 3:09 
AnswerRe: Need Checklist for migrating Sql Server 2000 based websites to 2005 based websites Pin
Robin_Roy30-Jul-09 16:52
Robin_Roy30-Jul-09 16:52 
QuestionIs it possible to design Custom Constraints ??? Pin
www.Developerof.NET29-Jul-09 22:15
www.Developerof.NET29-Jul-09 22:15 
AnswerRe: Is it possible to design Custom Constraints ??? Pin
Robin_Roy30-Jul-09 16:54
Robin_Roy30-Jul-09 16:54 
QuestionJoin two tables of different servers in SSIS Pin
CodalcoholicNBrainy29-Jul-09 7:12
CodalcoholicNBrainy29-Jul-09 7:12 
AnswerRe: Join two tables of different servers in SSIS Pin
Abhijit Jana29-Jul-09 7:19
professionalAbhijit Jana29-Jul-09 7:19 
GeneralRe: Join two tables of different servers in SSIS Pin
CodalcoholicNBrainy29-Jul-09 7:25
CodalcoholicNBrainy29-Jul-09 7:25 
GeneralRe: Join two tables of different servers in SSIS Pin
Abhijit Jana31-Jul-09 9:45
professionalAbhijit Jana31-Jul-09 9:45 

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.