|
-
Jan 17th, 2007, 03:58 AM
#1
Thread Starter
Hyperactive Member
connection string
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Compound
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
SqlConnectionStringBuilder builder = new SqlConnectionStringBuilder();
builder.IntegratedSecurity = true;
string att ="AttachDbFileName=" + Application.StartupPath + "\\Database1.mdf;Integrated Security=true;Database=Database1;";
}
}
}
is this correct connection?
how can i manipulate my database, such adding, delete, update my record
tnx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|