125 Topics

Member Avatar for
Member Avatar for dani0

Hi, I want to change this code as given 1 result. I don't need 10 line results. I just need 1 line result. When I tried to change 10 with 1 it doesn't work. Please help me about that. while( $row = mysql_fetch_array($query) ) { $id[] = $row['id']; } $id …

Member Avatar for vibhaJ
0
172
Member Avatar for skran

HELP ME plzzz! I try to make my datagridview rows change colour depending on value on a row cell. I ve tryed everything i found on the web but nothing.. plz help Last I tryed this one: http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.cellformatting.aspx but stil nothing :(

Member Avatar for poojavb
0
1K
Member Avatar for jalpesh_007

I am working with CSVfile program. I have already calculate something from it. Name,Age,Sex,Pincode,Disease 1. aaa,4,M,35265,flu 2. bbb,4,M,35652,Gastric 3. eee,6,F,35265,Brain 4. sss,7,M,32564,flu I have made program for calculating no. of age,sex and pincode as attached in the code. In this i have calculated that age=4 comes how many times and …

Member Avatar for NormR1
0
2K
Member Avatar for Patiodude

I'd like to add a timestamp to articles I upload to my website, which reads the time and date the article was uploaded. I've got a database, as well as a working connect.php. In this database, I've created a table with a "date" field (type: date). What can I do …

Member Avatar for diafol
0
287
Member Avatar for poojavb

Hello Friends, One help is required.... I have a select query which is based on two criterias.... if the order is in process or if the order is received.... The datagridview will show all the records from the database,,,, I want to disable the rows in datagridview which will be …

Member Avatar for poojavb
0
5K
Member Avatar for Vinn69

Hi, I am trying to generate a grid with days of the month in 1st row (i.e 1| 2 | 3 | 4 | till days in the selected month) and category of rooms from a database on 1st column. This is to check the status of the room booked. …

0
82
Member Avatar for twistercool

I WAS CREATING AN INVENTORY SYSTEM USING VB 6 AND ADODC. HERE IS MY CODE [CODE]Private Sub Command1_Click() Dim temp2 As Integer Dim temp As Integer If Text1.Text = 0 Then error.Show Else If Text1.Text > 0 Then purchase.Show Form38.Hide Set rs = New ADODB.Recordset rs.Open "select *from purchasetable", cn, …

Member Avatar for twistercool
0
201
Member Avatar for azareth

i have this code, it's purpose is to automatically add a colon when the index is 2, i have done it, but when replacing(overwrite) index 2 where (:) is, you can replace it with a different char, so basically colon will be removed. and also what if the user has …

Member Avatar for azareth
0
2K
Member Avatar for muppet

**I have been automatically collecting machine breakdown info to a database for 12 months, so I have thousands of entries in a 'Machine Downtime' table. However, I have found that the time_down column is offset by one row. The 'time_down' in the top row needs to be moved to the …

Member Avatar for adam_k
0
156
Member Avatar for azareth

URGENT: guys i really need your help with this. I have been debugging my program for days but it doesn't seem to be improving this is the code for the table layout: <table border="1" id="COT_Table" onclick="getTableID(this)"> <td rowspan="3" scope="row">COT</td> <th colspan="4" scope="col">SFAL</th> </tr> <tr> <td colspan="2" scope="col">Temperature</td> <td rowspan="2" scope="row">vol …

0
127
Member Avatar for azareth

i just need a clear explanation for this: var lastCol = getColumnCount()-1; var lastRow = getRowCount()-1; var table = document.getElementById(TableID); var rowSum; /*Summation of all the values in of rows*/ var columnValue; if(ths == 'on'){ for(var b=1;b<lastRow+1;b++){ rowSum = 0; for(var i=0;i<lastCol-1;i++){ columnValue = table.rows[i].cells[b].childNodes[0].value; if(columnValue != '' && !isNaN(columnValue)){ …

Member Avatar for azareth
0
197
Member Avatar for azareth

hi guys, this is my first javascript program so i'm certainly a noob. i just want to ask why doesn't this global variable not recognized by my functions .. ? the thing is i need to get the id of a certain table to count the number of rows and …

Member Avatar for azareth
0
235
Member Avatar for gerchi152

My process is to multiply the given points in B8, D8, F8, H8, J8, L8, and N8 to A3, B3, C3, D3, E3, F3, G3 respectively. this procedure is to be processed in C8, E8, G8, I8, K8, M8, and O8. after multiplying, the process should perform =sum(C8,E8,G8,I8,K8,M8,O8) to P8. …

Member Avatar for davesexcel
0
379
Member Avatar for collin_ola

Hi, I am having problems with deleting part of a record. The record has approximately 15 different fields, and I only wish to delete 3 of them using the following piece of SQL coding: DELETE [PMID 1], [PMName 1], [Price 1] FROM Subscriptions WHERE [Customer ID]="001" The code works absolutely …

Member Avatar for collin_ola
0
210
Member Avatar for msrikanth

Hi, I Want a shell script, when i run it should print the current row & column number of the terminal in which is invoked , so how can i get the current row & column number in the linux . Thanks Srikanth M.

Member Avatar for msrikanth
0
2K
Member Avatar for Farhan_B

hi i have a simple relationship which is shown in the link below [url]http://www.flickr.co...N06/6948010043/[/url] after doing much research i cannot find a proper way of deleting rows which are linked in all 3 tables. could someone guide me on the best way of doing this. This is the code i …

Member Avatar for 0x90
0
142
Member Avatar for Contagious98

Can somebody here teach me how to print in a current row in Gridview? Am using Crystal report, ms access 2007 and Vb.net 2008. This is for receipt matters. To be able to print a receipt after a transaction is made. To be able to print a selected row in …

Member Avatar for lolafuertes
0
205
Member Avatar for ruchir7

This is my first post on Daniweb. I am developing a social networking site and the register form isn't quite working as expected. Here is the PHP code : [CODE]<? $title = 'Register' ?> <?require ('scripts/top.php'); ?> <link rel='stylesheet' type='text/css' href='scripts/form.css'/> <div id='content'> <h1> Register an account </h1> <div id='form'> …

Member Avatar for NinjaMediaD
0
2K
Member Avatar for zacharysr

Im building a control panel on my website to cover a bunch of stuff for my website. It makes viewing each member and video, website etc alot easier. But im building a table for my members. And i have it layed out pretty good. but there's one issue. When you …

Member Avatar for weekendrockstar
0
300
Member Avatar for Rakham

I'm using ListView control, with SmallIcons style in VB.NET. Icons are loaded fine, but when I start to scroll ListView down or up from scrollbar (clicking from arrows), rowheight drops to about half from normal in next 20-30 rows below/above upper/bottom row (depends from the scrolling position). After 1-2 seconds, …

Member Avatar for Rakham
0
1K
Member Avatar for kimmi_baby

Hi, I understand that it isn't possible to add a border to a <tr>. I've been reading suggestions to add the border to the <td> instead. My problem is that I have a 2 column table and applying the border to <td> leaves a tiny gap between the border. Is …

Member Avatar for John_Betong
0
140
Member Avatar for nsyncpilu

Hy , I have a table , in which i am adding new rows , after 6 rows with data I want to add a empty row with the background color red then another 6 rows with white background [CODE]private void populate(){ DefaultTableModel model = (DefaultTableModel) table.getModel(); int i,j; for(j=0;j<6;j++){ …

Member Avatar for nsyncpilu
0
1K
Member Avatar for rahulroshan

Hi I have a phpcode that fetches data from database , I want to lock a row when a user reads that row and want to release it when he exits. Can any one help me plz

Member Avatar for broj1
0
79
Member Avatar for StefanieZY

Hi everyone, I need to use python to read some data in my csv file, but the file I have contains 15 rows of introduction in front. all the data I need is from the row 16. I am able to read the data as the way I want it …

Member Avatar for TrustyTony
0
347
Member Avatar for ndeniche

Hello guys I have two table styles for a web application, in which the tables rows are clickable as objects (meaning, clicking anywhere in the [icode]<tr></tr>[/icode] tag will send the click command. The problem is, my two table styles behave differently. I want the row to change background color on …

Member Avatar for lps
0
144
Member Avatar for reco21

What im doing is i have a form with 4 inputs like below. and im using the post method to store the fields values so i can send them to the database. what i neeed is each input to be put into a separate row in a databases table. also …

Member Avatar for reco21
0
141
Member Avatar for Smalls

I know i'm probably goin about this bassackwards. But, window is loaded, binded textboxes get filled, user edits textboxes and clicks a save button it works, all except crashing with a "vb.net 2010 Concurrency violation: the UpdateCommand affected 0 of the expected 1 records." most of the time but the …

Member Avatar for Smalls
0
186
Member Avatar for sibymary

how to update single row from table by using a single sql query. here im using library system.when a book is issued to the user,it should be updated to database, only which book is issued

Member Avatar for pritaeas
0
107
Member Avatar for PurpleHeaven

Hello guys I need some help about the Pascal's Triangle. It's not about showing an output of the triangle itself but it's a little different. The user will be asked to choose a row number in the triangle. After that, it will output the sum of all the values above …

Member Avatar for Taywin
0
213
Member Avatar for ppetree

I have a row of three images that are currently displaying just fine. Now, I want to display two more images right below those three and I want them centered (it would kinda look like an upside down pyramid). No matter what I do, the bottom row stays left aligned. …

0
133

The End.