199,114 Archived Topics
Remove Filter ![]() | |
how can i get the value ...which code write in button click event that get my id.. USE DATATABLE Public Function inst() As DataTable Dim tb2 As New DataTable Dim st As String Dim dfsty As DataSet Dim df As New SqlClient.SqlDataAdapter Try cn.Open() st = "SELECT EmMaster_EmploId FROM(EmMaster) WHERE … | |
I'm having some real trouble running some basic queries that I should be able to run easily. I have a table called settings. When I query `SELECT * FROM settings` I get the output: +----+-----------------+--------------------------------+ | ID | key | value | +----+-----------------+--------------------------------+ | 1 | view | default | … | |
Please anyone can help me. I need to add an if statement to verify if a user already exists on a table. Can someone help me on this. Here is my code. The code below it work but it doesn't verifyed if a user already exists. Thanks <?php /* Attempt … Programming php | |
Hi ,all in this code ,i read filename in package filename using path ,,now i want to read the file B.java that also exist in package filename and relationship between them is inhretance.. "extends" keyword. in this (public class filename extends B ), but not write B.java in path ,i … Programming file-system java | |
Hi all, I'm having some serious issues with AJAX forms. I'm currently using jQuery 2.2.0 and the jQuery Form plugin. I have a simple php file: <?php if(isset($_POST)): print_r(json_encode($_POST)); endif; ?> I have a simple html form: <form method="post" id="regform"> <input id="login_name" name="login_name" type="text" > <input id="login_password" name="login_password" type="text" > … | |
I need to write a C++ program that declares an array of type integer of size 10.The user will enter the number of integers N to be stored in the array. The program should have a number of functions each of them will at least take two parameters.These functions are … | |
I need some help in getting the table headers to sort the data populated to a table in MVC. I have implemented search functionality in which the user can filter whatever results by typing a name, but I need to also get the table headers to sort the information as … | |
So I am working on a messanger, and I am having problems automatically fetching new messages from the database. If anyone can fix me up with a peice of code which can fetch new information from the database after every 2 seconds or so. I am very new to working … | |
Hello, I want help in python for checkbox form i use this html code <input name="do" type="checkbox" value="file1" /> <input name="do" type="checkbox" value="file2" /> <input name="do" type="checkbox" value="file3" /> <input name="do" type="checkbox" value="file4" /> ----------- and after submet for i in query.getvalue("do"): print "_%s_<br>" %(i) when i check more than … | |
I have working struts1 dispatch action and a form having two submit buttons which have parameter and value which calls method name with value. Well there is no problem. But when clicking on delete button, I want to confirm with bootstrap dialog. $('.btnDelete').on('click', function(e){ var $form=$(this).closest('form'); e.preventDefault(); $('#confirm').modal({ backdrop: 'static', … | |
Hi, I'm new to javascript that i didn't learn in college. My form can validate the first name, last name, and address line 1, but cannot validate the phone number and e-mail address. Can u help me to fix this? <!DOCTYPE html> <html> <head> <title>Plain form</title> <script> function validateForm() { … | |
Hi all, I have two square <div> containers one under the other. When I click a button, I would like the second <div> to fade on top. Because the top <div> is transparent, the bottom <div> needs to be hidden first. I have given the second div a Z-index of … | |
I am working on integrate some php file with my platform. The platform using HTML for interface and js file for functionality. I try two appraches: First approach: I call filename.php from form tag action and it is working but, it display the result from php file **outside my platform** … | |
I have cretaed a JSP page that has 4 textboxes that need to be validated. 2 are text and 2 are integers. I have tried using the jQuery validation tool but that didn't work out so well. I will provide my JSP code and my script. Can someone help me … Programming java java-jsp javascript | |
How to make below function to return true if success, otherwise false. I have make return on it but the result is **'undefined'** when i call it to other javascript on the same page like `**if(onloadCallback == false)`**. Thank you for helping. <script type="text/javascript"> var onloadCallback = function () { … | |
import random import time badmStudentsF = ["FNAME1","FNAME2","FNAME3","FNAME4","FNAME5"] badmStudentsM = ["MNAME1","MNAME2","MNAME3","MNAME4","MNAME5","MNAME6","MNAME7","MNAME8", "MNAME9", "MNAME10","MNAME11"] random.shuffle(badmStudentsM, random.random); random.shuffle(badmStudentsF, random.random); print "HackLab Groups : " + time.strftime("%Y-%m-%d %H:%M") print "++++++++++++++++++++++++++" for i in range(0,len(badmStudentsM),1): if i == 4 or i == 8 or i == 12 or i == 16 : print "------------------------------" for … | |
Hello, I have been intruiged by the video stabilization done by YouTube and wanted to implement it on matlab. I tracked down two papers related to it, this being them, 1.) http://static.googleusercontent.com/media/research.google.com/en//pubs/archive/37041.pdf 2.) http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=6738007&url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel7%2F6726158%2F6737993%2F06738007.pdf%3Farnumber%3D6738007 (L1 L2 optimization for video stabilization) I've made some progress, but sadly all I can get … | |
I need to sort three numbers that are entered in 10 different textboxes and display these numbers ascending and when I press a different button display them descending. Now I think that I need to put these three numbers into an array, sort and display, but I'm not really too … | |
Create doubly linked list that has the following information about **books**: **book_id, book_name, author_id, book_price**. Sort list in ascending order by **book_price** using bubble sort algorithm. Delete all books with the smallest and the largest price. How to modify the following program such that the sorting is done using bubble … Programming c c# c++ linked-list | |
Hi Dw. I'm tryign to change a registrykey on my system but I get this error: `ArgumentException was unhandled, The specified RegistryKeyPermissionCheck Value is invalid. Parameter name: mode` here is the line that throws this error: regKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(Root & Last, True, (Security.AccessControl.RegistryRights.FullControl)) and the rest of the function code … | |
Good day guys I need help for adding rows in datagrid where the rows to be added are equal to the number of rows copied from excel. I can copy the data but it displays only the first row from excel on the last row of datagrid but if I … | |
Hi Guys, i want to open .tiff and .tga images in my program's PictureBox but i am not able to open them, any Solution?? | |
hiii frnds i am work in vb.net windows application now in sql empid field is Unique (primary key) that how can i impliment and handle Empid manually | |
I have problem :( [19-Feb-2016 22:46:28 Europe/Berlin] PHP Notice: Undefined offset: 3 in D:\Xampp\htdocs\Fix\index.php on line 30 [19-Feb-2016 22:46:28 Europe/Berlin] PHP Notice: Undefined index: in D:\Xampp\htdocs\Fix\index.php on line 30 [20-Feb-2016 00:39:13 Europe/Berlin] PHP Notice: Undefined offset: 1 in D:\Xampp\htdocs\Fix\index.php on line 28 [20-Feb-2016 00:39:13 Europe/Berlin] PHP Notice: Undefined offset: 2 … ![]() | |
I have a Points class and a Segment class as follows: class Points { double x; double y; int Index=-1; } class Segment { Points Orig; Points End; Segment(const Points& a, const Points& b){Orig=a;End=b} void ChangeGlobalIndex() { do something to change the index of two end points. } } int … | |
hello, i am new to link list in java, the output() method isn't displaying the last value entered by the user, can i get some help? also you will see some commented methods that i still need to create, if would be of much help, if you can get me … Programming java linked-list | |
how to decrypt in vb.net ? 0=wShQbzFxvDkfRt.wGB_hUZ2n5Ja9XWuP_hXf9nyZ_MWYvIoqR0KP2ZeAl_s8eO.RHTJG0lE._5s7jRsp9uEncaolhjGanaiAf2stFNrK5OVFoImgUgDm_CFyDVx9LehWGhSZNgxwOf5GsdVz39gsNeIssq_zv8Aa3XLenRmrfKzjYA-- 1=X7D3rkua3R6OikU8WrjYE3rw.hpY1QWTrKSlT_qXYmG2LhxqRsPHs23wxLAFJIxkmLCKNrKbjk60..mwGgHHsF7qRdywIt.hyvd9CwfcrH9xzqZZVbzetnc2QHrK 2=jkbypkW4jR.7MAX7S7bvaCXmVmvXq_TaiuDWiChnQUGju1X6grqbImVQohj9X_F0TRY4EH6zGI7uuJXqtf2R7ZxHmxYSVOwCje2oVXB_ksI_Gw-- 3=bn2kmlsta3QxggMW.Tl5zXAKLzioMbMEANhRz0QDhhEcOTaKsqfS._Day64dwWOVbLGwl0T49BKOjycCjHWISoZ3Ae2E8FWtubRk2WDRwkmfs2TwYvz1UA-- 4=Vti5_8SBBw8ZJdawvYysmSxDWPR2dCEFnufmWJqve3qQGedttnNp3yPS7ot_KU94cu4SbJwzOyp2PTOQFL2AG2dNgfp_qPDa7GbU_AxRAB.0A0lp_rWEdiwIPbMt98iQAM0GnpW89TletY_e5VE- 5=fbl8hIUF_bCXl.lGpcMGo.zKK9uIqG5wX8NVYXkvWSTIvjpvIQwxxUAQMy9wFWdLoLxCd8jx9_wlWWYStd0.YaRt.isSctMqgjcDGPeY4nRR4tYp20YS6XI- Programming vb.net | |
I have this method that is used to set the columns and data in the listview based on a string. I'm not sure how to add the columns I need programactically. I need to use different data types though. private void populateLeaderBoardList() { string btnContent = (string)btn_exportLeaderBoard.Content; if (btnContent.Contains("Totals")) { … | |
I have basically a combobox and and a text box. What should i do is the combobox consist of subject code whereas the textbox consist of subject name which is stored in database. Can i know is there any ways that when an item from combobox is chosen, it is … | |
Hi all, I wanted to develop an app about retrieving latest transport service updates from a specific twitter account @LTAsg. My app's targeted user is not expected to have a Twitter account. Therefore, I know that I need to use Application-Only Authentication method, if I am not mistaken after I … | |
Hi all, as per title. How can I programtically determine if Cellular is disabled and no Wifi connected from my iDevice, my app will show a popup that asking for user permissions to enable cellular connection using "OK" button. Similarly if there is no Cellular Connection (But enabled) and Wifi … | |
My project uses local sql database. I tried the app on a non development machine for first time. Got a message saying it was downloading required files, sql 2008 express, at a whopping 600MB+ file. Please tell me I've done something wrong, and any user of my app will not … | |
Dear Team - Hello to Everyone!!! pleae note that i m trying jump to test.php page from index.php/html using ajax and mysql, simple if text-input **not found** in table so it should go to test.php else stay on index.php/html page with ajax alerts, but from index page everytime receiving NOT … | |
i'm trying to import random & urllib.request libraries in sublime test but it give my the below error File "C:\Users\7oss\Desktop\print.py", line 47 import random IndentationError: expected an indented block Any ideas ? | |
Trying to make the user write to a file and seeing if it exists and if they should override it print("Enter a file name to save your database to.") name = input('Enter name of text file: ')+'.txt' if name print ("Would you like to overwrite this file? Yes or No") … | |
please help me for this program... You are working for a company designing cute, funny robot vacuum cleaners. At a high level, the robots’ behavior is divided into three modes: 1. Exploration 2. Vacuuming 3. Rampant Killing Unfortunately, while consumer testing shows that the last two modes are working perfectly, … | |
Hello. I want to insert data into django db from a function in the **views.py** file. I'm using **linux**, **python 3.4**, **django 1.8.2**, **PyMySQL** | |
I have a php page that lists a bunch of data including id's from a database. I then have a button next to each id that will open a Twitter Bootstrap modal window in the page and I need to pass the php variable (the id) to that model window … | |
Alright this one is bugging the heck out of. I am developing some software that can auto generate a solution and projects within. I have the project templates already created (done by another co-worker), and zipped up. I have then added these as an embedded resource into my project. However, … | |
I am currently working on a code and there are three tasks. I am struggling on the last task - I have rearched alot and asked my teachers, i'v tried a variety of codes but there hasnt been any luck. Here is the task: complete all tasks and provide evidence … | |
In local my program is automatically showing the data from database when i Add some records. But when my website is online the data won't show in my website. i need to refresh my website to show the new records. .PLease help Thanks.. ![]() | |
Hello. With running this command: `python manage.py validate` I faced with this error: `Unknown command: 'validate'` What should I do now? For more explanations: - Linux - Virtualenv - Python 3.4.3+ - Django (1, 9, 2, 'final', 0) | |
Hello everyone, I'm trying to get a python script to run base on the os release and if its physical or virtual machine. If its virtual the script will NOT run, but if its Physical the script will run base on the os release level. I'm a little bit confusing … | |
Hi, hope somebody can help me with my problem. I am using ajax validatorcalloutextender in an employee insert/update page(ASP.NET, VB.NET). I am also using bootstrap navigation tabs to group relevant employee details. Whenever there is an error in one of the fields, I would like the tab containing the field … | |
Hello. My VB.Net project is connected with MS Access. Whenever input in VB, it will save in Access. I don't have any problem with textbox but I don't know what to do with checkbox and radiobutton. I want, when checkbox or radiobutton is checked in VB, it will checked also … | |
Hello friends i just have one question i want to make my own android OS customized version or even one day make entire own OS, so i wanted to know for the android OS i must learn JAVA ? or c/++ ?? | |
When drawing DB relationship diagrams, do you usually show all the relationships? Because I seem to have lots of them and my diagram is geting very messy. Sample Pic attached, I didnt even fill in all of them in this diagram | |
Hello, I have done a little research as I want to create a piece of software. I discovered that the language I should learn was Python and that it should be easy to learn. I have started to read the information but I learn by doing so I thought I … | |
I have written a code to automate my webpage to do a search and download a report. Till selection of the report everything works fine. But download click is not working after clicking checkbox. It works well if i keep the download click bust before checkbox select. But I need … |
The End.