Click here to Skip to main content
15,889,876 members
Home / Discussions / Database
   

Database

 
Questiondeleting an sql database Pin
Keshav V. Kamat13-Mar-07 23:16
Keshav V. Kamat13-Mar-07 23:16 
AnswerRe: deleting an sql database Pin
Krish - KP13-Mar-07 23:47
Krish - KP13-Mar-07 23:47 
AnswerRe: deleting an sql database Pin
Hayder Marzouk16-Mar-07 3:53
Hayder Marzouk16-Mar-07 3:53 
QuestionDatabase Roadmap Pin
Brendan Vogt13-Mar-07 22:33
Brendan Vogt13-Mar-07 22:33 
AnswerRe: Database Roadmap Pin
N a v a n e e t h14-Mar-07 4:22
N a v a n e e t h14-Mar-07 4:22 
GeneralRe: Database Roadmap Pin
Brendan Vogt14-Mar-07 20:19
Brendan Vogt14-Mar-07 20:19 
QuestionWhich is the Best method to implement search Pin
N a v a n e e t h13-Mar-07 22:31
N a v a n e e t h13-Mar-07 22:31 
QuestionSave changes from the dataset to the database Pin
JacquesDP13-Mar-07 22:04
JacquesDP13-Mar-07 22:04 
Hi all, I started playing with the ADO.NET, so what I did was the following, added a dataset to my solution, draged the table from the database onto the dataset via the Database explorer, then I created a new form, set the dataset to GridView in the datasource explorer and then dragged the dataset from the datasource explorer onto the form, it then created the grid and all the columns etc. Now for my problem, it loads the default values in the database table in the grid, I can then modify the values and create new values and they are all stored in the dataset, but never updates to the table, so if I close the program and opens it none of the changes made and new values are there. So how can I save the values from the dataset to the database.

Here's the code that I use to save the changes made.

private void productsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
this.Validate();
this.productsBindingSource.EndEdit();
this.productsTableAdapter.Update(this.productsDataSet.Products);

}




He who laughs last is a bit on the slow side

AnswerRe: Save changes from the dataset to the database Pin
N a v a n e e t h13-Mar-07 22:27
N a v a n e e t h13-Mar-07 22:27 
GeneralRe: Save changes from the dataset to the database Pin
JacquesDP13-Mar-07 22:33
JacquesDP13-Mar-07 22:33 
QuestionDatabase compare tool ??? Pin
kaliem13-Mar-07 21:26
kaliem13-Mar-07 21:26 
QuestionRe: Database compare tool ??? Pin
N a v a n e e t h13-Mar-07 22:29
N a v a n e e t h13-Mar-07 22:29 
AnswerRe: Database compare tool ??? Pin
kaliem13-Mar-07 22:49
kaliem13-Mar-07 22:49 
AnswerRe: Database compare tool ??? Pin
kaliem13-Mar-07 22:51
kaliem13-Mar-07 22:51 
AnswerRe: Database compare tool ??? Pin
Scott Serl14-Mar-07 9:49
Scott Serl14-Mar-07 9:49 
QuestionSQL Server 2005 data import - best practices? Pin
Tobias Schoenig13-Mar-07 21:25
Tobias Schoenig13-Mar-07 21:25 
AnswerRe: SQL Server 2005 data import - best practices? Pin
Colin Angus Mackay13-Mar-07 22:16
Colin Angus Mackay13-Mar-07 22:16 
GeneralRe: SQL Server 2005 data import - best practices? Pin
Tobias Schoenig13-Mar-07 22:46
Tobias Schoenig13-Mar-07 22:46 
GeneralRe: SQL Server 2005 data import - best practices? Pin
Colin Angus Mackay13-Mar-07 22:52
Colin Angus Mackay13-Mar-07 22:52 
GeneralRe: SQL Server 2005 data import - best practices? Pin
Tobias Schoenig13-Mar-07 23:00
Tobias Schoenig13-Mar-07 23:00 
GeneralRe: SQL Server 2005 data import - best practices? Pin
Colin Angus Mackay13-Mar-07 23:48
Colin Angus Mackay13-Mar-07 23:48 
GeneralRe: SQL Server 2005 data import - best practices? Pin
Tobias Schoenig14-Mar-07 0:02
Tobias Schoenig14-Mar-07 0:02 
GeneralRe: SQL Server 2005 data import - best practices? Pin
Colin Angus Mackay14-Mar-07 22:51
Colin Angus Mackay14-Mar-07 22:51 
QuestionError while uploading using OleDb Pin
jithbiz003313-Mar-07 21:14
jithbiz003313-Mar-07 21:14 
AnswerRe: Error while uploading using OleDb Pin
Colin Angus Mackay13-Mar-07 22:08
Colin Angus Mackay13-Mar-07 22:08 

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.