205 Topics
| |
Hello everyone, I’m working on a project to develop an educational software aimed at teaching programming logic to beginners. The app will focus on short questions and mini-games to make learning engaging and interactive. It’s targeted at university students in their first semesters and will primarily use Java as the … | |
I was thinking that one way that a coding team could work would be that coders would be rotated through several roles. This would prevent people from getting too comfortable towards the goal of preventing problem areas (code quality wise) from developing in the department. * Architecture * Production Coding … | |
## Introduction ## In Android development, UseCases are classes that encapsulate business logic that are often used in ViewModel classes. UseCases belong to the optional Domain layer in Android apps, so they are not required, but can reduce your ViewModel’s complexity and make your application easier to test. In this … | |
I have a tab structured view which consists of 5 different tabs. the content in all the 5 tabs were same, So i have reused the code and rendered the same code multiple times using knockout js. the problem here is that I have a datepicker control too. As the … | |
Hi. im developing a loan processing system using mvc c# asp.net. One of the requirements of the system is to perform a credit history check on the customer applying for a loan. so this is how it works: -the customer applies for a loan. the customers id number gets stored … | |
i have below code and i need to addd close button (x) on popover for each three popovers ,can any one help me how to do this <div class="row"> @*<div class="col-lg-1 popper" title="Note" data_toggle="popover">sdsda*@ <div class="col-lg-1"> <i class="ShowToolTip popper fa fa-eye LabTaskClass28 LabTaskClassforShowHideCol77" title="No task result for note" data_toggle="popover" style="/*! … | |
I need help.. someone please provide some suggestions where to start.. I'm trying so hard to become a Fullstack .Net developer.. I'm currently learning MVC using C# | |
I've been studying TDD for a few years and read quite a few books but none that good to be honest. Can anyone recomend any good ones. I'm not interested in BDD but am keen on anything that tackles the many problems of mocking intrinsic MVC objects. | |
I have a bootstrap view which I am trying to get a modal working for. Unfortunately the modal is displaying as part of the page, not invisable. So it is displaying with it's content as part of the page. Here is my code: <!-- Placing excel upload modal here... --> … | |
I am currently experiencing something strange with one of my routes' responses and haven't been able to find any information elsewhere. So, let's say I make a call to a route in my controller with JQuery, like this. It's a POST action and I expect JSON data. // Send the … | |
Im working on a one huge project that is combination of many sub projects which is talking to eachothers and they all use apart from data base whice responsible to manage user's account i dont want to work with one database so i have to isolate each project's database and … | |
I'm currently doing some encoding work to protect a site from XSS attacks. We've stuck a bunch of `<script>debugger;</script>` tags in the db. Dispite my best efforts, the strings I've encoded to stop the debugger getting hit (to prevent an XSS attack), are still getting hit in developer tools. Is … | |
i write certain piece of code using mvc 4 and jquery and jtable ,but data is not visible in grid ,only blank grid is present , (No data available!) although i have updated all references of jquery in vs 2012 , action method is showing 3 records at quick watch … | |
can any one help me how to pass model object from view to controller using ajax .i have below code but not working.i am getting null in EmpAddType .even i selected any thing from drop downlist <script> function GetFilter() { var employeeAddress = { "EmpAddType": $("#drop1 option:selected").text() } alert($("#drop1 option:selected").text()); … | |
Is it possible to make a web page that takes up responsibility for backing up a web applications tables(Oracle DB, and perhaps SQL server I am trying to be multi db supportive)? Essentially I want to create a database backup script that is kicked off by pressing a button on … | |
I am developing a website that gives statistics for soccer games,and i want to convert the schedule of the match depending on the time zone. I created this function but it seems not to be working. public static DateTime UtcToLocalTimeZone(DateTime argDateTime,TimeZoneInfo argTimeZoneInfo) { try { return TimeZoneInfo.ConvertTimeFromUtc(argDateTime, argTimeZoneInfo); } catch … | |
<pre> hi every one I am working on vs 2012 and mvc 4 ,just small project , i need to apply theme( http://all-free-download.com/free-website-templates/download/magic_city_template_2087.html ) and remove default one ,can any one help me how to do this ?? </pre> | |
<div class="list-group"> <div id="id1" class="list-group-item" data-target="@Url.Action("Index","DayilyProposials")" > <span class="badge" style="font-size:10px;color:#fff" id="DailyPropNumber">0</span> <span style="font-size:10px;font-weight: 900;font-weight: 900;">Daily Proposals</span> </div> <div id="id1" class="list-group-item" data-target="@Url.Action("HotG","home")"> <span class="badge" style="font-size:10px;color:#fff" id="HotGamesNumber">0</span> <span style="font-size:10px;font-weight: 900;">@index.Index.hotgames</span> </div> <div id="id1" class="list-group-item" data-target="@Url.Action("Index","home")"> <span class="badge"style="font-size:10px;color:#fff" id="TodayNumber">0</span> <span style="font-size:10px;font-weight: 900;">Today</span> </div> <div id="id1" class="list-group-item" data-target="@Url.Action("Index","home")"> <span class="badge" style="font-size:10px;color:#fff" id="ByTimeNumber">0</span> <span style="font-size:10px;font-weight: … | |
So here is my problem laid out as simple as I can put it. I cant combine multiple entities together that have related data but are different (one database table has id number that is shared by database table 2 and table 2 has employee number which is shared with … | |
using (MySqlCommand cmd = new MySqlCommand("SELECT EmpId, Emp_Name, Salary , Start_date , End_date , CASE WHEN (Employees.End_Date is null) THEN DATEDIFF(DATE_ADD(Start_Date, INTERVAL 30 DAY), Start_Date) * Salary/30 ELSE DATEDIFF(End_Date, Start_Date) * Salary/30 END AS Total_Salary From Employees;")) { using (MySqlDataAdapter sda = new MySqlDataAdapter()) { cmd.Connection = con; sda.SelectCommand = … | |
Hello, I have two submit buttons(submit OTP & Resend OTP) in form. I need model validation(submit OTP) on one button(if OTP is not entered) and on second button(Resend OTP), it should post/submit(send OTP in Email) the form. on server side, I'll check formaction and will do diff. operations for both … | |
@model Stattips.Models.MatchesList <br /> <div class="col-sm-8 container-fluid"> <table class="table table-striped "> <tr rowspan="3"><ul class="breadcrumb"> <li><a href="#">Soccer</a></li> <li><a href="#">Albania</a></li> <li class="active">Kategoria Superiore</li> </ul></tr> <tr> <th>Matches</th> <th>Country</th> <th>Odds</th> </tr> @using (Html.BeginForm("AddMatches", "Matches")) { for (int i = 0; i < Model.Matches.Count(); i++) { <tr> <td> @Html.CheckBoxFor(m => Model.Matches[i].IsCheck) @Model.Matches[i].HomeTeam-@Model.Matches[i].AwayTeam @Html.HiddenFor(m => Model.Matches[i].HomeTeam) … | |
Hi guys, as I'm looking into the MVC pattern, I thought I'd create a small application to understand a bit more. Let's look at the code: //model package model; public class StudentModel { private String name; private String surname; private int number; public String getName() { return name; } public … | |
| I have a SPA which uses an AngularJS front end and C# back end. The issue I'm having is when I navigate to the login page, it is using @Html.Partial("_LoginPartial"). The url then becomes .../Account/Login. When I click on say the "About" tab, this uses an AngularJS route which in … |
Im working on a small website and im a little confused on one step. I'm following a very simple mvc pattern, ive currently got one controller that creates a session array that holds all the posted data IF the form has been submitted, This data is coming from several different … | |
SEEMS AS IF MY ARTICLE HAS BEEN SUBMITTED TWICE. I DO APOLOGISE FOR THAT Hi guys, I'm working on a small website and I'm currently stuck on a small issue. Ive got a set of dropdown boxes created and populated in HTML, for example: <select name="heatingType" id="heatingType" required> <option value="" … | |
public IList<Labour> Labours { get; set; } public class Labour { public string WorkDates { get; set; } public string WorkHour { get; set; } } I have this code above on my class. How can i add this to my Create View Razor? can anyone tell me please. Also … | |
This is a continuation of our basic tutorial on MVC Framework. In this section, we will be creating the template files for both the TBS and the Smarty template engines. **The recap** In [part one](http://www.daniweb.com/web-development/php/tutorials/476695/part-one-php-mvc-framework-understanding-the-basics), we have created application controllers, models, and the one and only lone View class. Once … | |
I am declaring in my model the following: import DS from 'ember-data'; export default DS.Model.extend({ name: DS.attr('string'), age: DS.attr('number') }); My server is returning the following json: {"name":"ali","age":33} When i extend the JSONserializer that expects this form must I override any method like extractArray since I am calling findAll in … | |
Hi, I am working of a PDF to image converstion. I found ghostscriptsharp which is a c# wrapper written for ghostscript. I used it and developed my application. Most thing if not all worked fine when i was testing with my console application. After I integrated it into the webapp … |
The End.