C# connect MySql
摘要:http://zetcode.com/db/mysqlcsharptutorial/ MySQL C# tutorial0. first: add reference MySql.Dataaddusing MySql.Data.MySqlClient; 1. connect & selec...
阅读全文
web service c#
摘要:http://www.youtube.com/watch?v=mKjvKPlb1rA SOAP Web Services 01 - Introduction To Web Serviceshttps://www.youtube.com/watch?v=GzN1vHWlJjA W...
阅读全文
Android Lifecycle
摘要:1.Bundle savedInstanceState it is not persist. it does not share between activities, it is nolyfor one activity. it is saved for soft kill like: 1.o...
阅读全文
MongoDB Aggregate
摘要:1. $sum: add 1 for each document in groupexample1:select manufacturer,count(*) from xxgroup bymanufacturer{ "_id" : ObjectId("50b1aa983b3d0043b51b2...
阅读全文
mongoDB index
摘要:0. statsshow db statsdb.grades.stats()1. create indexdb.students.ensureIndex({class:1,student_name:1})unique indexdb.students.ensureIndex({class:1,stu...
阅读全文