Click here to Skip to main content
16,014,734 members
Home / Discussions / Database
   

Database

 
AnswerRe: Returning Records with No Value (not null) if a specific field Pin
Colin Angus Mackay25-May-07 8:50
Colin Angus Mackay25-May-07 8:50 
GeneralRe: Returning Records with No Value (not null) if a specific field Pin
Dave Herren25-May-07 15:26
Dave Herren25-May-07 15:26 
GeneralRe: Returning Records with No Value (not null) if a specific field Pin
Colin Angus Mackay26-May-07 0:52
Colin Angus Mackay26-May-07 0:52 
GeneralRe: Returning Records with No Value (not null) if a specific field Pin
Dave Herren26-May-07 2:59
Dave Herren26-May-07 2:59 
AnswerRe: Returning Records with No Value (not null) if a specific field Pin
Senthil_M25-May-07 22:56
Senthil_M25-May-07 22:56 
QuestionStore procedure Pin
thanhphuong170325-May-07 6:07
thanhphuong170325-May-07 6:07 
AnswerRe: Store procedure Pin
Colin Angus Mackay25-May-07 8:44
Colin Angus Mackay25-May-07 8:44 
QuestionAdding New Records - failed validation Pin
User 380857925-May-07 5:42
User 380857925-May-07 5:42 
I'm having difficulty setting up my databinding to allow for a new
record to be inserted. On one side of my form I have a grid with
just a ID and a name (lets say we're doing with People entities) and
on the other is a panel with say 10 diferent textboxes for various
fields (address, phone, etc..) Both the grid, and all detail
textboxes are bound to a bindingsource with a dataview as it's
datasource.

I want the user to be able to click a "New" button, add a new row to
the underlying datasource with it as the current selected row, in edit
mode. The user clicks new, and can begin entering data into the
various textboxes that are bound to the datasource.

My background datatable has various non-null, type, constraint
validations that fail for a new row. I've discovered I can suppress
this with DataTable.BeginLoadData(), but it just doesn't seem wise. I
need to add a "breaking" row to the table, but as soon as a call
Table.Rows.Add() (without the beginloaddata()) it fails immediately.

I can't seem to find an example that does not use a grid control for
in-line editing, or where you do not have the field values ahead of
time. Many examples and articles show this problem, but they require
non-bound controls the user populate and THEN click add new, then they
add the row with the appropriate values - this does not meet my
requirements.
QuestionDatatype column type in SQL Server 2000 Pin
Senthil_M25-May-07 4:08
Senthil_M25-May-07 4:08 
AnswerRe: Datatype column type in SQL Server 2000 Pin
kubben25-May-07 4:54
kubben25-May-07 4:54 
GeneralRe: Datatype column type in SQL Server 2000 Pin
Senthil_M25-May-07 22:43
Senthil_M25-May-07 22:43 
GeneralRe: Datatype column type in SQL Server 2000 Pin
kubben26-May-07 0:25
kubben26-May-07 0:25 
GeneralRe: Datatype column type in SQL Server 2000 Pin
Senthil_M26-May-07 1:12
Senthil_M26-May-07 1:12 
GeneralRe: Datatype column type in SQL Server 2000 Pin
kubben26-May-07 2:55
kubben26-May-07 2:55 
QuestionAdding a column with checkboxes in SQL Pin
reegan4125-May-07 2:45
reegan4125-May-07 2:45 
AnswerRe: Adding a column with checkboxes in SQL Pin
Mark J. Miller25-May-07 7:03
Mark J. Miller25-May-07 7:03 
AnswerRe: Adding a column with checkboxes in SQL Pin
Expert Coming25-May-07 8:17
Expert Coming25-May-07 8:17 
Questionreplication Pin
robmays25-May-07 1:22
robmays25-May-07 1:22 
QuestionIN Clause passing an array to a typed dataset Pin
steve_rm24-May-07 23:40
steve_rm24-May-07 23:40 
AnswerRe: IN Clause passing an array to a typed dataset Pin
Mark J. Miller25-May-07 6:57
Mark J. Miller25-May-07 6:57 
QuestionHow to populate dataset using VIews Pin
kumarjammula24-May-07 18:40
kumarjammula24-May-07 18:40 
QuestionSQL Query Pin
suketh24-May-07 17:45
suketh24-May-07 17:45 
AnswerRe: SQL Query Pin
Harini N K24-May-07 20:08
Harini N K24-May-07 20:08 
AnswerRe: SQL Query Pin
shally_7924-May-07 23:40
shally_7924-May-07 23:40 
AnswerRe: SQL Query Pin
raj@code26-May-07 0:44
raj@code26-May-07 0:44 

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.