Click here to Skip to main content
15,887,083 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Help with regulat expression Pin
Prasad Khandekar18-May-14 5:08
professionalPrasad Khandekar18-May-14 5:08 
QuestionHow to add the multiple dropdownlist to the tool box Pin
Member 1081788414-May-14 1:55
Member 1081788414-May-14 1:55 
QuestionRe: How to add the multiple dropdownlist to the tool box Pin
ZurdoDev16-May-14 4:52
professionalZurdoDev16-May-14 4:52 
AnswerRe: How to add the multiple dropdownlist to the tool box Pin
thatraja16-May-14 5:44
professionalthatraja16-May-14 5:44 
QuestionAbout selecting multiple option from dropdownlist items...mutiple name at a ti.i want to select a time Pin
Member 1081788414-May-14 1:41
Member 1081788414-May-14 1:41 
QuestionRe: About selecting multiple option from dropdownlist items...mutiple name at a ti.i want to select a time Pin
ZurdoDev16-May-14 4:52
professionalZurdoDev16-May-14 4:52 
AnswerRe: About selecting multiple option from dropdownlist items...mutiple name at a ti.i want to select a time Pin
thatraja16-May-14 5:40
professionalthatraja16-May-14 5:40 
QuestionConfirmation to a messagebox Pin
TuerelF14-May-14 1:14
TuerelF14-May-14 1:14 
How can i see if Ok or cancel is pressed?
Code:
VB
 Private Sub GridView1_RowCommand(sender As Object, e As GridViewCommandEventArgs) Handles GridView1.RowCommand
    If (e.CommandName = "DelUser") Then
        Dim index As Integer = Convert.ToInt32(e.CommandArgument)
        Dim row As GridViewRow = GridView1.Rows(index)
        Dim cmd As SqlCommand = New SqlCommand("DELETE [dbo].[MOVIuser] " & _
                            "WHERE ID = @U_ID ", conn)
        cmd.Parameters.Add("@U_ID", SqlDbType.Int)

        Dim message As String = "Möchten Sie den Benutzer " & _
            CStr(row.Cells(3).Text) & ", " & CStr(row.Cells(4).Text) & " wirklich löschen?"
        Dim sb As New System.Text.StringBuilder()
        sb.Append("<script type = 'text/javascript'>")
        sb.Append("window.onload=function(){")
        sb.Append("return confirm('")
        sb.Append(message)
        sb.Append("')};")
        sb.Append("</script>")
        ClientScript.RegisterClientScriptBlock(Me.GetType(), "alert", sb.ToString())

        /* Which Button is pressed? */

        Try
            conn.Open()
            cmd.Parameters("@U_ID").Value = CInt(row.Cells(1).Text)
            'cmd.ExecuteNonQuery()
        Catch ex As Exception
            ' Handle exception
        Finally
            conn.Close()
        End Try
    End If
End Sub

AnswerRe: Confirmation to a messagebox Pin
jkirkerx14-May-14 12:56
professionaljkirkerx14-May-14 12:56 
GeneralRe: Confirmation to a messagebox Pin
ZurdoDev16-May-14 4:53
professionalZurdoDev16-May-14 4:53 
QuestionDeployment Pin
Member 1022432313-May-14 21:49
Member 1022432313-May-14 21:49 
AnswerRe: Deployment Pin
Francis S Michael13-May-14 22:28
professionalFrancis S Michael13-May-14 22:28 
AnswerRe: Deployment Pin
PJ00313-May-14 22:31
professionalPJ00313-May-14 22:31 
AnswerRe: Deployment Pin
Francis S Michael13-May-14 22:56
professionalFrancis S Michael13-May-14 22:56 
QuestionChart Control Curve Fitting is not showing a full curve. Pin
Kandepu Rajesh13-May-14 20:11
Kandepu Rajesh13-May-14 20:11 
QuestionSet Width for modalpopup Pin
HK3313-May-14 2:23
HK3313-May-14 2:23 
AnswerRe: Set Width for modalpopup Pin
PJ00313-May-14 21:15
professionalPJ00313-May-14 21:15 
QuestionPerhaps Crazy Idea for a Summer Project: Intelligent Book Library and Online Ordering System Pin
QuadlessPyjack11-May-14 23:01
QuadlessPyjack11-May-14 23:01 
QuestionRe: Perhaps Crazy Idea for a Summer Project: Intelligent Book Library and Online Ordering System Pin
Richard MacCutchan11-May-14 23:17
mveRichard MacCutchan11-May-14 23:17 
AnswerAmazon has a SDK Pin
David Mujica12-May-14 10:08
David Mujica12-May-14 10:08 
QuestionGenerat PDF from aspx page. in asp.net with formating Pin
deepika wani11-May-14 20:39
deepika wani11-May-14 20:39 
QuestionGoogle Site - SMTP support? ASP.NET? Microsoft SQL server? Pin
Swab.Jat11-May-14 20:27
Swab.Jat11-May-14 20:27 
AnswerRe: Google Site - SMTP support? ASP.NET? Microsoft SQL server? Pin
Richard MacCutchan11-May-14 23:16
mveRichard MacCutchan11-May-14 23:16 
GeneralRe: Google Site - SMTP support? ASP.NET? Microsoft SQL server? Pin
Swab.Jat12-May-14 12:55
Swab.Jat12-May-14 12:55 
QuestionHow to display a radiobuttonList along with a textbox with dynamically generated values? Pin
samflex9-May-14 14:33
samflex9-May-14 14:33 

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.