Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
AnswerRe: code Pin
V.1-Jul-14 23:46
professionalV.1-Jul-14 23:46 
AnswerRe: code Pin
Pete O'Hanlon2-Jul-14 0:23
mvePete O'Hanlon2-Jul-14 0:23 
AnswerRe: code Pin
Yang Kok Wah2-Jul-14 7:30
Yang Kok Wah2-Jul-14 7:30 
QuestionC# Printer Status Pin
Zeyad Jalil1-Jul-14 22:06
professionalZeyad Jalil1-Jul-14 22:06 
AnswerRe: C# Printer Status Pin
Duncan Edwards Jones1-Jul-14 22:20
professionalDuncan Edwards Jones1-Jul-14 22:20 
AnswerRe: C# Printer Status Pin
Kornfeld Eliyahu Peter1-Jul-14 22:21
professionalKornfeld Eliyahu Peter1-Jul-14 22:21 
Questionc# to control microphone volume Pin
NAVIN KUMAR RAMASWAMY1-Jul-14 4:08
NAVIN KUMAR RAMASWAMY1-Jul-14 4:08 
AnswerRe: c# to control microphone volume Pin
Pete O'Hanlon1-Jul-14 4:24
mvePete O'Hanlon1-Jul-14 4:24 
Questionself destructible message Pin
abhisince941-Jul-14 3:32
abhisince941-Jul-14 3:32 
AnswerRe: self destructible message Pin
joost.versteegen1-Jul-14 3:41
joost.versteegen1-Jul-14 3:41 
GeneralRe: self destructible message Pin
Rob Philpott1-Jul-14 4:31
Rob Philpott1-Jul-14 4:31 
AnswerRe: self destructible message Pin
ZurdoDev1-Jul-14 3:58
professionalZurdoDev1-Jul-14 3:58 
AnswerRe: self destructible message Pin
Dan Neely3-Jul-14 9:18
Dan Neely3-Jul-14 9:18 
QuestionJoin data table with sql table Pin
Mohammad Soleimani1-Jul-14 1:40
Mohammad Soleimani1-Jul-14 1:40 
AnswerRe: Join data table with sql table Pin
Eddy Vluggen1-Jul-14 7:25
professionalEddy Vluggen1-Jul-14 7:25 
GeneralRe: Join data table with sql table Pin
Mohammad Soleimani2-Jul-14 1:31
Mohammad Soleimani2-Jul-14 1:31 
GeneralRe: Join data table with sql table Pin
Eddy Vluggen2-Jul-14 3:06
professionalEddy Vluggen2-Jul-14 3:06 
GeneralRe: Join data table with sql table Pin
Mohammad Soleimani2-Jul-14 6:22
Mohammad Soleimani2-Jul-14 6:22 
QuestionSystem.AccessViolationException When Using Win32 DLL Pin
Django_Untaken1-Jul-14 0:36
Django_Untaken1-Jul-14 0:36 
AnswerRe: System.AccessViolationException When Using Win32 DLL Pin
OriginalGriff1-Jul-14 2:40
mveOriginalGriff1-Jul-14 2:40 
GeneralRe: System.AccessViolationException When Using Win32 DLL Pin
Django_Untaken1-Jul-14 8:49
Django_Untaken1-Jul-14 8:49 
AnswerRe: System.AccessViolationException When Using Win32 DLL Pin
Bernhard Hiller1-Jul-14 20:38
Bernhard Hiller1-Jul-14 20:38 
GeneralRe: System.AccessViolationException When Using Win32 DLL Pin
Django_Untaken1-Jul-14 21:36
Django_Untaken1-Jul-14 21:36 
Questionhow to solve this Error...in insert query Pin
Nishant.Chauhan8030-Jun-14 21:50
Nishant.Chauhan8030-Jun-14 21:50 
VB
ERROR:-No mapping exists from object type System.Data.DataRowView to a known managed provider native type.


code following :-

con.Open();
SqlCommand cmd = new SqlCommand("addprd1", con);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Connection = con;
cmd.Parameters.AddWithValue("@id", label10.Text);
cmd.Parameters.AddWithValue("@srno", textBox1.Text);
cmd.Parameters.AddWithValue("@itm", comboBox1.SelectedItem);
cmd.Parameters.AddWithValue("@make", comboBox2.SelectedItem);
cmd.Parameters.AddWithValue("@dop", dateTimePicker1.Text);
cmd.Parameters.AddWithValue("@year", comboBox3.SelectedItem);
cmd.Parameters.AddWithValue("@mno", textBox6.Text);
cmd.Parameters.AddWithValue("@srm", textBox7.Text);
cmd.Parameters.AddWithValue("@off", textBox9.Text);
cmd.Parameters.AddWithValue("@usr", textBox8.Text);
cmd.ExecuteNonQuery();
con.Close();
label10.Visible = true;
MessageBox.Show("Insert Successfully");
Bind();
label10.Visible = false;
Clear();
AnswerRe: how to solve this Error...in insert query Pin
Rob Philpott30-Jun-14 22:40
Rob Philpott30-Jun-14 22: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.