Click here to Skip to main content
15,892,537 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Perpetual Pop Up associated with application, not page Pin
jkirkerx7-Aug-12 9:09
professionaljkirkerx7-Aug-12 9:09 
GeneralRe: Perpetual Pop Up associated with application, not page Pin
toltec777-Aug-12 11:02
professionaltoltec777-Aug-12 11:02 
GeneralRe: Perpetual Pop Up associated with application, not page Pin
jkirkerx7-Aug-12 12:33
professionaljkirkerx7-Aug-12 12:33 
GeneralRe: Perpetual Pop Up associated with application, not page Pin
toltec777-Aug-12 12:49
professionaltoltec777-Aug-12 12:49 
GeneralRe: Perpetual Pop Up associated with application, not page Pin
jkirkerx7-Aug-12 13:33
professionaljkirkerx7-Aug-12 13:33 
GeneralNew Idea Pin
jkirkerx8-Aug-12 7:56
professionaljkirkerx8-Aug-12 7:56 
QuestionInput string was not in a correct format Pin
Jassim Rahma6-Aug-12 11:17
Jassim Rahma6-Aug-12 11:17 
AnswerRe: Input string was not in a correct format Pin
jkirkerx6-Aug-12 12:57
professionaljkirkerx6-Aug-12 12:57 
Did you ever bother to check your sql char arrays, and feed them in manually to your database using a management tool, to make sure they work first.

Then test your connection by just selecting records, to make sure your connector works
jrahma wrote:
DEFINER=`root`@`localhost`

you have too many quotes
jrahma wrote:
sql_connection = new MySqlConnection(ConfigurationManager.ConnectionStrings["SQLdb"].ConnectionString);
sql_connection.Open();

Usually you program your parameters before you open the connection

Your code looks strange to me, and your use of parameters does not look well formatted. The parameters are individual objects, that you add to the SQLCommand, once you build your parameters, you open the database, execute, and close it.

Dim strConnString As String = GetSQLConnString()
Dim objConn As New SqlConnection(strConnString)

Dim strSQL As String = "DELETE FROM ProductInfo WHERE ProductID=@ProductID"
Dim objCmd As New SqlCommand(strSQL, objConn)

Dim paramProductID As SqlParameter
paramProductID = New SqlParameter("@ProductID", SqlDbType.Int)
paramProductID.Value = ProductID
objCmd.Parameters.Add(paramProductID)

Try
    'Delete the record in the database
    objConn.Open()
    objCmd.ExecuteNonQuery()
    objConn.Close()
    Success = True

Catch ex As Exception
    Success = False

End Try

objCmd = Nothing
objConn = Nothing

AnswerRe: Input string was not in a correct format Pin
Shameel6-Aug-12 23:43
professionalShameel6-Aug-12 23:43 
Questionasp.net popup window Pin
rachel_m6-Aug-12 6:50
rachel_m6-Aug-12 6:50 
AnswerRe: asp.net popup window Pin
jkirkerx6-Aug-12 7:28
professionaljkirkerx6-Aug-12 7:28 
AnswerRe: asp.net popup window Pin
Deflinek8-Aug-12 22:28
Deflinek8-Aug-12 22:28 
AnswerRe: asp.net popup window Pin
Vijay Selvaraj27-Aug-12 0:20
Vijay Selvaraj27-Aug-12 0:20 
QuestionOptimize emails on mobile devices through Exact Target Pin
Agentdufffr5-Aug-12 20:53
Agentdufffr5-Aug-12 20:53 
QuestionEnd User Facebook Login Pin
sankar07Ind5-Aug-12 20:03
sankar07Ind5-Aug-12 20:03 
Questionwhy connection attempt failed? Pin
Jassim Rahma5-Aug-12 12:03
Jassim Rahma5-Aug-12 12:03 
AnswerRe: why connection attempt failed? Pin
Jassim Rahma5-Aug-12 12:08
Jassim Rahma5-Aug-12 12:08 
AnswerRe: why connection attempt failed? Pin
Wes Aday5-Aug-12 15:52
professionalWes Aday5-Aug-12 15:52 
GeneralRe: why connection attempt failed? Pin
Jassim Rahma6-Aug-12 8:33
Jassim Rahma6-Aug-12 8:33 
Questionhow to retrve any file or image from folder in asp .net Pin
bipinprem155-Aug-12 1:02
bipinprem155-Aug-12 1:02 
AnswerRe: how to retrve any file or image from folder in asp .net Pin
Sandeep Mewara5-Aug-12 1:11
mveSandeep Mewara5-Aug-12 1:11 
AnswerRe: how to retrve any file or image from folder in asp .net Pin
jkirkerx5-Aug-12 11:03
professionaljkirkerx5-Aug-12 11:03 
GeneralHow to save any image or file in folder please give answer very soon in asp.net Pin
bipinprem155-Aug-12 1:00
bipinprem155-Aug-12 1:00 
AnswerRe: How to save any image or file in folder please give answer very soon in asp.net Pin
Sandeep Mewara5-Aug-12 1:12
mveSandeep Mewara5-Aug-12 1:12 
QuestionHow to save any image or file in folder please give answer very soon Pin
bipinprem155-Aug-12 0:59
bipinprem155-Aug-12 0:59 

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.