Welcome to Mandalay Technological University Forum ဴမန္မာအင္ဂဵင္နီယာမဵားဖိုရမ္ |
| | Book Rental | |
| | Author | Message |
---|
Tyfone LEVEL '0'
Number of posts : 24 Age : 35 Location : Myanmar Batch if MIT (if not simply fill YIT) : MIT(SM) Registration date : 2006-11-11
| Subject: Book Rental Sat Jun 27, 2009 10:56 am | |
| using System; using System.Collections.Generic; using System.Text; using System.IO; namespace bookrental { class BookIssue1 { public List<BookDataFile> OBook = new List<BookDataFile>(); public int bookNo;
public static void Main() {
} public void LoadData() { } public bool FindBook(BookDataFile BookDF) { } public static void Display(BookDataFile BookDF) { Console.Clear(); Console.SetCursorPosition(30, 5); Console.WriteLine("Book Data"); Console.SetCursorPosition(30, 6); Console.WriteLine("---------"); Console.SetCursorPosition(25, ; Console.WriteLine("Book No. :{0} ", BookDF.BookNo); Console.SetCursorPosition(25, 10); Console.WriteLine("Book Name :{0} ", BookDF.BookName); Console.SetCursorPosition(25, 12); Console.WriteLine("Author :{0} ", BookDF.Author); Console.SetCursorPosition(25, 14); Console.WriteLine("Publisher :{0} ", BookDF.Publisher); Console.SetCursorPosition(25, 16); Console.WriteLine("Price :{0} ", BookDF.Price); Console.SetCursorPosition(25, 18); Console.WriteLine("No. of copy :{0} ", BookDF.No_Copy); }That's one of file for Book rental. book issue. that's can't update at memory. not at data file. which path should i add. please show me the way for all of my C# seniors | |
| | | Tyfone LEVEL '0'
Number of posts : 24 Age : 35 Location : Myanmar Batch if MIT (if not simply fill YIT) : MIT(SM) Registration date : 2006-11-11
| Subject: Re: Book Rental Sat Jul 04, 2009 9:39 am | |
| - Tyfone wrote:
- using System;
using System.Collections.Generic; using System.Text; using System.IO; namespace bookrental { class BookIssue1 { public List<BookDataFile> OBook = new List<BookDataFile>(); public int bookNo;
public static void Main() { BookDF.No_Copy++; display(); } public void LoadData() { } public bool FindBook(BookDataFile BookDF) { } public static void Display(BookDataFile BookDF) { Console.Clear(); Console.SetCursorPosition(30, 5); Console.WriteLine("Book Data"); Console.SetCursorPosition(30, 6); Console.WriteLine("---------"); Console.SetCursorPosition(25, ; Console.WriteLine("Book No. :{0} ", BookDF.BookNo); Console.SetCursorPosition(25, 10); Console.WriteLine("Book Name :{0} ", BookDF.BookName); Console.SetCursorPosition(25, 12); Console.WriteLine("Author :{0} ", BookDF.Author); Console.SetCursorPosition(25, 14); Console.WriteLine("Publisher :{0} ", BookDF.Publisher); Console.SetCursorPosition(25, 16); Console.WriteLine("Price :{0} ", BookDF.Price); Console.SetCursorPosition(25, 18); Console.WriteLine("No. of copy :{0} ", BookDF.No_Copy); }
That's one of file for Book rental. book issue. that's can't update at memory. not at data file. which path should i add. please show me the way for all of my C# seniors public static void Main() { BookDF.No_Copy++; display(); } i got it now .... | |
| | | | Book Rental | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |
|