199,114 Archived Topics
Remove Filter ![]() | |
Hello guys, I am trying to add date range with the combobox value when a user clicks the "Enter" button. This is my code so far: Dim con As New OleDbConnection(Get_Constring) Dim dt As New DataTable con.Open() Dim da As New OleDbDataAdapter("SELECT * from EncodingComplete where Date_Bill BETWEEN @startDate AND … | |
I'm looking for a user login (or identity) tutorial/example on MVC5 that uses an existing SQL Server database and user table, so NOT code first, and NOT using Entity. Can't see the forest through the trees apparently, because I cannot seem to find one. | |
2014 was not a good year for Microsoft, with the Xbox Live network being disrupted at both ends of December by [Lizard Squad DDoS attacks](https://www.daniweb.com/software-development/game-development/news/488412/lizard-squad-claims-responsibility-for-taking-down-xbox-live-today) and then as the year was finally coming to an end a different hacking collective dropped another bomb onto Xbox. A posting on Twitter simply … | |
-Hellow DANIWEB?... -I've been wondering if there is a way I can Use My Own Warning Message instead of that provided by Php during file include Failure... -**NOTE:**I dont intend to Mean Error Messages that We can write to a User when something goes wrong,like failure of inserting data inputs … | |
![]() | sir i am creating a database with name ams and 3 table with name article (fileds id(auto increment),title,image,contents and category) and 2 table login with user passwd as fileds 3rd table with category. now i want in 1st table id,title,category as primary key but it gives error multiple primary key … ![]() |
Hey there everyone, I am currently working on and Assignment that is due tonight and I feel like I am close but can not exactly get to the end. I would appreciate any feedback possible. Kinda stuck at the moment. ---Modify the Inventory Program to use a GUI. The GUI … | |
Hi all, I am trying to compare output from DB The code below works on 1 check, but I require to do this on multiple products like so `if rowProduct("GRPCODE") <> "Cross Hire" or rowProduct("GRPCODE") <> "Boiler Ancillaries" then` etc but the above line does not work as I have … | |
I am trying to change the first character of each word in a list to upper case using Python 2.7. I am able to change the entire list to lower case, but I am not getting what I want - i.e the first character of each word to be upper … | |
According to JLS, the [grammer](http://docs.oracle.com/javase/specs/jls/se8/html/jls-14.html#jls-14.14.1) of basic for statement is for ( [ForInit] ; [Expression] ; [ForUpdate] ) Statement It's also said on the JLS that 'The Expression must have type boolean or Boolean , or a compile-time error occurs.' So to check if the syntax is valid, the parser … | |
I am new to java programming and I have to write an inventory program that can hold multiple items. I have my code from week 1 but I do not know how to write in the ability to hold multiple inventory items. Can anyone help with this? | |
Hey everyone, im currently use this class for my small projects: https://www.daniweb.com/software-development/vbnet/threads/361868/disable-ctrl-alt-del Now i have problem, i want to hide my form and close jammer so i use something like this: Private Sub SystemTray() If NotifyIcon1.Visible = True Then KeyboardJammer.Jam() NotifyIcon1.Visible = False taskbar.HideStartButton() taskbar.HideTaskBar() Me.Show() ElseIf NotifyIcon1.Visible = False … | |
using namespace std; int main() { int l; cout<<"Select level: easy--->1 medium--->2 hard--->3"<<endl; cin>>l; int zero(char [][3]); int fonction(char [][3]); char tab[3][3]; for (int i=0;i<3;i++) for(int j=0;j<3;j++) tab[i][j]=' '; int k; do{ k=fonction(tab); zero(tab); } while(k==2); if(k==1) cout<<"win"; if(k==-1) cout<<"loose"; if(k==0) cout<<"tie"; cin>>l; }//end of main int zero(char t[][3]) { … | |
Hello everybody, I'm searching for a book or a documentation that includes all the librairies ,and their functions, of the C++ programming language. thx | |
DISPLAY THE FACTORS AND THEIR COUNT FOR A GIVEN NUMBER. SAMPLE DIALOGUES: #1 Type a number: 9 The factors of 9 are 1,3,9. There are 3 factors. #2 Type a number: 12 The factors of 12 are 1,2,3,4,6,12. There are 6 factors. | |
This is my Index.php:: <html> <head><title>Registration</title> <script type="text/javascript"> function numbersonly(e,length) { var unicode=e.charCode? e.charCode : e.keyCode var maxlength=length; if (unicode!=8) { //if the key isn't the backspace key (which we should allow) if (unicode<48||unicode>57) //if not a number return false //disable key press } } </script> <script type="text/javascript"> function validation() … | |
Hi everyone, I have created a custom tab, in wich I want all the tools necessary to format a protocol document to be available and easily accessible to the users. How can I create a dropdown list with only the 5 heading styles I will need to use in the … | |
pls i ask a some quistion help me write a progam that display pakistan 10 time by using for loop | |
I am trying to make telephone number word generator, user enters phone number 7 digits between 2 to 9 and then it generates all possible word combinations, it should be 3 ^ 7 = 2187 This is what I got so far: [code] Private Sub GenerateButton_Click(ByVal sender As System.Object, ByVal … | |
Implement a C function that can perform addition of two 15-digit (positive) integers. As in C the maximum integer number that can be stored in memory is 2147483647 it is not possible to use primitive data types in order to add very large whole numbers. For this reason, you are … | |
Hi Daniweb, I'm trying to create a basic, grid-based (table-layout) calendar using PHP. I'm in the planning stages currently, but need some help coming up with an effective way to display empty boxes (for instance, November starts on Monday, so the left-most box (Sunday) needs to be empty. December starts … ![]() | |
Hi everybody. I've created a .py file with a simple function in it. Now i want to call that function from linux shell scripting. How should i do that? please help me, thank you. | |
what is the best way to save data from multiple checkboxes ?? if i have 50 , 60 checkboxes Is it reasonable to set up a column of 50 or 60 checkboxes for ٍsaving value for each question separately ? and presumably there are questions that have not responded what … | |
I have this message table that allows users to send messages to one another. sender_id is the id of the person who sent the message. receiver_id is the id of the person who received the message. message_id adds the sender_id and receiver_id together. This is a sample below. id sender_id … | |
I have code for shuffling images and display.Now i want to values of checked boxes will store on database.please help <?php mysql_connect("localhost","root",""); mysql_select_db("impass"); ?> <html> <body> <form action="" method="post"> <?php $images = array( '<input name="chk1" type="checkbox" value="1" /><img src="images/images (4).jpg" alt="" width="234" height="212" />', '<input name="chk2" type="checkbox" value="2" /><img src="images/images … | |
'Ello I just completed my final individual assignment for my first java programming course. This is what I want to do and learning how to do it is what brought me to school. Unfortunately my class facilitator has decided that it is not in his best interest to contribute to … | |
hello guys. I would like to ask you a help of how i can remote server and view files located on it using JTree in java. | |
hi DaniWEB users, it has always been a great support from dani web to answer questions and get feed back from every one. The issue i am facing is not a coding issue but a development platform issue,I have searched over the internet and was either unable to interpret my … | |
hya all i am getting the error in pic included in this post and i dont know what i could be i have found the following bit of code included below <tr> <td><?php echo date_diff($lastlogin['lastlogin']);?></td> </tr> then i have found the file where the coding for this sits see below … | |
Hello all, I am trying to self learn the x86 assembly language and I came across a problem that I can't seem to fix. I want to recieve an integer input from the user and convert it to a word. Example: Input = 0 : Output=Zero. Any help? | |
i'm using the HiliteMenuItem() for test if the mouse is above the menu item: int i=0; for(i=0; i<GetMenuItemCount(menuhandle); i++) { if(HiliteMenuItem(HandleWindow,menuhandle,i,MF_BYPOSITION) == true) { menuposition=(UINT)i; break; } } but i always get the number 0. heres how i detect the menu handle: case WM_INITMENUPOPUP: { menuhandle=(HMENU)wParam; return 0; } break; … | |
hi everyone I have array of two dimension but I don't know the size of the array, every time the size of array is change. I used (redim Preserve) but it change only the last dimension and I want to change the first dimension of array. please help meeee | |
In my Windows Forms c# project I try to connect to an already existing ms sql database file (added binding Source on the form, then : bindingSource -> properties -> DataSource -> add source - > .... ) but when I pick this file it writes something like "You dont … | |
<?php if (isset($_POST['user_id'])) { // Not logged in :( setcookie("secondcookie[id]",$_POST['user_id'], time() * 7200, "/"); // Expiring after 2 hours setcookie("secondcookie[password]", $_POST['user_pass'], time() * 7200, "/"); //when to see if cookies is set or not echo $_COOKIE["secondcookie"]["id"]; //header("Location:verification_data.php"); } if (isset($_COOKIE['secondcookie']['id'])){ // Already Logged in go to page 3 header("Location:page3.php"); } … | |
Hi Guys Please have a look at my model and then read below public function get_events(){ $query = $this->db->get('events',1, 1); return $query->result_array(); Okay so when i run the page i only get my message that no entry's are in the table! So when i insert a entry it displays the … | |
Hi, I have an SQL database with data stored in it but I'd like to create reports that will allow the user to enter two dates and return the data in an excel spreadsheet. Not sure how to accomplish this in .net with C#. I've created PDF reports using ITextSharp … | |
Hi I have a stored procedure with a cursor which check if a field is filled in after a certain deadline. DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `controleDeadlines`() BEGIN #declaratie variabelen die nodig zijn declare cId int; declare cDeadline text; declare cUitgevoerd date; declare cOpmerking text; declare cStatus text; declare DONE … | |
Dear friends, I want to know if we can pass a text area value of great length from jsp to servlet as a url parameter. I have tried it but it sends a null value to the servlet. Please help me. It's urgent. Thanks and regards. Sriprasad Kannan. | |
![]() | here is my code i want that what ever value is checked that value is inserted into database i have created database with name doctor table name diseases with 3 field id dis_name and Ans plz help its urgent <?php error_reporting(E_ALL); ini_set('display_errors', 1); require 'db.php'; if ( !empty($_POST)) { // … |
Currently I have a button, 2 datetimepickers, a datagridview, and a combobox. What I like to do is the user will select the FromDate and ToDate and then with a keyword from a combobox it will search in a datagridivew according to the date range and the combobox's value. I … | |
***** **** *** ** * Can someone help me with this ^ pattern above? I only can do this one below *** ** * | |
Hi to the forum; A simple question: I want to make a prime number checker: So if I want to test if 25 is a prime number. i should to verify if 2 is a factor. if it is not, i verify with 3 and 4 (not my subject if … | |
I'm trying to add a progress bar to a working theaded program that uses a cancelation token too. The structure of the program is: I have a button "BeginButton" that calls the function "MyFunction()". The function runs in another thread and a cancellation token listens if I press a Cancel … | |
Index.php <html> <head><title>Registration</title> <script type="text/javascript"> function numbersonly(e,length){ var unicode=e.charCode? e.charCode : e.keyCode var maxlength=length; if (unicode!=8){ //if the key isn't the backspace key (which we should allow) if (unicode<48||unicode>57) //if not a number return false //disable key press } } </script> <script type="text/javascript"> function validation() { var a = document.form.phone.value; … | |
there is a report which am presenting to my web users in an HTML formatted table. i have been using ABCPDF component for exporting this report to pdf. BUT after an update that component work s irregulary. Please suggest any other simple solution for this, i tried referring all method … | |
I am trying to bind the another dropdown list on selected item of dropdown 1. Please give me code, if some one has. **Dropwdown 1:** <select id="lst_consultantcontact" name="lst_consultantcontact" onchange="GetConsultantContactInfo()" > <option >.....</option> </select> ** Javascript Code:** <script language="javascript"> function GetConsultantContactInfo() { var ConsultantId = document.getElementById('lst_consultantcontact').options[document.getElementById('lst_consultantcontact').selectedIndex].value; var hiddenfield = document.getElementById('hidden1'); hiddenfield.value … | |
please help me to do Saving Gridview and Non Gridview data to Sql Database | |
Hi,programmers Need pdf book to learn java as 14 year old student...! My 5 months holidays are coming and i want an easy pdf book for learning java.Just give me easy book because i am completely new to java.And i dont need the words like 'dont rush into programming' or … | |
I got a script that convert convert my php string (combination of customized image & text) to image, zip it & popup for download with the scripts $format=$_REQUEST['format']; $viewArr = $_SESSION['productArr']; //the images in array $outputarr = $_SESSION['outputArr']; $pngoutarr = $_SESSION['pngOutputArr']; $downloadable = 1; if($format=='png'){ require_once 'png_output.php'; $downPath = genpng($pngoutarr,$downloadable); … | |
Hi friends, In one of my project I want to convert tiff files to png/jpg using php for making a film strip. So if there is any way for doing that .... Please help me thanks in advance Rajeesh |
The End.