Thursday, 29 September 2016

UseFull URL TimeTable

http://www.sourcecodester.com/asp?page=1

https://sourceforge.net/directory/os:windows/?q=school%20management%20asp.net


http://www.sourcecodester.com/aspnet/9684/transportation-system-online-using-aspnet.html


http://www.sourcecodester.com/android



http://www.sourcecodester.com/10283/family-tracker-app.html


https://www.academia.edu/7760318/STUDENTS_ATTENDANCE_MANAGEMENT_SYSTEM_MINI_PROJECT_REPORT_MASTER_OF_COMPUTER_APPLICATIONS

http://projectseminar.org/asp-net/student-management-system-project/783/
https://www.youtube.com/watch?v=MfI9YUOuzuc

http://www.codewithc.com/school-management-system-asp-net-project/


https://www.academia.edu/7760318/STUDENTS_ATTENDANCE_MANAGEMENT_SYSTEM_MINI_PROJECT_REPORT_MASTER_OF_COMPUTER_APPLICATIONS

how-to-add-value-to-my-matrix-type-like-an-array

static void Main(string[] args)
        {
            Matrix<int> m = new Matrix<int>(10);
            m[0, 0] = 10;
m[0, 1] = 20;
            Console.WriteLine(m[0,0]);
Console.WriteLine(m[0,1]);
            Console.ReadLine();
        }
// Define other methods and classes here
class Matrix<T> where T : IComparable, IComparable<T>, IConvertible, IEquatable<T>, IFormattable
    {
        #region typedef
        private List<List<T>> matrix;
        #endregion
        #region overloading
        public T this[int row, int col]
        {
            get { return matrix[row][col]; }
            set { matrix[row][col] = value; }//ArgumentOutOfRangeException
        }
        #endregion
        #region functions
        public Matrix(int size)
        {
            matrix = new List<List<T>>(size);
            for(int i=0;i<size;++i)
            matrix.Add(new List<T>(Enumerable.Repeat(default(T), size)));
        }
        #endregion
    }

Monday, 26 September 2016

method inside an Linq

void Main()
{

var q = (from p in Posts join b in Documents
        on p.User_id equals b.User_id
        where p.User_id== 3
        select new
{
T = p.Post_doc_id,
S=p.Post_gpslocation_id,
Z = p.Post_feeds,
})
        .AsEnumerable()
        .Select(x => new
{ T = x.T,
S = someMethod(1,3).ToString(),
});
q.Dump();
}


// Define other methods and classes here
int someMethod(int a, int b)
{
int c = a+b;
return c;
}

insert the data from C# Program LinqPad 5 Query

void Main()
{
// Create a new Order object.
Post ord = new Post
{
User_id=2,
Post_doc_id="11",
Post_gpslocation_id="1",
Post_feeds="hell hi",
// …
};
// Add the new object to the Orders collection.
Posts.InsertOnSubmit(ord);
// Submit the change to the database.
try
{
   SubmitChanges();
}
catch (Exception e)
{
   Console.WriteLine(e);
   // Make some adjustments.
   // Try again.
   SubmitChanges();
}
ord.Dump();
}
// Define other methods and classes here