Click here to Skip to main content
15,913,027 members
Home / Discussions / C#
   

C#

 
QuestionCan you speed up the calculation of programs using software methods and how much? Pin
Member 127091098-May-17 1:21
Member 127091098-May-17 1:21 
QuestionQuestiongame over the net - client crash Pin
Member 129316127-May-17 7:52
Member 129316127-May-17 7:52 
AnswerRe: Questiongame over the net - client crash Pin
Richard Andrew x647-May-17 11:32
professionalRichard Andrew x647-May-17 11:32 
AnswerRe: Questiongame over the net - client crash Pin
OriginalGriff7-May-17 21:41
mveOriginalGriff7-May-17 21:41 
QuestionCreate Dynamic buttons Pin
Member 131834647-May-17 0:31
Member 131834647-May-17 0:31 
QuestionRe: Create Dynamic buttons Pin
CHill607-May-17 0:33
mveCHill607-May-17 0:33 
AnswerRe: Create Dynamic buttons Pin
User 41802547-May-17 8:49
User 41802547-May-17 8:49 
GeneralRe: Create Dynamic buttons Pin
Member 131834648-May-17 1:04
Member 131834648-May-17 1:04 
How I can put selling buttons in my interface to put in them my materials


private void DisplayData5()
       {

               con.Open();
               DataTable dt5 = new DataTable();
               adapt = new SqlDataAdapter("select * from MER where GUID = '" + listBox1.SelectedValue.ToString() + "' order by NUBER  ", con);
               adapt.Fill(dt5);
               listBox2.DataSource = dt5;
               listBox2.DisplayMember = "NAME";
               listBox2.ValueMember = "GUID1";
               con.Close();


           }



// insert materials
private void listBox2_MouseClick(object sender, MouseEventArgs e)
      {
          try
          {

              con.Open();
              SqlCommand cmd3 = new SqlCommand(" insert into SellingPoint (GUID, MONY,MONY1,NAME,NUBER,COUNT) select  GUID1,MONY,MONY1,NAME,'" + txt_Number.Text + "', '" + textBox2.Text + "'   from MER where GUID1 = '" + listBox2.SelectedValue + "' ", con);
              cmd3.ExecuteNonQuery();
              con.Close();
              sum();
              textBox7.Text = textBox4.Text;
              DisplayData();
              number();
              textBox2.Text = "1";
          }
          catch
          {
              MessageBox.Show("77");
              con.Close();
          }

      }

SuggestionRe: Create Dynamic buttons Pin
Richard Deeming8-May-17 1:54
mveRichard Deeming8-May-17 1:54 
QuestionHow to Do Implementation of this questions Please Pin
Member 131757266-May-17 11:08
Member 131757266-May-17 11:08 
AnswerRe: How to Do Implementation of this questions Please Pin
Mycroft Holmes6-May-17 14:00
professionalMycroft Holmes6-May-17 14:00 
AnswerRe: How to Do Implementation of this questions Please Pin
Pete O'Hanlon6-May-17 22:00
mvePete O'Hanlon6-May-17 22:00 
Questionanother way Type 'short is short-shrifted, but not short-shifted Pin
BillWoodruff5-May-17 1:10
professionalBillWoodruff5-May-17 1:10 
AnswerRe: another way Type 'short is short-shrifted, but not short-shifted Pin
Jochen Arndt5-May-17 1:32
professionalJochen Arndt5-May-17 1:32 
AnswerRe: another way Type 'short is short-shrifted, but not short-shifted Pin
Pete O'Hanlon5-May-17 1:35
mvePete O'Hanlon5-May-17 1:35 
AnswerRe: another way Type 'short is short-shrifted, but not short-shifted Pin
harold aptroot5-May-17 3:05
harold aptroot5-May-17 3:05 
GeneralRe: another way Type 'short is short-shrifted, but not short-shifted Pin
BillWoodruff5-May-17 4:54
professionalBillWoodruff5-May-17 4:54 
GeneralRe: another way Type 'short is short-shrifted, but not short-shifted Pin
harold aptroot5-May-17 5:19
harold aptroot5-May-17 5:19 
GeneralRe: another way Type 'short is short-shrifted, but not short-shifted Pin
BillWoodruff5-May-17 7:44
professionalBillWoodruff5-May-17 7:44 
QuestionMessage Closed Pin
2-May-17 6:44
SHALCHAUHAN2-May-17 6:44 
AnswerRe: Regarding Website Pin
NotPolitcallyCorrect2-May-17 6:54
NotPolitcallyCorrect2-May-17 6:54 
AnswerRe: Regarding Website Pin
User 41802543-May-17 2:56
User 41802543-May-17 2:56 
QuestionLink DLL at runtime Pin
icristut2-May-17 1:36
icristut2-May-17 1:36 
AnswerRe: Link DLL at runtime Pin
Richard MacCutchan2-May-17 2:22
mveRichard MacCutchan2-May-17 2:22 
GeneralRe: Link DLL at runtime Pin
icristut2-May-17 2:29
icristut2-May-17 2:29 

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.