in that insert query fire and data to fetch connection class to use and easily get it :laugh:
antish1
Posts
-
If column not found in table or columns is added,how to handle it asp.net -
Sending mail using SMTPDim strMsg As String strMsg = txtMessage.Text If strMsg.Length >= 140 Then strMsg = strMsg.Substring(1, 140) End If mTo = Trim(txtToNumber.Text) & _ Trim(cboCarrier.SelectedItem.ToString()) mFrom = Trim(txtFrom.Text) mSubject = Trim(txtSubject.Text) mMsg = Trim(txtMessage.Text) mMailServer = ConfigurationManager.AppSettings.Get("MyMailServer") mPort = ConfigurationManager.AppSettings.Get("MyMailServerPort") Try Dim message As New MailMessage(mFrom, mTo, mSubject, mmsg) Dim mySmtpClient As New SmtpClient(mMailServer, mPort) mySmtpClient.UseDefaultCredentials = True mySmtpClient.Send(message) MessageBox("The mail message has been sent to " & _ message.To.ToString()) Catch ex As FormatException MessageBox("Format Exception: " & ex.Message) Catch ex As SmtpException MessageBox("SMTP Exception: " & ex.Message) Catch ex As Exception MessageBox("General Exception: " & ex.Message) End Try End Sub
-
Multi-file inputone more file..uplode....in the particular category....
-
Asp.net4.0: Ajax Control ToolKithttp://ajaxcontroltoolkit.codeplex.com/releases/view/43475#DownloadId=116534,[^] this is toolkit download nd that prb...solved