replace specific value in all cells when selecting from sql table to dgv
◷
تاریخ انتشار: 1395/2/24 | ساعت: 19:01
Vote count: 0 I use Select query to fill DataTable from sql table and then use that DataTable as a DataSource for my DataGridView. In my sql table i have a column named 'status' that contains values between 1-3. When i display my dgv on my form I want every cell on column 'status' with value of 1 to...
How do i use ASP.NET MVC 3 DNN Module on different pages but passing different parameters?
◷
تاریخ انتشار: 1395/2/24 | ساعت: 19:01
Vote count: 0 How do i use ASP.NET MVC 3 DNN Module on different pages but passing different parameters ?. My requirement is to develop a DNN module using ASP.NET MVC that lists cities based on province.On another page List all Lecturers based on a department.I dont want to design 2 modules that onl...
Multiple Popunders with capping Javascript
◷
تاریخ انتشار: 1395/2/24 | ساعت: 17:38
Vote count: -2 I am using the following JavaScript to open a popunder, but right now it's opening only 1 popunder per cookie session, i.e. 1 popunder for 24 hours, and I want to open 2 popunders per session, i.e. 2 popunders open at the same time. How do I do that? <script type="text/javascript" lan...
I want to configure DateAxis tick for JfreeChart.
◷
تاریخ انتشار: 1395/2/24 | ساعت: 17:38
Vote count: 0 I want to configure DateAxis tick for JfreeChart. Currently it is giving 10 ticks by default. I want to configure it manually like 5 or 8 or 15. Please advice how to manually give number of ticks for DateAxis Jfreechart. asked 6 mins agoCool Let's block ads! (Why?)
COTS SQL CMS for production data entry
◷
تاریخ انتشار: 1395/2/24 | ساعت: 17:38
Vote count: 0 First let me describe my situation, because it shows what all I would need this application to do. At my company, we have a lot of production data in excel and access database files around on different computers and locations on our network drives. These files are updated during produc...
Why would you ever use javascript when you can use jsp?
◷
تاریخ انتشار: 1395/2/24 | ساعت: 16:29
Vote count: -2 I'm a novice in web programming. I just genuinely have a hard time thinking of one thing that javascript does better than jsp. asked 4 mins agouser2911983 Let's block ads! (Why?)
How to run more than one tcl scripts at the same time
◷
تاریخ انتشار: 1395/2/24 | ساعت: 16:29
Vote count: 0 I want to run four tcl at the same time. In shell, I can use "&" to run. Is there something in tcl like "&" to run concurrently? I just want to run four independent tcl in one terminal and don't want to use multi-thread. asked 4 mins agoTomas Let's block ads! (Why?)
Git: git diff show changes, but merge says up to date?
◷
تاریخ انتشار: 1395/2/24 | ساعت: 16:29
Vote count: 1 So I have two branches: master and other. I merged other branch into master, but for some reason source for one commit have not changed. I can see those commits in master by ru ing git log, but actual source code have not changed. In other branch it has new changes, but master does not...
Rescue git pull
◷
تاریخ انتشار: 1395/2/24 | ساعت: 15:27
Vote count: 0 I use git pull to ensure that local repos are up to date. However, git pull sometimes fails. git pull fails if you have uncommitted changes. Is there a git, or shell, option to ensure that if the commands fails the rest of the script continues? The script currently is: if [ -d "some-re...
errors encountered while interfacing eeprom with microcontroller
◷
تاریخ انتشار: 1395/2/24 | ساعت: 15:27
Vote count: 0 I am not an expert c programmers and in the c code I m getting these kinds of errors. I got many and tried to sort them out but can not solve these. The code is as follows: /* * EEPROM.c * interfacing microchip 24aa64f IC with atmel sam4e */ #include <asf.h> #include "EEPROM_I2C.h" #de...
Mysql too slow on simple query between two tables
◷
تاریخ انتشار: 1395/2/24 | ساعت: 15:27
Vote count: 0 Good mo ing, I've two tables, ANALISI with 1462632 records and PAZIENTE with 1408146 records, this simple count using one of the index of PAZIENTE require about 30 seconds to give back about 65000 records SELECT COUNT(analisi0_.ID_ANALISI) AS col_0_0_ FROM Analisi analisi0_ INNER JOIN ...
how to share the global variable between several processes with Django
◷
تاریخ انتشار: 1395/2/24 | ساعت: 14:23
Vote count: 0 I develop one app with Django framework and deploy it on ubuntu using uwsgi and nginx. If nginx boot two worker processes, these processes will load django app code in two memory areas. If we use global variable G in views.py, then the change for G in one HTTP request may be invisible ...
Kendo Scheduler navigation Cant navigate to sunday in Day view
◷
تاریخ انتشار: 1395/2/24 | ساعت: 14:23
Vote count: 0 I am using a Kendoscheduler with views [Day, Week, Month]. When in day view while navigating via the next button, the scheduler navigates only from Monday to Saturday on the specific week. It doesn't go to next week and also doesn't show sunday. Is this a default behaviour, if yes How ...
How to set a blurimage Library
◷
تاریخ انتشار: 1395/2/24 | ساعت: 14:23
Vote count: 0 I am trying to set a blur image library from https://github.com/Cutta/Simple-Image-Blur/blob/master/app/src/main/java/com/example/cunoraz/ViewPagerAdapter.java here I am just making one image blur from the image view I set the image in src but I am getting a run time error here is my j...
Select from two table from hibernate?
◷
تاریخ انتشار: 1395/2/24 | ساعت: 13:21
Vote count: 0 I have two tables in db employee and department as: CREATE TABLE test.employee ( EMPID int(10) unsigned NOT NULL DEFAULT '1', Name varchar(45) NOT NULL DEFAULT '1', DEPTID int(10) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (EMPID), KEY FK_employee_1 (DEPTID), CONSTRAINT FK_employee_1 F...
JAVASCRIPT validate date in the form
◷
تاریخ انتشار: 1395/2/24 | ساعت: 13:21
Vote count: 0 I tried to do the javascript to validate the date enter is in correct way. For example, for ETA(estimate time arrival), the date should be earlier than ETD(estimate time departure). This is the form: <form> <label>ETA</label> <input id="etadate" name="etadate" type="date" /> <input nam...
Create folder with unicode characters from Oracle database using java
◷
تاریخ انتشار: 1395/2/24 | ساعت: 13:21
Vote count: 0 We have a code for creating folders from within database (java / PL/SQL combination). CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "rtp_java_utils" AS import java.io.*; public class rtp_java_utils extends Object { public static int mkdir (String path) { File myFile = new File (path)...
laravel 5.2 setting default locale in app.php does not work
◷
تاریخ انتشار: 1395/2/24 | ساعت: 11:33
Vote count: 0 i want to set the default locale to zh-tw from en, i changed the locale='en' to locale='zh-tw' in configapp.php, 'locale' => 'zh-tw', but the view is keep using 'resourceslangen', i've also tried but all not useful:added APP_LOCALE in .env=zh-twrun php artisan cache:clear Why configapp...
select fields for includes in rails
◷
تاریخ انتشار: 1395/2/24 | ساعت: 11:33
Vote count: 0 User.includes(:addresses) SELECT "users".* FROM "users" SELECT "addresses".* FROM "addresses" WHERE "addresses"."user_id" IN (1, 2) this is the actual query will run, But In my case, it will be good if the second query would be this(select specific fields) SELECT "addresses"."zip" FROM...
Adding subview in UIWebFormAccessory is approved by appstore?
◷
تاریخ انتشار: 1395/2/24 | ساعت: 11:33
Vote count: 0 about the case about virtual keyboard iOs. i want to keep done button but remove the previous and next button in UIWebFormAccessory, so i adding some button to cover the next and previous button in UIWebFormAccessory. is this ok in AppStore approval? asked 56 secs agoRoushi Let's block...