case 'M':printf("monday\n")break
case 'T':printf("please input second letter\n")
if((letter=getch())=='u')
printf("tuesday\n")
else if ((letter=getch())=='h')
printf("thursday\n")
else printf("data error\n")
先读取数据库的路径,用select *form base;得到路径之后,//StreamReader objReader = new StreamReader(@"C:\Users\loa\Desktop\test.txt")
//string sLine = ""
//ArrayList arrText = new ArrayList()
//while (sLine != null)
//{
//sLine = objReader.ReadLine()
//if (sLine != null)
//arrText.Add(sLine)
//}
//objReader.Close()
//foreach (string sOutput in arrText)
//Console.WriteLine(sOutput)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)