namespace FTServerCode { public partial class SERVER : Form { match(string string) { } //here on this form my oledbadapter is place } class ftsev { method startserver()//which is recursivelly called server must continiously run { //here a socket which is listening to a port continiously //and after receiving data i want to check that data in a Microsoft access table using //the oledbadapter and dataset //but the problem is how can i access olebadapter's object here to execute query like this.oleDbDataAdapter1.SelectCommand.CommandText = "SELECT Vm_ip FROM UserDB WHERE Usrnm=" + "'" + usrnm +"'"; dataSet11.Clear(); this.oleDbDataAdapter1.Fill(this.dataSet11.Tables["UserDB"]); // here in ftsev class....is there any way to do so.... } //...... }
method startserver()//which is recursivelly called server must continiously run
startserver()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)