blah blah blah is here! blah blah » Close

0
votes
1 answers

how to use classes for sql connection

how can i use classes on the program i am making? any help please? [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text ...

0
votes
0 answers

Accessing SQL Server (Express)2008 Db from C#

On my local machine I have a SQL Server DB called Sales at the default location. I want to create a connection to this db but when I try open it I get no permissions. I'm the admin on my machine. Any help to resolving this is greatly apprec ...

0
votes
0 answers

How to connect sql database from VS?

btab
30

Hi everyone I have a problem when I try to get my database done in Sql server management 2008 into visual studio 2008 with Sql authentication. With Windows authentication it works just fine, but not in mixed mode. I have right-clicked an ...

0
votes
1 answers

help with odbc connection

Here is part of my code... [code]odbCommand = new OdbcCommand("SELECT amt,sess,yr FROM aid_rec WHERE studentID=" + Int32.Parse(Jenzabar.Portal.Framework.PortalUser.Current.Name).ToString() + "aid in('IWSP','CWSP') ...

0
votes
0 answers

Arduino C# Interface

How do I get serial input/output from a Arduino. How do I specify COM port and baud rate?

1
votes
3 answers

mysql problem

lios
30

Hello I have an mysql table that have 8 columns! I wand to read one of the column (tameio) and display the raws in a list box string MyConString = "SERVER=192.168.0.1;" + "DATABASE=mydata;" + "UID=user;&quo ...

1
votes
1 answers

how to connect with any application through c#

salam guyz! i know that here be must a provider to connect with any application(photoshop, flash mx, my own made apps, acrobat, and many more) but still im not sure. can any body tell my how? how?... cheers in advance3

0
votes
2 answers

C# Database Connection String for Server

MySqlConnection myConn = new MySqlConnection("server=192.168.1.103;database=productcatalog;uid=root;password=12345678"); // where 192.168.1.103 is the PC's IP address. above code does not give me any problem. but when I have ...

0
votes
0 answers

Error on saving second record in a c# form

I have a small application, i can save the first record, no issues, but i am continuing on the same form and enter the next record, gives me error "The transaction is either not associated with the current connection or has been comple ...

0
votes
1 answers

Check network status

Guys, is it possible to check if a network connection has been established then if so perform a function? Something like below (which doesn't work) but i want to check if the local network exists not the internet. [code][DllImport(" ...

0
votes
2 answers

Remotely accessing an SQL database

Hello everyone. I'm fairly new when it comes to programming, and I have a question. I've written an application in C# and created a database (STSdb.mdf) through Visual Studio 2008. The application runs just fine locally using this connecti ...

Feedback