-
Replied To a Post in Design issue in C#
Hi Sorry I'm a bit late coming to this thread now but pretty much agree with everything that has been said. Do use self describing names for variables and methods … -
Replied To a Post in view and iud
Ok wow that is a lot of questions. I think what you really need is a good all round grounding in MVC. I cannot give you that in this kind … -
Replied To a Post in Encrypting an object
This is deserialisation code - do you have serialization code? -
Replied To a Post in Encrypting an object
Yes I would think so. Can you show use your code? -
Replied To a Post in aviod to duplicate data in sql using insert and update in mvc
Here it is in a cleaner, more elegant way. It's much better this way. if (ModelState.IsValid) { if(db.products.Any(p => p.Name == product.Name)) { ModelState.AddModelError("txtName","Product Name already exists."); } else { … -
Replied To a Post in aviod to duplicate data in sql using insert and update in mvc
Well done. You should not use try catch like that though. A more elegant way would be to use the linq Any function eg: var exists = db.products.Any(p => p.Name … -
Began Watching knowing information
Hi..... this is pradeep I'm intrested to create a better operating system than "Wintel"im also learnt the C,C++ languages.is there any possible to create operating system...........? -
Replied To a Post in knowing information
Is it possible. Certainly. Operating systems are not trival though. The ones we have today are the result of probably millions of man hours so I wish you the best … -
Replied To a Post in sorting array into variable
Well done :) -
Replied To a Post in aviod to duplicate data in sql using insert and update in mvc
I understand what duplicates are, but what I don't understand is what your data entry form and insertion code looks like. Show me your EF code for inserting data please. -
Replied To a Post in Forum
So by a free template, what do you mean exactly? -
Gave Reputation to diafol in Displaying left and right arrows
It would help if you explained what you need properly in the first place. Not this piecemeal release of info as if it's some big secret. Good luck with it. -
Replied To a Post in Displaying left and right arrows
Which image should change? -
Began Watching Forum
I want to Create a Forum For My Project But I don't Know The Process And Please Suggest Me Any Free Template Thank You -
Replied To a Post in Forum
https://www.webwiz.co.uk/web-wiz-forums/ is quite good -
Replied To a Post in Saving text after app is closed
Ok no problem I will show you an example. Can I check what UI you are coding though - WPF, WinForms etc? Also I think you already added me on … -
Replied To a Post in CVs on DANIWEB
I find the best reason to give when you don't know what it is "too much klunk in the stuffit expander" - give it a go it's weirdley satisfying! -
Replied To a Post in slideshow with list and array
Sure you can have a for loop. Which particular kind of for loop though and for which part of the logic? -
Began Watching Combine two words from two arrays then output alert
I'm creating a profanity filter (word filter), when a user inputs certain words, it will output an alert. Here is a [JSFiddle Example](http://jsfiddle.net/o20og68y/) In this example if the user inputs … -
Replied To a Post in Combine two words from two arrays then output alert
Why are there periods in there? People don't put a period between two words when they swear. Also why have two arrays? Why not just one array - you don't … -
Began Watching Problem with Stored Procedure Code
Hi All I use MS Access to import information from Excel, check for duplicates and post it to an Access data table. The amount of data is making this process … -
Replied To a Post in Problem with Stored Procedure Code
So have you move everything to SQL server - ie no more Access and Excel at all? -
Began Watching aviod to duplicate data in sql using insert and update in mvc
I inserted data in sql server using asp.net (MVC 5), and its flowing nicely, but my problem is this. I don't want to insert in sql the exist data. How … -
Replied To a Post in aviod to duplicate data in sql using insert and update in mvc
Can you elaborate please? What kind of data is this? Where is it coming from? Are you using Entity Framework or plain Ado.net? Thanks -
Began Watching How to use timespan axes in bar chart in vb.net?
Dim x As Integer Dim y(100) As TimeSpan For x = 1 To frames y(x) = time1(x) list.Add(x, y(x)) Next x what is the solution for this ? is there … -
Replied To a Post in How to use timespan axes in bar chart in vb.net?
You say you are using Vb.net but what is your UI technology? WinForms, WPF, WebForms, MVC etc? -
Began Watching sorting array into variable
Hi, This is my problem : foreach ($_POST['a'] as $b) echo $b; $_POST['a'] from my previous page, multiple selection list box (i get this data from my lookup table which … -
Replied To a Post in sorting array into variable
insteadof echo $b, append a$ to C$ with a comma each time you go through your foreach. You will need a little finesse to make sure you don't end up … -
Replied To a Post in Encrypting an object
Next time I'm in Belgium definatley, haven't been for about 35 years though! -
Replied To a Post in Saving text after app is closed
"a label is on the screen, with text = "YES" when I press button 1 the text changes to = "NO" (I did this is too easy) but when I … -
Replied To a Post in Encrypting an object
Apologies ddanbe, I never realised there was a side question, only just spotted it. I really did think you had posted in the wrong thread! -
Replied To a Post in Lazy Questions
@Anyone - I'm not really talking about a lack of gratitude - I don't need any, I'm just talking about badly worded, half sentences that don't describe the help needed … -
Began Watching SQL statement for Total in vb.net
hi guys, i had an account on Daniweb but forgot password and recovery was a bit hectic so decided to crreate a new account. the previous username was emma etigu. … -
Replied To a Post in SQL statement for Total in vb.net
I don't see any quantity or sales columns :( What database is this coming from? Do you want the SQL to populate your dataset in the first place, or are … -
Replied To a Post in Encrypting an object
@ddanbe - think you posted in the wrong thread. On the whiskey already!? @no123 - youre welcome -
Replied To a Post in Encrypting an object
If you are serializing and then encrypting and writing to a file then the reverse will be read from disk, decrypt and then create an object in memory, then does … -
Replied To a Post in Lazy Questions
Ok I feel like a grumpy old man now! In a better mood now the sun is shining :) -
Replied To a Post in Remove line space
There are many ways you can do this. Perhaps the simplest is just to restructure your html slightly with: <div id="units"> My Company Name <p> My company Address<br /> <span>My … -
Began Watching Remove line space
Sir I have following codes <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title> Test </title> <style type="text/css"> #aboutus { border: 1px … -
Replied To a Post in Remove line space
Can you post an HTML snippet too? -
Replied To a Post in c++
You have marked this as solved. Did you want to do that or do you need more help? -
Replied To a Post in jquery noob
View source depending on the browser and how you are viewing the source may show you the source when the page was loaded or it may be a real time … -
Replied To a Post in Encrypting an object
Try this: using System; using System.Text; using System.Xml.Serialization; using System.IO; namespace ConsoleSerialisation { public class Program { private static readonly Encoding LocalEncoding = Encoding.UTF8; static void Main(string[] args) { using … -
Created Lazy Questions
Is it just me or is it just frustrating and annoying when people want our help but can't be bothered to even type a full, clear sentence or two to … -
Began Watching Lazy Questions
Is it just me or is it just frustrating and annoying when people want our help but can't be bothered to even type a full, clear sentence or two to … -
Began Watching i-report or jasper report tool
How can i get i-report or jasper report tool free? -
Replied To a Post in i-report or jasper report tool
It says it is free here so just download it I guess. https://community.jaspersoft.com/project/ireport-designer -
Began Watching I am getting last session id in another page, need to get click value
Any body help me to get click value in another page using sessions my code is <table class="table table-condensed"> <thead> <tr> <th>S No</th> <th>Student Name</th> <th>Standard</th> <th>branch</th> <th>Action</th> </tr> </thead> … -
Replied To a Post in I am getting last session id in another page, need to get click value
If you reword your qestion you may get more help. It is a real chore to read and doesn't explain things very well. Try and be very specific, unambiguous and … -
Began Watching c++
how I become C++ writer?
The End.