Show message after entering data


Posted on 16th Feb 2014 07:03 pm by admin

Hello Colleagues

I would like to display messages after entering the data example: "
data were successfully " or " Error send data" in advance
Did you know?Explore Trending and Topic pages for more stories like this.
thanks. Dim Coneccion As SqlConnection
Dim Comando As SqlCommand

Coneccion = New
SqlConnection(ConfigurationManager.ConnectionStrings("id").ConnectionString)
Comando = New SqlCommand("insertpbs", Coneccion)
Comando.CommandType = CommandType.StoredProcedure

Comando.Parameters.AddWithValue("@nombre", txtnombre.Text)

Try

Comando.Connection.Open()
Comando.ExecuteNonQuery()

Catch ex As Exception
ex.Message.ToString()

Finally
Comando.Connection.Close()
Response.Redirect("default.aspx")
End Try
No comments posted yet

Your Answer:

Login to answer
247 Like 6 Dislike
Previous forums Next forums
Other forums

bind error during socket programming
i am kinda new to socket programming. wrote the below code for a server. but getting the bind error

Drop Down and text box issue
Is it possible to set a drop down list and text boxes to a certain width?

here is my code

News script
Hi ...

I am not sure if this is the rite place to post this but if its not sorry

i am

mail()
Hi all. I have a problem with emails. I am trying to set up a mail system where customers can subscr

Please help - should be a simple fix.. driving me nuts
Everything seemed to be working fine. I have a table, it alphabetically lists a bunch of cities and

Map.php
I am a complete beginner to PHP and am looking for some help with a program I am messing around with

Need help with unexpected T-STRING error
I'm a newbie and I'm still learning PHP. However this error has me stumped. I've googled, searched t

Operator precedence assistance.
I did a quick Google search and couldn't quite find the answer I wanted in terms I could understand,

array & querys help/advice.
Ok so here goes , I have a mysql database and basically here's what I need to do.

// foreach

Give me all your tricks for minimizing jar file size

Hi, I'm coming close to releasing my J2ME game... I am kicking up against the 64k size barrier w

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash