335 Posted Topics

Member Avatar for sabata mmoledi

If you want us to do your homework you could at least post the homework instructuions.

Member Avatar for DaveAmour
0
195
Member Avatar for davy_yg

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')";

Member Avatar for DaveAmour
0
151
Member Avatar for Biaa

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 …

Member Avatar for Schol-R-LEA
0
145
Member Avatar for Chris_29
Member Avatar for Tigr@

I think you can use double buffering - you will need to Google it, its been a while since I did animation.

Member Avatar for JamesCherrill
0
159
Member Avatar for ramsiva
Member Avatar for bernardine

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 …

Member Avatar for DaveAmour
0
57
Member Avatar for christos312

If you do decide to try Asp.net then don't bother with WebForms, go straight for MVC would be my advice.

Member Avatar for DaveAmour
0
811
Member Avatar for slyme
Member Avatar for geodosch

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.

Member Avatar for Dani
1
252
Member Avatar for RudyM

My bit to add - just have a normal non submit button and wire up to the click event on that.

Member Avatar for DaveAmour
0
227
Member Avatar for Rizi004

Did you create your table like this? CREATE TABLE t1 ( col1 CHAR(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci )

Member Avatar for almostbob
0
273
Member Avatar for Scoobs37

Hey you are in the same county as me! Can you show me your html form or sample post data?

Member Avatar for Scoobs37
0
755
Member Avatar for Trench37716

If you provide me with Create Scripts for the Schema and some sample data I will have a go at it.

Member Avatar for Trench37716
0
223
Member Avatar for Doogledude123
Member Avatar for DaveAmour

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????

Member Avatar for DaveAmour
1
166
Member Avatar for erum

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", …

Member Avatar for erum
0
138
Member Avatar for Arun_12
Member Avatar for infoitmanoj

Is this what you need? ("Update Medicine_Details SET UnitsInStock = UnitsInStock + " & rs3.Fields.Item(3).Value & " where ProductID='" & rs3.Fields.Item(2).Value & "'")

Member Avatar for infoitmanoj
0
294
Member Avatar for Dani

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?

Member Avatar for Dani
0
253
Member Avatar for khin thida phyo
Member Avatar for DaveAmour

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 …

0
88
Member Avatar for DuduGuy
Member Avatar for davidnelson4911
0
273
Member Avatar for mattyd

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 …

Member Avatar for iamthwee
0
396
Member Avatar for DaveAmour
Member Avatar for DaveAmour
0
125
Member Avatar for poncho208
Member Avatar for JorgeM
0
97
Member Avatar for Liwons

What database are you using? Does Bank Account really have spaces in? Also does Account Name really have spaces in?

Member Avatar for Liwons
0
134
Member Avatar for DaveAmour

I get an errror when trying to upload a profile photo. The upload destination folder does not appear to be writable.

Member Avatar for DaveAmour
0
152
Member Avatar for king03

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!

Member Avatar for duke_swh
0
389
Member Avatar for CeeGee
Member Avatar for y2kshane
Member Avatar for leo88
Member Avatar for leo88
0
1K
Member Avatar for cutexxbaby

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.

Member Avatar for DaveAmour
0
380
Member Avatar for CeeGee

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 …

Member Avatar for DaveAmour
0
895
Member Avatar for FELIGO

The End.