Forum: VB.NET Dec 8th, 2008 |
| Replies: 7 Views: 1,666 Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
Try
oConnOleDb = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data... |
Forum: VB.NET Dec 6th, 2008 |
| Replies: 7 Views: 1,666 try this
Dim con as new OledbConnection
con = new OledbConnection (constring)
con.open()
Dim cmd as new OledbCommand
cmd = new OledbCommand("Delete Query",con)
cmd.ExecuteNonQuery() |
Forum: VB.NET Dec 6th, 2008 |
| Replies: 7 Views: 1,666 |
Forum: VB.NET Dec 1st, 2008 |
| Replies: 7 Views: 1,666 Dim con as new OledbConnection
con = new OledbConnection (constring)
con.open()
Dim cmd as new OledbCommand
cmd = new OledbCommand("Delete Query")
cmd.ExecuteNonQuery()
cmd.Dispose()... |
Forum: VB.NET Nov 17th, 2008 |
| Replies: 3 Views: 3,922 Hi,
Private Sub frmDesigner_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress
If Asc(e.KeyChar) = Keys.Enter Then
... |
Forum: VB.NET Oct 21st, 2008 |
| Replies: 9 Views: 1,774 CrystalReportViewer1.Visible = false; |
Forum: VB.NET Oct 21st, 2008 |
| Replies: 9 Views: 1,774 Private Sub CloseToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CloseToolStripMenuItem.Click
CrystalReportViewer1.ReportSource = Nothing
... |
Forum: VB.NET Oct 21st, 2008 |
| Replies: 9 Views: 1,774 Hi,
Take one button and on that Click write this code |
Forum: VB.NET Oct 20th, 2008 |
| Replies: 9 Views: 1,774 Hi,
CrystalReportViewer1.ReportSource = Nothing
If ur problem solved ,pls marked Solved |
Forum: ASP.NET Oct 20th, 2008 |
| Replies: 2 Views: 934 using System;
using System.Data;
using System.Data.SqlClient;
string sConnectionString = "Integrated Security=SSPI;Initial Catalog=;Data Source=localhost;";
SqlConnection objConn = new... |