Click here to Skip to main content
15,916,280 members
Home / Discussions / Database
   

Database

 
Generalquick newline question for a noob Pin
likefood8-Jan-08 10:13
likefood8-Jan-08 10:13 
GeneralRe: quick newline question for a noob Pin
likefood8-Jan-08 15:53
likefood8-Jan-08 15:53 
GeneralRe: quick newline question for a noob Pin
likefood8-Jan-08 18:09
likefood8-Jan-08 18:09 
QuestionHow to Create the Following Procedure Pin
Vimalsoft(Pty) Ltd8-Jan-08 6:59
professionalVimalsoft(Pty) Ltd8-Jan-08 6:59 
AnswerRe: How to Create the Following Procedure Pin
Vimalsoft(Pty) Ltd8-Jan-08 8:47
professionalVimalsoft(Pty) Ltd8-Jan-08 8:47 
GeneralRe: How to Create the Following Procedure Pin
Vimalsoft(Pty) Ltd8-Jan-08 9:28
professionalVimalsoft(Pty) Ltd8-Jan-08 9:28 
Questionhow to write a stored procedure that it holds multiple rows Pin
jagan1238-Jan-08 2:31
jagan1238-Jan-08 2:31 
AnswerRe: how to write a stored procedure that it holds multiple rows Pin
pmarfleet8-Jan-08 2:40
pmarfleet8-Jan-08 2:40 
Generalcopy of sql server database Pin
eyeseetee8-Jan-08 0:50
eyeseetee8-Jan-08 0:50 
AnswerRe: copy of sql server database Pin
Arjan Einbu8-Jan-08 2:29
Arjan Einbu8-Jan-08 2:29 
GeneralRe: copy of sql server database Pin
veereshIndia13-Jan-08 20:05
veereshIndia13-Jan-08 20:05 
GeneralRe: copy of sql server database Pin
veereshIndia13-Jan-08 20:30
veereshIndia13-Jan-08 20:30 
QuestionSQL Profiler for Sybase? Pin
devvvy7-Jan-08 23:29
devvvy7-Jan-08 23:29 
QuestionHow do I enumerate tables in a given database? Pin
devvvy7-Jan-08 18:57
devvvy7-Jan-08 18:57 
AnswerRe: How do I enumerate tables in a given database? Pin
Giorgi Dalakishvili7-Jan-08 19:23
mentorGiorgi Dalakishvili7-Jan-08 19:23 
QuestionLINQ and InsertOnSubmit Pin
TerryHam7-Jan-08 18:01
TerryHam7-Jan-08 18:01 
I created a very simple app to better understand LINQ and WPF, I'm using the Northwind db and the table Employee. In the code behind for the window in the constructor I have the following code.

public Window1()
{
InitializeComponent();

dc = new NorthWindDataContext();

this.DataContext = dc.Employees;

}

In the XAML file a have a combobox that lists each record in the table, there are also four Textbox fields, a New and a Save button, the app runs OK, I can make changes to existing records OK, but I don't understand how to add new records. I would like to be able to click the New button, the textboxes clear allowing me to enter new data, I click the Save button and the record is written to the db.

How would I do this ?
GeneralOptimizing Query - Order by inner joined value Pin
gnjunge7-Jan-08 4:09
gnjunge7-Jan-08 4:09 
GeneralRe: Optimizing Query - Order by inner joined value Pin
Michael Potter7-Jan-08 10:11
Michael Potter7-Jan-08 10:11 
GeneralRe: Optimizing Query - Order by inner joined value Pin
gnjunge7-Jan-08 20:46
gnjunge7-Jan-08 20:46 
GeneralRe: Optimizing Query - Order by inner joined value Pin
andyharman8-Jan-08 0:25
professionalandyharman8-Jan-08 0:25 
GeneralRe: Optimizing Query - Order by inner joined value Pin
gnjunge8-Jan-08 1:59
gnjunge8-Jan-08 1:59 
GeneralRe: Optimizing Query - Order by inner joined value Pin
andyharman8-Jan-08 6:24
professionalandyharman8-Jan-08 6:24 
GeneralRe: Optimizing Query - Order by inner joined value Pin
gnjunge8-Jan-08 8:16
gnjunge8-Jan-08 8:16 
GeneralRe: Optimizing Query - Order by inner joined value Pin
andyharman9-Jan-08 2:45
professionalandyharman9-Jan-08 2:45 
GeneralRe: Optimizing Query - Order by inner joined value Pin
gnjunge9-Jan-08 7:11
gnjunge9-Jan-08 7:11 

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.