Click here to Skip to main content
15,894,825 members
Home / Discussions / C#
   

C#

 
QuestionSaving the button click event state in database Pin
AMRITESH ASTHANA6-Oct-14 20:58
AMRITESH ASTHANA6-Oct-14 20:58 
AnswerRe: Saving the button click event state in database Pin
Mycroft Holmes6-Oct-14 21:20
professionalMycroft Holmes6-Oct-14 21:20 
GeneralRe: Saving the button click event state in database Pin
AMRITESH ASTHANA6-Oct-14 23:04
AMRITESH ASTHANA6-Oct-14 23:04 
GeneralRe: Saving the button click event state in database Pin
Pete O'Hanlon6-Oct-14 23:16
mvePete O'Hanlon6-Oct-14 23:16 
GeneralRe: Saving the button click event state in database Pin
Mycroft Holmes6-Oct-14 23:17
professionalMycroft Holmes6-Oct-14 23:17 
QuestionAbout Creating Forum with asp.net c# Pin
Member 105764386-Oct-14 4:20
Member 105764386-Oct-14 4:20 
AnswerRe: About Creating Forum with asp.net c# Pin
ZurdoDev6-Oct-14 5:07
professionalZurdoDev6-Oct-14 5:07 
AnswerRe: About Creating Forum with asp.net c# Pin
Eddy Vluggen6-Oct-14 8:25
professionalEddy Vluggen6-Oct-14 8:25 
AnswerRe: About Creating Forum with asp.net c# Pin
sankarsan parida7-Oct-14 18:36
professionalsankarsan parida7-Oct-14 18:36 
QuestionDisabling DataGridView Column Button after clicking it Pin
AMRITESH ASTHANA6-Oct-14 1:11
AMRITESH ASTHANA6-Oct-14 1:11 
AnswerRe: Disabling DataGridView Column Button after clicking it Pin
Eddy Vluggen6-Oct-14 8:21
professionalEddy Vluggen6-Oct-14 8:21 
GeneralRe: Disabling DataGridView Column Button after clicking it Pin
AMRITESH ASTHANA6-Oct-14 21:29
AMRITESH ASTHANA6-Oct-14 21:29 
GeneralRe: Disabling DataGridView Column Button after clicking it Pin
Eddy Vluggen6-Oct-14 22:31
professionalEddy Vluggen6-Oct-14 22:31 
QuestionHow to add my app written by C# into Microsoft word as add-in? Pin
nashalj5-Oct-14 21:23
nashalj5-Oct-14 21:23 
AnswerRe: How to add my app written by C# into Microsoft word as add-in? Pin
BillWoodruff5-Oct-14 21:56
professionalBillWoodruff5-Oct-14 21:56 
QuestionIssue regarding SQLDependency used in Windows Service Pin
Tridip Bhattacharjee5-Oct-14 21:09
professionalTridip Bhattacharjee5-Oct-14 21:09 
Questionwating for anser how to add record to database with gridjanus and bindingnavigator Pin
fatemehsoleimani5-Oct-14 11:53
fatemehsoleimani5-Oct-14 11:53 
AnswerRe: how to add record to database with gridjanus and bindingnavigator Pin
fatemehsoleimani5-Oct-14 20:19
fatemehsoleimani5-Oct-14 20:19 
GeneralRe: how to add record to database with gridjanus and bindingnavigator Pin
fatemehsoleimani5-Oct-14 21:49
fatemehsoleimani5-Oct-14 21:49 
GeneralRe: how to add record to database with gridjanus and bindingnavigator Pin
fatemehsoleimani5-Oct-14 22:50
fatemehsoleimani5-Oct-14 22:50 
GeneralRe: how to add record to database with gridjanus and bindingnavigator Pin
fatemehsoleimani6-Oct-14 3:43
fatemehsoleimani6-Oct-14 3:43 
AnswerRe: wating for anser how to add record to database with gridjanus and bindingnavigator Pin
fatemehsoleimani9-Oct-14 5:30
fatemehsoleimani9-Oct-14 5:30 
i have one table with 3 column=code,name,code_b
and in form i have a bindingnavigator that addnewitem=none and bindingsource=fatemebinding
and in gridex datasourc=fatemebinding and in gridex allownew=addnew and rowheader=true and headercontent =rowposition and in griddesignert click in createroottable and retrive table and then column table ceated and then code envirement
newiconbinding:
[php]
try
{
fatemeBindingSource.AddNew();
codmax = Convert.ToInt32(fatemeTableAdapter.maxcode());
codmax = codmax + 1;
gridEX1.CurrentRow.Cells["code"].Value = codmax;
((DataRowView)fatemeBindingSource.Current).Row["code"] = codmax;
}
catch
{
MessageBox.Show("لطفا اطلاعات را وارد کنید");
}
[/php]
and save iconbindingnavator:
[php]
private void toolStripButton1_Click(object sender, EventArgs e)
{
fatemeBindingSource.EndEdit();
fatemeTableAdapter.Update(this.baziDataSet1.fateme);
}
[/php]
but in run name and code_b value to be null
how to asign data column
please help me
Questionif, else if, and else statement. Pin
Member 111309765-Oct-14 9:06
Member 111309765-Oct-14 9:06 
AnswerRe: if, else if, and else statement. Pin
BillWoodruff5-Oct-14 9:56
professionalBillWoodruff5-Oct-14 9:56 
AnswerRe: if, else if, and else statement. Pin
Swinkaran5-Oct-14 12:36
professionalSwinkaran5-Oct-14 12:36 

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.