Click here to Skip to main content
15,886,035 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to make a Setup of .Net application? Pin
Manas Bhardwaj2-Jun-09 0:00
professionalManas Bhardwaj2-Jun-09 0:00 
QuestionHow to change the dragging bar's background of splitcontainer in C#? Pin
mctramp1681-Jun-09 23:27
mctramp1681-Jun-09 23:27 
AnswerRe: How to change the dragging bar's background of splitcontainer in C#? Pin
mctramp1682-Jun-09 1:41
mctramp1682-Jun-09 1:41 
GeneralRe: How to change the dragging bar's background of splitcontainer in C#? Pin
Henry Minute2-Jun-09 2:03
Henry Minute2-Jun-09 2:03 
Question[Message Deleted] Pin
ahmed mega1-Jun-09 22:34
ahmed mega1-Jun-09 22:34 
AnswerRe: updating data from datagridview Pin
monstale1-Jun-09 22:35
monstale1-Jun-09 22:35 
GeneralRe: updating data from datagridview Pin
ahmed mega2-Jun-09 1:37
ahmed mega2-Jun-09 1:37 
Questionupdating data from datagridview Pin
ahmed mega1-Jun-09 22:13
ahmed mega1-Jun-09 22:13 
hello every body,

i use a datagrid view bounded to a datasource, but i can't update the changes happens in it.
although, i've added the insert, update & delete queries i also use a dataset with a tableAdapter .

and this what iam doing in the onSaveButton_Click:

try
{
dataGridView1.EndEdit();
this.visitorTableAdapter.Update(this.omvDataSet.visitor);
omvDataSet.AcceptChanges();
MessageBox.Show("Changes saved successfully");
}
catch (Exception ex)
{ MessageBox.Show(ex.Message); }
so, what is the right solution to accomplish what i want.

Regards
AnswerRe: updating data from datagridview Pin
monstale1-Jun-09 22:31
monstale1-Jun-09 22:31 
GeneralRe: updating data from datagridview Pin
ahmed mega2-Jun-09 1:43
ahmed mega2-Jun-09 1:43 
AnswerRe: updating data from datagridview Pin
monstale2-Jun-09 2:15
monstale2-Jun-09 2:15 
GeneralRe: updating data from datagridview Pin
ahmed mega3-Jun-09 4:23
ahmed mega3-Jun-09 4:23 
QuestionInstalling Windows assembly in GAC Pin
AmmySA1-Jun-09 22:12
AmmySA1-Jun-09 22:12 
AnswerRe: Installing Windows assembly in GAC Pin
monstale1-Jun-09 22:34
monstale1-Jun-09 22:34 
AnswerRe: Installing Windows assembly in GAC Pin
Luc Pattyn2-Jun-09 0:45
sitebuilderLuc Pattyn2-Jun-09 0:45 
JokeRe: Installing Windows assembly in GAC Pin
0x3c02-Jun-09 1:29
0x3c02-Jun-09 1:29 
GeneralRe: Installing Windows assembly in GAC Pin
Luc Pattyn2-Jun-09 1:41
sitebuilderLuc Pattyn2-Jun-09 1:41 
QuestionA* Searching Pin
amir_ahmad_yaghoobi1-Jun-09 22:06
amir_ahmad_yaghoobi1-Jun-09 22:06 
AnswerRe: A* Searching Pin
musefan1-Jun-09 22:13
musefan1-Jun-09 22:13 
AnswerRe: A* Searching Pin
Pete O'Hanlon1-Jun-09 23:51
mvePete O'Hanlon1-Jun-09 23:51 
GeneralWelcome in the CP's Memorable Quotes list, again. Pin
CPallini2-Jun-09 0:22
mveCPallini2-Jun-09 0:22 
AnswerRe: A* Searching Pin
Christian Graus2-Jun-09 0:30
protectorChristian Graus2-Jun-09 0:30 
Questionhow can i find number of days in a given year and month Pin
Ahmed Khallaf1-Jun-09 21:12
Ahmed Khallaf1-Jun-09 21:12 
AnswerRe: how can i find number of days in a given year and month Pin
Rajesh R Subramanian1-Jun-09 21:31
professionalRajesh R Subramanian1-Jun-09 21:31 
GeneralRe: how can i find number of days in a given year and month [modified] Pin
Ahmed Khallaf1-Jun-09 21:40
Ahmed Khallaf1-Jun-09 21:40 

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.