1
Answer

other problem

ganesh sadu

ganesh sadu

11y
1.1k
1
hi dude do not mistake me.... i had get  other problem 

            Cone = new SqlConnection(connstring);
           Cone.Open();
                Come=new SqlCommand("insert into cheque values("+chno.Text+","+amo.Text+","+Date.Text+","+Towhom.Text+","+Purpo.Text+"')",Cone);
                try
                {
                    Come.ExecuteNonQuery();
                    MessageBox.Show("Saved............");
                }
                catch (Exception)
                {
                    MessageBox.Show("not saved......");
                }
                finally
                {
                    Cone.Close();
                }

if i check i have get catch details only what about that problem........
chno.Text=int
amo.Text=money
Date.Text=date
Towhom.Text=nvarchar(max)
Purpo.Text=nvarchar(max)

                please help me dude.

Answers (1)
Next Recommended Forum