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

SAP Treasury - Commodities
We are running SAP ECC 6.0 with Treasury Activated.
EA-FIN is also activated (SFW5).

Share admin accross websites
I'm using .net memberships and roles in one of my sites, but I need to be able to share logins and p

confused between ' ' and " "
there is a php i set:
$begin_date_query = mysql_query( "SELECT SUBDATE(due_date, INTERVAL $d

urldecode question
How would I format this line of code properly?

<?php echo urldecode($_GET['Title']); ?

Big O & time complexity ???
can you help me how to calculate the Big O & time complexity for any algorithm and c++ program pleas

list files from folder, only one for each date
I have many files in a folder and wish to only list one of each date

these are the file names

newbie question
Hi out thereIm totaly new in this forum and to .net and vb so here is a totaly newbie question.I wan

Giving the below syntax error
Dear Experts,

I have used 2 buttons in gui status as display and cjhange.When the user wi

need a script for 3 pages
I have a customer who wants me to set up a site with a number of pages with the following requiremen

Custom Container in module pool program
Hello everyone,

I have created a custom control in my module pool screen. Now I want to s

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