How Would You Connect To A Database By Using .NET


  • 3 Apr, 2013


    using System.Data.Sql;
    using System.Data.SqlClient;

    public partial class _Default : System.Web.UI.Page
    {
    protected void Page_Load(object sender, EventArgs e)
    {

    SqlConnection con = new SqlConnection(@"connection String");

    SqlCommand cmd =new SqlCommand("sql query", con);

     

    }
    }

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.