199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for taekiewzz

I want to filter my datagrid view in my winform with a date range. I have 2 label with StartingDate(lblStart) and EndingDate(lblEnd) which is called from the datepicker on another form. Filter = "(DATE >= '" + Convert.ToDateTime(lblStart.Text).ToString("dd/MM/yyyy") + "' and DATE <= '" + Convert.ToDateTime(lblEnd.Text).ToString("dd/MM/yyyy") + "')"; And this …

Member Avatar for FenrirMX
0
3K
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to set a multiple level subdomain? eg. sub.sub.domain.com FYI: my web host is with GoDaddy.

Member Avatar for joshl_1995
0
259
Member Avatar for bfitzgerald

Hi Guys I'm trying to create a page which uses session data to find a user in a database and then sends the events that this user has signed up to. I'm a bit of a newbie and have got very confused with where I am at. I am using …

Member Avatar for bfitzgerald
0
296
Member Avatar for PF2G

Hi, I have this popup with a Login Form (and a register form comment): div id="login" style="float:right; width:15%; padding-top:3px;"> <a href="#" class="topopup">LOGIN | REGISTAR</a> <div id="toPopup"> <div class="close"></div> <div id="popup_content"> <!--your content start--> <h2>Login</h2> <form id="login"> <table cellpadding="3" cellspacing="2"> <tr> <td> Username: </td> <td> <input type="text" name="username" id="username" /> </td> …

Member Avatar for JorgeM
0
173
Member Avatar for gbhs

Hi folks Im a newbie. I have a combobox cboTeachersName that is bound to deptTeachers table. At runtime, it contains teachers of given subject (Course). I then select a teacher and save in a field in another table called Summaries. PROBLEM IS When I load the form and load the …

Member Avatar for jelly04
0
169
Member Avatar for irtza

// In this program: when i compile this program, the complier shows error in the main section(I have mention this error in main section) that is "can not convert sample to sample in assignment". this error is occuring only when i try to access private members of class through pointer …

Member Avatar for samiz4j
0
295
Member Avatar for Nirmeen Ased

<td width="186" align="right"><label for="collegetxt"></label> <select name="collegecategory" dir="rtl" id="collegecategory" class="title"> <option value="-1">Choose college</option> <?php $rs=$db->GetAllCollegCategory(); while(list($name)=mysql_fetch_array($rs)){ echo "<option ".($collegSearch==$name?" selected=selected ":"")." value='$name'>$name</option>"; } ?> </select> </td> </tr> <tr> <td> <strong>Teacher Number:</strong></td> <td width="217" align="right"><label for="Teachesearch"></label> <label for="TeacherNo"></label> <input type="text" name="TeacherNo" id="TeacherNo" class="title" checked="checked"/></td> <input type="submit" name="evlBtn1" id="evlBtn1" value="Evaluate" style="width:119px;height:39px;font-size:16px;" /> Hi, …

Member Avatar for Zagga
0
362
Member Avatar for ChemE_Programma

I can not for the life of me figure out how to solve for a cubic equation using visual basic. I have tried multiple codes found on the internet, but they do not work or there is code I do not understand (such as root.root). Here is the equation I …

Member Avatar for ChemE_Programma
0
712
Member Avatar for kcys.wong

#include <iostream> #include <fstream> #include <windows.h> #include <ctime> #include <string> #include <iomanip> using namespace std; enum ConsoleColor {Black, Blue, Green, Cyan, Red, Magenta, Brown, LightGray, DarkGray, LightBlue, LightGreen, LightCyan, LightRed, LightMagenta, Yellow, White }; void line(void); const int Start=1900; void write_Data(); void Read_Data(); void SetColor(int text, int background=Black) { HANDLE …

Member Avatar for Ancient Dragon
0
255
Member Avatar for nikola.pavlicevic

