No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
24 Posted Topics
Hi Guys, I have a problem using the sqlsrv_connect function (in that it's failing!). I have been using mssql_connect on a server with an older verison of PHP where my connect string worked fine. But putting the information into the sqlsrv_connect doesn't let it connect. Here's my code that I … | |
Re: Can you use DataGridView.rows(row_number).cells(cell_number).value = TextBox1.Text? Just repeat that for each cell you want to put information into? Hope it helps :) | |
Re: You could go with an obvious route and perhaps try to create a social networking site that focuses on something you're interested in? Unless there's quite a few of them already. If not that, try and think of something that you personally have problems with. Is there any way for … | |
Hi guys, I currently have a VB application which begins by calling an external C# application to download an eBay report. When it has downloaded the process ends, but the focus doesn't switch back to the VB program. Will I need to run the VB program at the end of … | |
Hey guys, I have a problem with searching for a string within a string. Here's the code I have at the moment: $query = mysql_query("SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA = '".$db."'") or die(mysql_error()); while($table = mysql_fetch_array($query)){ $checktbl = $table['TABLE_NAME']; foreach($_POST['fields'] as $f){ $f = substr($f,strpos($f, '.')); if($checktbl == $f){ … ![]() | |
Hey guys, I have a form that is used to navigate through records in a table one at a time. The form generates the number of textboxes required automatically. Navigating through the records is easy enough, but when I click the update button it comes up with the error: Object … | |
Hey guys, I have some code which returns the column names, but not the actual data. Here is the code I have: $success = mysql_query($final) or die(mysql_error()); echo "<table><tr>"; foreach($_POST['fields'] as $f){ echo "<th>".$f."</th>"; } echo "</tr>"; $i=0; while($row = mysql_fetch_assoc($success)){ echo "<tr>"; foreach($row as $r){ echo "<td>".$r."</td>"; $i++; } … | |
Hey guys, I have this code which gets some reults from a table and displays them: echo "<table><tr>"; while($col = mysql_fetch_array($columns)){ echo "<th>".$col['COLUMN_NAME']."</th>"; } echo "</tr>"; $i=0; while($row = mysql_fetch_array($data)){ echo "<tr>"; foreach($row as $r){ echo "<td>".$r."</td>"; } echo "</tr>"; } echo "</table>"; Getting the column names is fine, but … | |
Hey guys, I've got a problem with a form that I've made. Basically the form loads a number of textboxes based on how many columns are in a table. I don't have any problems doingthat, but on the next page I'm trying to put the textbox values into a string … | |
Hey guys, I'm just wondering if it's possibe to get the results from a query and then assign the results to a variable. So I will run a query which will return the names of the tables stored in the database, then I want them to be stored in a … | |
Hey guys, So, I have a connections php file which contains info such as the host, username, password and database to be accessed. I'm wondering if there is anyway to make the database value to be changed later on in the website. When first logging into the website they choose … | |
Hey guys, So I'm trying to make a website in php. I'm just wondering, when I click on a link is there any way for the text of the link to be put into a variable. Basically the user will select the name of a database(which is a hyperlink to … | |
Hey guys, I'm having a bit of trouble. My girlfriend's netbook, an Acer Aspire One D257 running Windows 7 32-bit, has randomly stopped connecting to the Internet. I am able to connect fine from my laptop though. All the latest wireless drivers are installed, and I've tried removing the connection … | |
Hey guys, Having a bit of a problem. I have loaded a list of values from a mysql database into a CheckedListBox and want to be able to select them to eb used in a query. The CheckedListBox shows the data as table_name.attribute_name, and when an item is selected I … | |
Hey guys, I'm trying to create an application that will allow me to view information in a database and update/delete/all the usual stuff. How do I go about connecting to the database? I have a project using visual basic which connects to the server using this string: [CODE]con.ConnectionString = "Server=salamander.ads.ntu.ac.uk;Database=m_fyp2011_n0218430;Uid=" … | |
Hey guys, I'm just starting out with Android development using Eclipse. The only programming language that I've used a lot before is VB.NET, so I'm just wondering, is it possible to create variables which you can then add to over the course of the session? I'm particularly thinking of strings … | |
Hey all, I'm trying to show some concatenated data in a CheckedListBox so that users are able to select the data for use later on. Here is the code I am using currently: [CODE]Dim con As New MySqlConnection Dim theQuery As New MySqlCommand Dim theTables As New DataTable Dim theAdapter … | |
Hey all, I'm trying to install the Android SDK to work with Eclipse. I am following the instructions given on these websites: [url]http://developer.android.com/sdk/installing.html[/url] [url]http://developer.android.com/sdk/eclipse-adt.html#installing[/url] I'm using Eclipse Indigo, and everytime I try to add the ADT Plugin I get the following error: Cannot complete the install because one or more … | |
Hey guys, So, I have a CheckedListBox that will be used to choose what columns they want to select from a database. Is it at all possible to display it in the format of [Table Name].[Column Name]? So far I have this: [CODE]con.Open() theQuery.Connection = con theQuery.CommandText = strColumns theAdapter.SelectCommand … | |
Hey all, Apologies for this question, as I imagine it will be very easy. I'm creating a form that will be used to update fields in a table. I don't want the user to be able to update primary keys though, so I'm trying to disable the textbox so it … | |
Hey all, I'm trying to have a ListBox show a list of tables available in a database. This can then be selected to be used later on. My problem is getting the actual table name to show up. I have the connection to the mysql database working properly, but it … | |
Hey all, I'm trying to do a project which involves reading the text from a number of textboxes and putting it into a string. I'm just wondering if there's an easier way to it other than: [CODE]CreateString += TextBox1.Text + TextBox2.Text + TextBox3.Text... (etc)[/CODE] I have thought about creating a … | |
Hey all, I am trying to make a form that is blank and will add in 2 comboboxes, a textbox, 2 buttons and a checkbox next to each other in a row. I want the controls to be part of an array, so that all controls on a row are … | |
Re: Easy PC? Like easy peasy lol |
The End.