335 Posted Topics
Re: If you want us to do your homework you could at least post the homework instructuions. | |
Re: Because image_id cannot be both 7 and 9 right? What is it you want to achieve? Maybe sql = "SELECT * FROM image_upload WHERE location='article' AND (image_id='7' Or image_id='9')"; | |
Re: It varies considerably depending on how long someone stares at the screen before entering something. Try starting a timer on line 9 and finishing it on line 24 and seeing how long it takes that way. The trouble with that is that by measuring the code you are changing the … | |
Re: I think you can use double buffering - you will need to Google it, its been a while since I did animation. | |
Re: void is a return type. In programming languages methods or functions may return something. What type of data they return is usually specified in the method signature. If they don't return anything then void can be used to signify this. C++ types can easily be found on many website such … | |
Re: If you do decide to try Asp.net then don't bother with WebForms, go straight for MVC would be my advice. | |
Re: Hi Post your code and I shall take a look at it. Only kidding. Email it to me and I shall see if I can think of anything - send me a private message and I will give you my email address. | |
![]() | Re: My bit to add - just have a normal non submit button and wire up to the click event on that. |
Re: Did you create your table like this? CREATE TABLE t1 ( col1 CHAR(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci ) | |
Re: Hey you are in the same county as me! Can you show me your html form or sample post data? | |
Re: If you provide me with Create Scripts for the Schema and some sample data I will have a go at it. | |
There is a bug on the site. I was able to send a message to myself. Should this be allowed? How do I know it was from me? Maybe it was from future me???? | |
Re: You need to get a collection of customers in your model. You do this in your controller and pass the model to your view. For example: var model = new MyModel(); model.Customers = GetCustomers(); return View(model) Then in your view you have something like: @Html.DropDownListFor(model => model.CustomerId, new SelectList(Model.Customers, "Id", … | |
Re: Is this what you need? ("Update Medicine_Details SET UnitsInStock = UnitsInStock + " & rs3.Fields.Item(3).Value & " where ProductID='" & rs3.Fields.Item(2).Value & "'") | |
Re: Why not write from scratch. HTML and JavaScript Front End, SQL Back end. Doesn't sound like too much work, or are you only after something off the shelf? | |
Re: You will need to be a bit more specific. Can you give a few more details? | |
When you issue an update-database command from the package manager console, the migraiton inserts a zipped, base64 encoded representation of the model into the migrations database table in the model column. My question is when is this data determined? Is it when you create the migration using add-migration or is … | |
Re: Have a look at the Interpretor pattern http://www.dofactory.com/net/interpreter-design-pattern | |
Re: Hi A hashed password in my system looks something like this: $2a$10$dfLab4y467mdxJeSDlvAIOOjKmrW8Tbm80IN9qm5WVd7ALGZTQkBe In my table they are all the same length - this is usually part of the hashing algorithm. When someone attempts to logon you take the password they typed in and hash it. You then compare it with … ![]() | |
What are activity points and what can you do with them? Thanks | |
Re: Hi Alfonso. With a name like Alfonso C, I hope you code in C! | |
Re: What database are you using? Does Bank Account really have spaces in? Also does Account Name really have spaces in? | |
I get an errror when trying to upload a profile photo. The upload destination folder does not appear to be writable. | |
Re: A class is needed - this is an academic piece of work and the instructions say to use a class. Always follow the instructions if you want good marks! | |
Re: Darkagn is right - line 6 certainly looks wrong | |
Re: What kind of panel? | |
Re: Where is your other code - the code you want to run when the timer ticks? | |
Re: See what the sql statement actually is by debugging then run this manually in the database and see what you get. There are some other good practice issues with your code but we can look at these after we have it functioning. | |
Re: Dude thats a mess! Tell me in plain english what you want to achieve and I'll code it for you along with some explanation of good practice - eg classes should be named after nouns - eg Car, Person, Animal, Customer and the operations or methods should be named after … | |
Re: I bet you can do this with linq in one line! |
The End.