Hi guys. Can you tell me what do you think of No Glue project? The aim is to create a set of loose components in PHP that can be used individually or combined to make web applications. Whoever likes the idea can join the project too. [Click Here](https://bitbucket.org/npavlicevic/no-glue) No Glue …

Member Avatar for cereal
0
173
Member Avatar for paa.klose2
Member Avatar for Schol-R-LEA
0
121
Member Avatar for Aarowaim

I have two questions here. First of all, how do I enable selection of multiple listbox items and select them via code? Secondly, how do I prevent the user from selecting multiple lines? Now, for some background and my thoughts. I'm working on a project for computer science in which …

Member Avatar for Reverend Jim
0
711
Member Avatar for Gloak

I have been developing my first (real estate) web page for a few months and that's all my experience with programming... So forgive me if this is a stupid question. I have been following basically 3 tutorials ([first](http://www.domagojsalopek.com/Details/Display-locations-from-a-database-on-a-map-using-Google-Maps-JavaScript-API-and-PHP/22), [second](http://www.geocodezip.com/v3_MW_example_categories.html) and [third](http://gmaps-samples-v3.googlecode.com/svn/trunk/articles/phpsqlsearch/phpsqlsearch_map.html)). They are kind of working together with a few …

Member Avatar for Gloak
0
2K
Member Avatar for Ali Musa

I have, what I thought, was a trivial question however I am not quite sure of an answer yet. I'd like a two dimensional array of strings and integers. The first "column" will be string and the second "column" will be integer. later i want the first value of array …

Member Avatar for House_of_Dexter
0
202
Member Avatar for Accouter

Part of a program I did. I don't understand why it doesn't work. import java.util.Scanner; public class Reports { public static void main(String args[]) { int[][] sales = new int[6][4]; String [] company = {"Dallas","Chicago","Boston","New York","Seattle","Washington"}; EnterData(sales,company); Highest(sales,company); } public static void EnterData(int sales[][],String company[]) { Scanner input = new …

Member Avatar for Accouter
0
226
Member Avatar for shakayu

Hello Friends, Am actually trying to get a Foreign key which is a Primary key in Diagnosis table Controller: <?php class AppTreatment extends CI_Controller { function AppTreatment() { parent::__construct(); $this->view_data['base_url'] = base_url(); $this->load->model('Apptreatment_model'); $this->load->model('Patient_model'); if(!$this->session->userdata('is_logged_in') ){ $this->session->set_flashdata('login_error', TRUE); redirect(base_url() . 'index.php/homepage'); } } function index() { $data['patient']=$this->Patient_model->getAllpatients(); $data['AppTreatment']=$this->Apptreatment_model->findAll(); foreach($data['AppTreatment'] as …

Member Avatar for diafol
0
440
Member Avatar for HelpWanted2115

Ok, I know you guys don't really just give away the answer to the whole problem like that. But I really can't figure this one out.... The question states: The following represents some sample scores obtained by students in a test: 5,4,7,10,0,6,0,1,9,6,8,999. 999 is the dummy value which terminates the …

Member Avatar for House_of_Dexter
0
274
Member Avatar for terataki

Hello, I want to make something like windows explorer. So the easy part first. I added these: [CODE] ShellTreeView1: TShellTreeView; ShellListView1: TShellListView; ShellComboBox1: TShellComboBox;[/CODE] I connected them and everything is good. I can see files and I can navigate folders, drivers, e.t.c. I changed the ViewStyle attribute of ShellListView1 to …

Member Avatar for House_of_Dexter
0
1K
Member Avatar for usman.ishaque91

hi i want to build a dynamic select box along with submit button. for example in my first select box there is a number of countries. second select contains the number of cities according to the country name. the problm here i am facing i dont know to open the …

Member Avatar for LastMitch
0
566
Member Avatar for sonicx2218

Hey guys. I'm not so great with Javascript, but I can somewhat manage. So I have this slightly modded video lightbox that works fine, but I'm trying to wrap my head around adding a Disqus module underneath the vid. So I have 2 questions. 1. If you add a disqus …

Member Avatar for sonicx2218
0
260
Member Avatar for vizz

I have some IP list and 10 links stored in mysql. How to visit all links automatically in browser with assigning IP from database? After 10 links visited, how to change IP again i.e. (1 IP for 10 links) I want to use javascript to redirect to new page after …

Member Avatar for harry247
0
795
Member Avatar for siss

I need to convert python code to javascript. do anyone here know javascript? please give your mail id i will sent the python code to your mail! thanks in advance :)

Member Avatar for TrustyTony
0
176
Member Avatar for rexdon
Member Avatar for tinstaafl
0
290
Member Avatar for breezett93

Hi everyone, I am writing a program that converts numbers to words and vice-versa, like typing on a older cellphone. The user enters as many messages as he wants in numbers and/or text. The first character of the messages indicates what the remaining string is: numbers or letters. I can't …

Member Avatar for tinstaafl
0
226
Member Avatar for mohammad.alsheyab

Huffman Code In this assigment, you need some text files. Click HERE to download some. In this assignment, you are to implement the Fixed-length Huffman coding that we learn in the class. You should perform the following: 1- Huffman Encoder. a. This is a C++ program that reads as input …

Member Avatar for Ezzaral
0
216
Member Avatar for HelpWanted2115

Hey guys, I'm making a program to count the number of zeros and tens in a list of numbers in the format: 5,10,5,0,4,6,7,3,0,10,2..... Yeah like in that format, how do I make it read the data like that without a set number of values to be entered and count the …

Member Avatar for zurichy
0
164
Member Avatar for SQLpower

Hello guys, Long story short, when I register a user on my website, it enters for every single column value 0. It should be due to the fact that's not picking up the data from my registration page? Although, it should be ok as I am only picking up the …

Member Avatar for SQLpower
0
196
Member Avatar for serkan sendur

I had a background image for one of the container divs in my page. I positioned it to a specific pixel using its style properties. It worked fine in the internet explorer but was located to a wrong position when displayed by firefox. So i wrote the following code to …

Member Avatar for malithmcr
0
472
Member Avatar for njleye

Dear Expert, Please find below coding as I have a problem in data update as there is no error found but when i update the table it update the table in right table and then it return some thing wrong while returning the records. Kindly help me in this matter. …

Member Avatar for Ketsuekiame
0
178
Member Avatar for ddanbe

Complex numbers are seldom used in daily life, altough you could say that every real number is complex, but with the imaginary part equal to zero. And btw. "complex" is a bit of a misnomer, perhaps we should call them "easies", because often they make it easier to perform certain …

Member Avatar for ddanbe
0
1K
Member Avatar for IsaacMessi10

Sample 1: Private Sub Get_URL() Dim AddressText As String = HttpContext.Current.Request.Url.AbsoluteUri.ToString ComboBox1.Text = AddressText End Sub Sample 2: Private Sub Get_URL() Dim AddressText As String = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser)Url.ToString ComboBox1.Text = AddressText End Sub Neither of them successfully displayed a URL in my ComboBox. Any Help? Thanks.

Member Avatar for IsaacMessi10
0
129
Member Avatar for nouth

I want to learn about `def` because that looks very the most intriguing how you can make it kind of like reusable but when I was learning I had come some problems with understanding def main(): #renewable code main() if __name__ == "__main__": main() I don't understand what `__name__` and …

Member Avatar for nouth
0
508
Member Avatar for vishalonne

Hello Everybody How can store name of dynamically created checkbox in a String array when I don't know how many checkbox will user select at runtime. Say I have 10 dynamic checkboxes and out of 10 user select 6 checkboxes randomly now how can get the name of those selected …

Member Avatar for vishalonne
0
826
Member Avatar for kay19

Well I need help one of the two questions which are similar to the topic I'm asking. The first question that I solve was "Taller method should return true if the tree on which the method is invoked has a greater height than the tree passes as a paramter". public …

Member Avatar for kay19
0
192
Member Avatar for maxcatozzi

Hey, Does anyone see anything wrong with this? I don't know what's up, it's throwing the IOException everyt time even though the mp3 is in the source folder. (I tried .wav as well). I'm trying to place this in a GUI, but testing it seperately first. import java.io.*; import sun.audio.*; …

Member Avatar for stultuske
0
1K
Member Avatar for ngkevi1994

I am a beginner but my problem with this game is that when i enter east it said it going to north. here my code for my main and parser also when i enter a word then it quit the game so how do i make it stay open to …

Member Avatar for Lucaci Andrew
0
393
Member Avatar for MattD00

I am using a While loop to dispay data stored in a mysql database I would like all the data to be displayed on a single line instead of being displying below the prevoius. while($row = mysql_fetch_assoc($popular)){ echo"<figure> <div align=\"center\"> <a href=\"\"><img src=\"images/" . $row['product_img'] . ".png\" alt=\"" . $row['alt_desc'] …

Member Avatar for |-|x
0
927
Member Avatar for vishalonne

Dear All I am trying to create groupbox dynamically and these GB will create on selection on checkbox. Means I have 5 check boxes now if I select 1st CB then 1 GB with some other dynamic checkbox shall be created, if I select 3rd check then another GB shall …

Member Avatar for vishalonne
0
1K
Member Avatar for prashant9928

here i am showing you the code into which i am getting trouble into "gridWarehouseInsert" command. What i want is when user inser new data into detail table i want to get the MasterTable DataColumn that is "Warehouse_id". so that i can perform insert operation. When user insert master table …

Member Avatar for LastMitch
0
1K
Member Avatar for Stuugie

Hi All, I'm working on filling a user variable called "EmailString" via a db connection with SSIS. I've created a script task to do this (the only way I can see how) and in it I have the following code: Public Sub Main() ' ' Add your code here ' …

Member Avatar for Stuugie
0
297
Member Avatar for Black_Lion

Hi all. I have run into a problem with inserting values into table. I have 2 tables: PUBLISHER with fields: PUBLISHER_CODE (Primary Key) and PUBLISHER_NAME. BOOK table fields: PUBLISHER_CODE (Primary Key and Foreign key to PUBLISHER table) and TITLE. The user enters bookCode and publisherName into 2 textboxes Here is …

Member Avatar for JorgeM
0
252
Member Avatar for PBekki

Guys, I'm deploying an application on my local machine and when I try to compile I get the following error: Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc' or one of its dependencies. Invalid assembly file format. === Informações sobre estado pré-ligação === LOG: usuário = PBekki\Paulo Bekki LOG: DisplayName = …

Member Avatar for LastMitch
0
168
Member Avatar for kimmi_baby

Hi, I have an accordion menu for wordpress that works nearly the way I would like it to. I was wondering if there's a way to make the menu close once clicked again. I'm happy with how it opens when clicked, it just stays open after that and can't be …

Member Avatar for LastMitch
0
185
Member Avatar for destroyer333

So i believe i got my prefix working, now i'm trying to get my postfix working so that the class object happy should have its day increased by 1. Not sure whats wrong. Maybe the way it receives the month and day in the constructor? main #include <iostream> #include <string> …

Member Avatar for destroyer333
0
229
Member Avatar for LeNenne

Hi I wonder how to count the backup files I have. If I say like this 1: making backup OK 2: making backup OK 3: now is the question how to count the backup files so I can remove some of them or kill one Bonzo

Member Avatar for Jx_Man
0
219
Member Avatar for Mian Waqar

Hi, I need help. Me wrote query in my wordpress theme to fetch latest products. Everything is working perfect. But don't know why pagination not working. I did select 9 post in backend. it's appear 9 on my home page. But i want to show all products on homepage with …

Member Avatar for LastMitch
0
2K
Member Avatar for tony75

Hi I downloaded keyboard event and its work very fine. Its capture all keystroke and print it. My question is how can we do it to save to file (for example C: \log.txt) instead to print out . To write out f=open('c:\log.txt','w') but where can I put it :)? import …

Member Avatar for tony75
0
781
Member Avatar for jrosh

I m using mvc4. I have urls like http://<mydomain>/<contoller0>/<action1> , http://<mydomain>/<contoller0>/<action2>,... I want to show to the user only as http://<mydomain>/<contoller0>/{somepage} for all the actions in that particular controller. How to impliment this in RouteConfig? I dont want to mess any requests to other controllers. Just want to do it …

Member Avatar for LastMitch
0
194
Member Avatar for peymankop

Hi...! I'm Workihng on Snake And Laddet Game... the player roll the dice and it's get a new position,an image will show the player position on the screen in the next turn image will move to a new position but the last picture is still in it's position how can …

Member Avatar for JOSheaIV
0
205
Member Avatar for vishalonne

I have a access database from where I am populating the datagridview on button click event. but what I exactly I want to add record of access database in datagridview when button is clicked. Means on 1st click 1 record should be add in datagridview, on 2nd click another record …

Member Avatar for JOSheaIV
0
399

The End.