Cute Editor remote connectionstring example

Last post 05-01-2007, 3:24 PM by GSWS. 2 replies.
Sort Posts: Previous Next
  •  04-30-2007, 7:05 PM 29022

    Cute Editor remote connectionstring example

     
    Greetings,
    Newbie here - so appreciate any assistance on such a minor issue.
     
    Working on the example here:
    http://cutesoft.net/example/datagrid-example.aspx

    but am trying to connect to a remote SQL Server 2000 database.
     
    Looking for an example of a remote connectionstring example. Instead of

    Function CreateConnection() As OleDbConnection
    Dim myConnection As OleDbConnection = New OleDbConnection
    myConnection.ConnectionString =
    "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Context.Server.MapPath("../uploads/Northwind.mdb") + ";"
    myConnection.Open()
    Return myConnection
    End Function

    Looking for an example along the lines of:

    <connectionStrings>
    <add name="DaveConnectionString" connectionString="Data Source=207.158.71.122;Initial Catalog=DaveStudies01;Persist Security Info=True;User ID=Dave;Password=password" providerName="System.Data.SqlClient"/>
    </connectionStrings>

    Didn't see one posted in the forums.

    Thanks in advance,
    Dave 

  •  05-01-2007, 2:00 PM 29038 in reply to 29022

    Re: Cute Editor remote connectionstring example

    Dave,
     
    The datagrid example uses Access as database.  You need to modify it to make it works in SQL Server.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-01-2007, 3:24 PM 29044 in reply to 29038

    Re: Cute Editor remote connectionstring example


    Got it.
    Is there an example of this available (using SQL server)?

    That's ultimately what I was hoping for, but didn't see one anywhere online.
    Didn't see anything referencing SQL Server.
     
    Thanks again,
    Dave
     
View as RSS news feed in XML