125 Topics
|
|
hi guys! i have a problem regarding the queries i coded. my first query is to display the category name, description and maxscore: SELECT c.cat_name, g.maxscore, g.description FROM grp_performance INNER JOIN category c ON g.cat_id = c.cat_id the problem is, i don't know how to delete the row in the … |
|
Hi, i need help , i wanted images to be for instance 4 in row, before it goes on to the next row, and below the images i wanted a title there. This are my work so far, but i just cant get to what I wanted, i've been searching … |
|
Hello boys.. I'm here for an advice.. I have table 'users' with : ID , USER.. And 'activities' with : USER_ID , activity.. I want to select the USER_ID from 'activities' to find the user ID in the 'users' table.. I am using the VB database.. On php i know … |
|
Like the title says, I have about 10-15 rows in a local dataset. I need to take any one row, and make it the "default" (on a button click), meaning to take that row and stick it right at the top so it comes up first. I've been up and … |
|
So I've developed some code to pull the latest 8 images from my flickr feed; however, I'm having trouble with figuring out how to do what I'm trying to do. Essentially, I need each 4th image to have a different <div> class (this helps with margins and what not). Any … |
|
Hey guys, As you can see below I am trying to add row of data to a table called tblOut. When i execute the code, it works without a single error message but the problem is I dont see any new record when i preview my table data. Can anyone … |
|
I have a html form on another page that is automatically filled from data from the table. I then run the the following script on submit to update the row if any information is changed. Here is the code [CODE] <?php $db=mysql_connect ("connection info") or die ('I cannot connect to … |
|
Hey guys.. could someone please help me with.. What wrong with this: [CODE] echo "<td width='25%'><img src='images/Lock.png' title='" . $row['username'] . "' - '" . $row['password'] . "'></td>";[/CODE] i Get only the username.. Cheers, Sagive |
|
Hi there, I am working with a 2D array, my c++ program reads input from an external file and stores it into a 2D array. Say, for example, this is my input file: 9 5 6 2 4 1 0 8 6 7 3 5 2 9 5 8 My … |
|
Hi, DW complains of a syntax error that I cannot understand. I use the code as a standalone and it is not a problem, but when used as a table element as written below, it complains of a syntax error. The red highlight is where it complains, the green seems … |
|
I've searched & searched and haven't figured it out, any help is great! I need to display certain fields from my table, right now it only displays the first row of the table. I need to display all rows in the table. Code I have right now [CODE]$query = "SELECT … |
|
Hi, I try to search related title but can't find any match. Here my case. I'm planning to allow user to insert record. If user put 3, mean 3 row of table will expand. Each row have textfield, select menu. Can refer to attachment. I'm using javascript to do that. … |
|
Hello, I'm curious as to what the "key" for a DataTable Row collection is. And if there is a better way of executing what I'm trying to do. My situation is this. I have a DataTable populated with different data from multiple databases, for the sake of this thread let's … |
|
heya, your last answers realy helped me out, but i'm still stuck with another question. what i want to do is the following. i have a database with this in it:" [CODE]id land streek rood wit rose 1 Frankrijk Bordeaux 1 1 0 2 Frankrijk Bourgogne 1 1 0 3 … |
|
Hi All I have this XSL code, but I am trying to get it so every other row is light grey and the ones in between are white. I want the headers to be anjother colour all together. [CODE] <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template match="/"> <html> <body> <table border="2" bgcolor="yellow"> … |
|
hi all, am just curious to know...which is the better or more efficient way of these two? Note: tblOD is a DataTable [CODE] For dtrows As Long = 0 To tblOD.Rows.Count - 1 dgv1.Rows.Add(tblOD(dtrows)(0), tblOD(dtrows)(1), _ tblOD(dtrows)(2), _ tblOD(dtrows)(3), tblOD(dtrows)(4), _ tblOD(dtrows)(5), tblOD(dtrows)(6), _ tblOD(dtrows)(7)) Next dtrows [/CODE] OR [CODE] … |
|
Delete selected record on Button click. I am using MS Access as a Database in C#. How it can be done ?? |
|
Hallo daniweb!, Im new here *hehe* anyway I've been working on our companys website for a while now but I just cant get it to work... the error is @ the 26:th line. btw we're using: Cirtex hosting the defination "myusername" and "mypassword" is in the prev. .php file (main_login.php) … |
|
i am writing a program and i need to increment a table row. How would i increment a table row on the click of a button? |
|
Hello, I was wondering if anyone could help me with something. I am not a programmer yet I am able to modify scripts to a certain extent. I recently downloaded a script to read an existing CSV file and output via an SSI call. What I would like to do … |
|
Hi, is there an accepted emthod to print a selected row in a datagridview? I've done some reading and gotten as far as printing a page via the printform but I wondered can you drill down into certain rows or certain datagridviews? thanks, |
|
I have some text in a block with a certain width. I can count the number of lines in the text with substr($text,"<br />" but this is not the same with the number of line of the formatted text at that width. Is there a way to calculate that? Thank … |
|
I'm new to C# and am having a problem with databases, specifically updating a table with dataset contents. No exceptions are being thrown, the update method tells me one row is affected but there is nothing in the table! Code below, your help is appreciated. [code=c#] RSSDataSet.NewsItemRow newRow = rSSDataSet.NewsItem.NewNewsItemRow(); … |
|
|
Hi, Simple question: How do you make a table with 2 columns? On the left column - 1 row On the right column - 2 rows -Without using a nested table. Thanks, Ashton. |
I'm using a JTable with a DefaultTableModel. I use the Load Button for populating the JTable. Anyway, the problem I have is with the Delete row button. (defaulttablemodel.removeRow). This is the whole project: [code=java] package proiect1; import javax.swing.table.DefaultTableModel; import javax.swing.table.TableColumn; import java.io.*; import javax.swing.event.*; import javax.swing.table.TableModel; import java.util.ArrayList; import javax.swing.table.AbstractTableModel; … |
|
Hi, Im working with an excel file. For exampler there is 500 rows in the sheet and 4 columns in the sheet. First 3 columns have data but 4th columns is empty. I want to write this column's all rows' "1. row", "2. row", "3.row"... My codes below.. How can … |
|
Hello, I want to use a JTable for displaying data loaded from a .txt file. The problem is that I don't see any methods for inserting a row. The code NetBeans generates is this: [code=java] jScrollPane1 = new javax.swing.JScrollPane(); tabel = new javax.swing.JTable(); label1 = new javax.swing.JLabel(); jButton1 = new … |
|
I want to let others to delete selected row in the following datagrid view, and i have written it like this. Now when i select a row and press the delete button i can remove the selected row but it will not update the database which meant it will not … |
|
i get an error when i try and do this. [code=c] private void button2_Click(object sender, EventArgs e) { DataSet ds = new DataSet(); DBconnect db = new DBconnect(); Global.GlobalVar = textBox1.Text; string Co = new Password('J', textBox1.Text).SetSql(); ds = db.GetDataSet(Co); DataTable dt = ds.Tables[0]; if (dt.Rows.Count == 0) { if … |
|
hi everybody, I'm looking everywhere to find out a way to access a specific column and row of a datagrid generated by a sql-query in visual basic. The datagrid looks, simplified, like this: column1 column2 data1 data2 now I would need a function, that reads data2 out in visual basic … |
The End.