Click here to Skip to main content
15,887,434 members
Home / Discussions / C#
   

C#

 
QuestionC sharp and CRC's and polynomials Pin
turbosupramk324-Oct-14 3:13
turbosupramk324-Oct-14 3:13 
AnswerRe: C sharp and CRC's and polynomials Pin
BillWoodruff24-Oct-14 3:42
professionalBillWoodruff24-Oct-14 3:42 
GeneralRe: C sharp and CRC's and polynomials Pin
turbosupramk324-Oct-14 5:42
turbosupramk324-Oct-14 5:42 
GeneralRe: C sharp and CRC's and polynomials Pin
Pete O'Hanlon24-Oct-14 6:08
mvePete O'Hanlon24-Oct-14 6:08 
GeneralRe: C sharp and CRC's and polynomials Pin
turbosupramk324-Oct-14 6:47
turbosupramk324-Oct-14 6:47 
GeneralRe: C sharp and CRC's and polynomials Pin
BillWoodruff24-Oct-14 9:22
professionalBillWoodruff24-Oct-14 9:22 
GeneralRe: C sharp and CRC's and polynomials Pin
turbosupramk324-Oct-14 13:21
turbosupramk324-Oct-14 13:21 
Questionproblem in insert image in sql with janus control use Pin
fatemehsoleimani24-Oct-14 2:27
fatemehsoleimani24-Oct-14 2:27 
hi i will insert info person to database and i use janus control and bind all input from databinding and bind picturebox and mathimage that is editbox
and in run accure error:
Update requires a valid UpdateCommand when passed DataRow collection with modified rows
my code:
save:
try
{
bimehgozarBindingSource.EndEdit();
bimehgozarTableAdapter.Update(this.bimehDataSet.bimehgozar);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
new:
bimehgozarBindingSource.AddNew();
string query = "SELECT MAX(code_bg) FROM bimehgozar";
SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=bimeh;Integrated Security=True");
SqlCommand comSelect = new SqlCommand(query, con);
con.Open();
string ID = comSelect.ExecuteScalar().ToString();
if (ID == "")
editBox8.Text = 1.ToString();
else
{
int a = Convert.ToInt32(ID);
a = a + 1;
editBox8.Text = a.ToString();
}
editBox1.Text = "";
editBox2.Text = "";
editBox3.Text = "";
editBox4.Text = "";
editBox5.Text = "";
editBox6.Text = "";
editBox7.Text = "";
editBox11.Text = "";
editBox12.Text = "";
editBox13.Text = "";
editBox14.Text = "";
pictureBox1.Image = null;
i am accure errore in save Button click
please help me i am tired. how save image when use janus control beacuse i use janus control not have value for insert.
wheather i need to convert image to array.
please guide me i want to insert info and long time accure error.
best regards
AnswerRe: problem in insert image in sql with janus control use Pin
Pete O'Hanlon24-Oct-14 3:44
mvePete O'Hanlon24-Oct-14 3:44 
GeneralRe: problem in insert image in sql with janus control use Pin
fatemehsoleimani24-Oct-14 3:59
fatemehsoleimani24-Oct-14 3:59 
Questionrun application c# Pin
Ibrahim.elh24-Oct-14 2:03
Ibrahim.elh24-Oct-14 2:03 
AnswerRe: run application c# Pin
Gerry Schmitz24-Oct-14 3:35
mveGerry Schmitz24-Oct-14 3:35 
GeneralRe: run application c# Pin
Ibrahim.elh24-Oct-14 3:41
Ibrahim.elh24-Oct-14 3:41 
GeneralRe: run application c# Pin
Dave Kreskowiak24-Oct-14 3:49
mveDave Kreskowiak24-Oct-14 3:49 
GeneralRe: run application c# Pin
Ibrahim.elh24-Oct-14 3:52
Ibrahim.elh24-Oct-14 3:52 
GeneralRe: run application c# Pin
Dave Kreskowiak24-Oct-14 3:53
mveDave Kreskowiak24-Oct-14 3:53 
GeneralRe: run application c# Pin
Pete O'Hanlon24-Oct-14 3:55
mvePete O'Hanlon24-Oct-14 3:55 
GeneralRe: run application c# Pin
Ibrahim.elh24-Oct-14 3:59
Ibrahim.elh24-Oct-14 3:59 
GeneralRe: run application c# Pin
Pete O'Hanlon24-Oct-14 4:04
mvePete O'Hanlon24-Oct-14 4:04 
AnswerRe: run application c# Pin
V.26-Oct-14 21:33
professionalV.26-Oct-14 21:33 
GeneralRe: run application c# Pin
Ibrahim.elh26-Oct-14 21:39
Ibrahim.elh26-Oct-14 21:39 
GeneralRe: run application c# Pin
V.26-Oct-14 21:53
professionalV.26-Oct-14 21:53 
Questionproblem when launching application Pin
Ibrahim.elh23-Oct-14 21:06
Ibrahim.elh23-Oct-14 21:06 
AnswerRe: problem when launching application Pin
OriginalGriff23-Oct-14 21:36
mveOriginalGriff23-Oct-14 21:36 
GeneralRe: problem when launching application Pin
Ibrahim.elh23-Oct-14 21:45
Ibrahim.elh23-Oct-14 21:45 

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.