Click here to Skip to main content
15,895,471 members
Home / Discussions / C#
   

C#

 
QuestionError in save file ... Pin
mostafa_h30-Nov-09 19:01
mostafa_h30-Nov-09 19:01 
AnswerRe: Error in save file ... Pin
souidi abderrahman30-Nov-09 21:01
souidi abderrahman30-Nov-09 21:01 
GeneralRe: Error in save file ... Pin
mostafa_h30-Nov-09 21:17
mostafa_h30-Nov-09 21:17 
AnswerRe: Error in save file ... Pin
CikaPero1-Dec-09 22:42
CikaPero1-Dec-09 22:42 
Questionfilling a dataGridView, editing and overwriting [modified] Pin
Emmet_Brown30-Nov-09 18:22
Emmet_Brown30-Nov-09 18:22 
AnswerRe: filling a dataGridView, editing and overwriting Pin
dan!sh 30-Nov-09 19:20
professional dan!sh 30-Nov-09 19:20 
GeneralRe: filling a dataGridView, editing and overwriting Pin
Emmet_Brown30-Nov-09 19:35
Emmet_Brown30-Nov-09 19:35 
GeneralRe: filling a dataGridView, editing and overwriting Pin
dan!sh 30-Nov-09 21:20
professional dan!sh 30-Nov-09 21:20 
In the button click, you are again fetching the data from the database. Here, you should be using the dataset you have modified.

Then, you have not mentioned any update command for your adapter so it will not know what and where to update. You should:

1. Use the same dataset that you have used to fetch the data
2. Use same adapter as earlier and set its update command.

Also, read the description of the SQLDataAdapter.Update method from MSDN. It should be having some sample code that will help you understand.

50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

GeneralRe: filling a dataGridView, editing and overwriting Pin
Emmet_Brown30-Nov-09 21:29
Emmet_Brown30-Nov-09 21:29 
AnswerRe: filling a dataGridView, editing and overwriting Pin
souidi abderrahman30-Nov-09 20:59
souidi abderrahman30-Nov-09 20:59 
GeneralRe: filling a dataGridView, editing and overwriting Pin
Emmet_Brown30-Nov-09 21:08
Emmet_Brown30-Nov-09 21:08 
AnswerRe: filling a dataGridView, editing and overwriting Pin
souidi abderrahman30-Nov-09 21:37
souidi abderrahman30-Nov-09 21:37 
GeneralRe: filling a dataGridView, editing and overwriting Pin
Emmet_Brown30-Nov-09 21:42
Emmet_Brown30-Nov-09 21:42 
QuestionCreate playlist and play using windows media player control Pin
yesu prakash30-Nov-09 18:03
yesu prakash30-Nov-09 18:03 
AnswerRe: Create playlist and play using windows media player control Pin
dan!sh 30-Nov-09 19:29
professional dan!sh 30-Nov-09 19:29 
QuestionObject array problem Pin
CrazyCoder2630-Nov-09 17:53
CrazyCoder2630-Nov-09 17:53 
AnswerRe: Object array problem Pin
dan!sh 30-Nov-09 18:25
professional dan!sh 30-Nov-09 18:25 
GeneralRe: Object array problem Pin
CrazyCoder2630-Nov-09 18:29
CrazyCoder2630-Nov-09 18:29 
GeneralRe: Object array problem Pin
dan!sh 30-Nov-09 18:43
professional dan!sh 30-Nov-09 18:43 
AnswerRe: Object array problem Pin
Blue_Boy30-Nov-09 20:55
Blue_Boy30-Nov-09 20:55 
GeneralRe: Object array problem Pin
vtchris-peterson1-Dec-09 7:20
vtchris-peterson1-Dec-09 7:20 
GeneralRe: Object array problem Pin
CikaPero2-Dec-09 5:05
CikaPero2-Dec-09 5:05 
GeneralRe: Object array problem Pin
Blue_Boy2-Dec-09 6:58
Blue_Boy2-Dec-09 6:58 
AnswerRe: Object array problem Pin
ThatsAlok30-Nov-09 22:42
ThatsAlok30-Nov-09 22:42 
AnswerRe: Object array problem Pin
Shameel1-Dec-09 6:54
professionalShameel1-Dec-09 6:54 

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.