我正在使用这样的adb pull命令:
adb pull /sdcard/*.trace C:/
Run Code Online (Sandbox Code Playgroud)
但我告诉我远程对象'/sdcard/*.trace'不退出我检查跟踪文件是在sdcard.Now如何从SD卡中提取这些文件.你可以帮我解决?
我的代码是:我在做断点时正在检索数据氟利昂数据库,它显示列表中的数据,但是它也给我一个错误
public static List<StudentScore> GetAllScore()
{
SqlConnection conn = MyDB.GetConnection();
string selectStm = "SELECT en.CourseID,en.Score,s.StudentID FROM EnrollmentTable en,Student s WHERE en.StudentID = s.StudentID";
SqlCommand command = new SqlCommand(selectStm, conn);
List<StudentScore> aStudentScore = new List<StudentScore>();
try
{
conn.Open();
SqlDataReader reader = command.ExecuteReader();
Console.WriteLine(reader.HasRows.ToString());
while (reader.Read())
{
StudentTable st = new StudentTable();
CourseTable cr = new CourseTable();
Enrollment enr = new Enrollment();
StudentScore score = new StudentScore();
enr.CourseData = cr;
enr.StudentData = st;
//score.EnrollmentData.StudentData.StudentID = reader["StudentID"].ToString();
//score.EnrollmentData.CourseData.CourseID = reader["CourseID"].ToString();
st.StudentID = reader["StudentID"].ToString(); …Run Code Online (Sandbox Code Playgroud)