J
Jason
I have a simple question here,
ConnectToDB();
string queryString = "SELECT Owner,Description FROM Groups WHERE Title =
'BOSS'";
MySqlCommand myCmd = new MySqlCommand(queryString,mycon);
try
{
lblOwner.Text = (string)myCmd.ExecuteScalar();
}
finally
{
myCmd.Dispose();
mycon.Dispose();
}
it's only get one(Owner) value back, so what I need to do so I can pull both
Owner and Description from database?
Thansk in advance.
ConnectToDB();
string queryString = "SELECT Owner,Description FROM Groups WHERE Title =
'BOSS'";
MySqlCommand myCmd = new MySqlCommand(queryString,mycon);
try
{
lblOwner.Text = (string)myCmd.ExecuteScalar();
}
finally
{
myCmd.Dispose();
mycon.Dispose();
}
it's only get one(Owner) value back, so what I need to do so I can pull both
Owner and Description from database?
Thansk in advance.