This is my code below:
SqlConnection SqlConnections = new SqlConnection();
SqlConnections.ConnectionString = Global.con;
SqlCommand SqlCommands = new SqlCommand("SELECT Id,LinkedUserID From Users");
SqlConnections.Open();
SqlCommands.Connection = SqlConnections;
SqlDataReader SqlDataReaders = SqlCommands.ExecuteReader(CommandBehavior.CloseConnection);
while (SqlDataReaders.Read())
{
//
}
SqlDataReaders.Close();
Im trying to run look with this code for read user id and LinkedUserID I want to all both ids for make a efface on all users as per i want please let me know how can i read both ids and return to ever single id for make a affect in database. i want to do this for use in MLM web appls during new join under any old member so i can make a affect points other user easily. any one have a idea.
Thank You