Click here to Skip to main content
15,918,808 members
Home / Discussions / C#
   

C#

 
AnswerRe: C#: logical problem Pin
Judah Gabriel Himango12-Mar-07 4:57
sponsorJudah Gabriel Himango12-Mar-07 4:57 
AnswerRe: C#: logical problem Pin
Colin Angus Mackay12-Mar-07 4:57
Colin Angus Mackay12-Mar-07 4:57 
AnswerRe: C#: logical problem Pin
Dawid Mazuruk12-Mar-07 4:59
Dawid Mazuruk12-Mar-07 4:59 
GeneralRe: C#: logical problem Pin
Judah Gabriel Himango12-Mar-07 5:36
sponsorJudah Gabriel Himango12-Mar-07 5:36 
GeneralRe: C#: logical problem Pin
Colin Angus Mackay12-Mar-07 6:11
Colin Angus Mackay12-Mar-07 6:11 
GeneralRe: C#: logical problem Pin
Judah Gabriel Himango12-Mar-07 10:14
sponsorJudah Gabriel Himango12-Mar-07 10:14 
GeneralRe: C#: logical problem Pin
Colin Angus Mackay12-Mar-07 10:46
Colin Angus Mackay12-Mar-07 10:46 
QuestionC# code for ASP.NET connection to mySQL on a Linux Server Pin
LuckySmoke12-Mar-07 4:00
LuckySmoke12-Mar-07 4:00 
Can somebody help me with this? I am a student and try to learn internet programming with ASP.NET, C#, mySQL on Linux-servers.

I want to convert this code I got from my ISP to a C# code.
I am running an application from ASP.NET written in C# and want to connect to a mySQL database which is running over internet on a linux server.

<%
Dim objConn
Dim objRS
Set objRS = Server.CreateObject("ADODB.Recordset")
Set objConn = Server.CreateObject("ADODB.Connection")

objConn.ConnectionString="DRIVER={MySQL};SERVER=localhost;"_
& "DATABASE=[DATABASE_NAME] ; UID=[DATABASE_NAME] ; PWD=[MySQL-PWD];"
objConn.Open

objRS.Open "[PASTE-QUERY-HERE]", objConn, 3,3

objRS.Close
Set objRS = Nothing
objConn.Close
Set objConn = Nothing
%>

The code is like following:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="myWebApplication._Default" %>





<title>myWebApplication









AnswerRe: C# code for ASP.NET connection to mySQL on a Linux Server Pin
Ennis Ray Lynch, Jr.12-Mar-07 4:23
Ennis Ray Lynch, Jr.12-Mar-07 4:23 
GeneralRe: C# code for ASP.NET connection to mySQL on a Linux Server Pin
LuckySmoke12-Mar-07 4:36
LuckySmoke12-Mar-07 4:36 
QuestionTime format in control numeric up/down in c# Pin
hiremath7112-Mar-07 3:45
hiremath7112-Mar-07 3:45 
AnswerRe: Time format in control numeric up/down in c# Pin
Scott Dorman12-Mar-07 3:49
professionalScott Dorman12-Mar-07 3:49 
GeneralRe: Time format in control numeric up/down in c# Pin
hiremath7112-Mar-07 22:49
hiremath7112-Mar-07 22:49 
GeneralRe: Time format in control numeric up/down in c# Pin
Scott Dorman17-Mar-07 4:00
professionalScott Dorman17-Mar-07 4:00 
QuestionHelp! Image in Listview appear unexpected! Pin
chinajuanbob12-Mar-07 3:35
chinajuanbob12-Mar-07 3:35 
AnswerRe: Help! Image in Listview appear unexpected! Pin
Judah Gabriel Himango12-Mar-07 4:02
sponsorJudah Gabriel Himango12-Mar-07 4:02 
GeneralRe: Help! Image in Listview appear unexpected! [modified] Pin
chinajuanbob12-Mar-07 15:57
chinajuanbob12-Mar-07 15:57 
QuestionChange control Pin
Tanuja12312-Mar-07 3:31
Tanuja12312-Mar-07 3:31 
QuestionC# active X Pin
Justin Hallet12-Mar-07 2:16
Justin Hallet12-Mar-07 2:16 
QuestionUrgent:Programatically running scripts Pin
Lukas2212-Mar-07 3:13
Lukas2212-Mar-07 3:13 
AnswerRe: Urgent:Programatically running scripts Pin
Judah Gabriel Himango12-Mar-07 5:40
sponsorJudah Gabriel Himango12-Mar-07 5:40 
GeneralRe: Urgent:Programatically running scripts Pin
Lukas2212-Mar-07 7:23
Lukas2212-Mar-07 7:23 
GeneralRe: Urgent:Programatically running scripts Pin
Judah Gabriel Himango12-Mar-07 10:15
sponsorJudah Gabriel Himango12-Mar-07 10:15 
QuestionUpdating order of DataTables Pin
Satish3212-Mar-07 3:12
Satish3212-Mar-07 3:12 
QuestionPicturebox tooltips Pin
Gareth H12-Mar-07 2:49
Gareth H12-Mar-07 2:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.