I want to create a theater management system in which I have to dynamically add the seats as present in the table of database. Imagine a theater where there are seats from Row A to J and seat number 1 to 10. I want to make sure that if the seat is booked, I have to show it Red, if its vacant, I have to show it in green and if its disabled, it must be grayed out. I also want to create the table for such layout in Silverlight... Any suggestions?
Homework - we've had this question at least twice before, and we don't do homework for people. It's not that we feel we're too good to do it, it's that you won't learn anything if we do it for you. Part of being a programmer is being able to anaylze the problem, establish requirements, create the design, and implement the solution by developing the code.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
I have to do a validation to check the duplicate records in my application, with the use of Identifier name..
am getting a reply from database in the form of SOAP Message(XML format), through Java, means java is passing an identifier name for that particular application, by using this Identifier only, i have to do the validation, so will u pls tell me how can i do this by using that identifier name...
am passing the Identifier name through strIdentifier, through which i need to perform validation and perform all the action, related to my application and am passing the report template name(from TextBox) and description through "ReportTemplateTypeName" and "Description" respectively in the above function..
The below code is used to pass the request through SOAP Server to communicate with Database.
Assume that the identifier name is "RPNew", so by using this identifier name only,because through Identifier only am communicating with Database, i have to do the validation for checking the duplicate record while am saving the new report...
Hope this will help in Understanding the question better, so shall i expect a answer with a sample..
First of all, what does this have to do with Silverlight or WPF? Secondly, you are looking to the validation at the wrong location - the only place you can effectively do this is at the database end, which will require the validation to be triggered from that side. You have to do it there because of timing issues - suppose you have two people who both enter the identifier Bob and submit it at the same time; they could both very well pass the validation, only to fail the insert because there is now a conflict.
Rakesh Gowda wrote:
so shall i expect a answer with a sample..
Third - that's not the way this site works. We generally don't give full samples here - we help to correct code and to suggest things, not write the whole things ourselves.
I'm not a stalker, I just know things. Oh by the way, you're out of milk.
New to silverlight, i have a problem.
I have created a service to connect to a database and i want to call it many times, the problem is that
string a and string b is executed before the event is triggered?
in the event i have code that catches the result from the service and i want to save it to the string a and then call the same service again and save that result to string b.
but i can't do that if the event isn't triggered each time
any ideas on how to solve?
serviceclient x = new serviceclient
x.xxx_completed += the event
I have a small projects based on MVVM. I am using tree view control but I am unable to fire a command when a treeview node is selected. My command is declared in a ViewModel.cs file, command is defined in Command.cs file. the command is being called in XAML page. Codes from these three files are here for your ready reference. I searched web a lot, but did not overcome my problem.
I'd like to display my own WPF window at start up, which means I don't need standard splash screen. But, I'd like exactly the same behavior as splash screen. It means my own WPF window should appear right after the aplication started and stay visible until the main application window shows up.
Due to business requirements, I have to have something like a process to run all the time to retrieve data and do processing with it...
My first guess is to create a windows service so that it can be started and be left running.
Is windows service the best choice for my requirement or can I have a wcf i.e. .svc file to do the same thing i.e. (get started and be left running all the time). ?
Last Visit: 31-Dec-99 18:00 Last Update: 1-Oct-16 6:48