Click here to Skip to main content
15,917,608 members

Comments by anandblitz (Top 2 by date)

anandblitz 2-Apr-15 8:40am View    
Can you please share what you have coded till now?
anandblitz 2-Apr-15 7:32am View    
Change
<pre lang="c#">cmd.Parameters.AddWithValue("pname", textBox1.Text.ToString());
cmd.Parameters.AddWithValue("pnote", textBox2.Text.ToString()); </pre>
to
<pre lang="c#">cmd.Parameters.AddWithValue("pname", textBox1.Text.ToString()).Value = VAL1;
cmd.Parameters.AddWithValue("pnote", textBox2.Text.ToString()).Value = VAL2;
</pre>
See if this helps.