2,069 Topics

Member Avatar for
Member Avatar for tangosixfour

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(); …

Member Avatar for Mitja Bonca
0
102
Member Avatar for CharlieHolt

I am trying to save a form location to a database whenever the LocationChanged event is triggered on that form. [code] private void DisplayForm_LocationChanged(object sender, EventArgs e) { DSLocation = this.Location; ((Form1)this.MdiParent).NotifyChanges(this); // notify parent form that there are changes on this child } childForm.Location = StringToPoint((string)row["location"]); [/code] DSLocation is …

Member Avatar for CharlieHolt
0
130
Member Avatar for coastcode

I'm trying to create a tree with the following very small access database. I'm still getting a few errors, 'rdr' is a 'variable' but used like a 'method' and trying to get tree to actually populate.. If you find any other errors or recommendations, they're greatly appreciated. Thanks a lot. …

Member Avatar for kvprajapati
0
324
Member Avatar for feoperro

Hi, I am new to PHP and I would just like to know: Is there a purpose for cookies if you handle sessions with the database? I've been reading about cookies and trying to understand how they would be beneficial if I had sessions handled by the database, and I …

Member Avatar for somedude3488
0
131
Member Avatar for Rajeev R Nair

Hai everybody. i am in trouble. As the part of my training programme i have to create a simple application in vb.net. i need to connect a local database to the application. I am a newcomer from a Govt. Polytechnic college located in South Kerala(INDIA). I haven't any experience with …

Member Avatar for Rajeev R Nair
0
172
Member Avatar for erum

i need to isnert in database and i have query liike that [CODE]str_attend = "insert into Attendees([Userid],[Attendees_name],[Attendees_telephone],[Attendees_Email] )values (" & userid & " ," & arr(0).ToString() & " , " & arr(1).ToString() & " , " & arr(3).ToString() & " )" [/CODE] all values hold values in insert statment non …

Member Avatar for Momerath
0
158
Member Avatar for tooqt4u_777

Hi guys, My group is having a software development project for our academics at a university. The software we want to develop is an inventory system which will be installed in a Local Area Network. We have decided to use Visual Studio C# (2005 or higher) as the front-end while …

Member Avatar for dValue
0
587
Member Avatar for etftw

Hello, I am looking for a means of database interaction in which the database will be stored on a user's machine but with no actual server software running. I have read there is some way to create databases in SQL express and then take the files for use in your …

Member Avatar for etftw
0
317
Member Avatar for tendaimare

'A way to connect to SQL with VB.Net using Classes 'This must be a class on its own Imports System Imports System.IO Imports System.Data Imports System.Data.SqlClient Imports System.Web Public Class frmConn Public Shared Function ConnSQL() As SqlConnection Dim connectionString As String Dim cnn As SqlConnection connectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\App_Data\test_db.mdf;Integrated Security=True;Connect …

Member Avatar for AndreRet
0
2K
Member Avatar for theG-Scott

Thanks for taking the time to read this. Let me start by saying I'm a php newb so be gentle! I have a form that is used to insert data into my database to display info and images in a portfolio section on my site. In the form, the input …

Member Avatar for theG-Scott
0
261
Member Avatar for weasel7711

Hello, I am new to Access and VB, but I have used C# and C++. I am trying to update a whole bunch of records in a table, only one field. For example [CODE] [Employees] [ EmpCode ] [ FirstN ] [ LastN ] [ 019871 ] [ John ] …

Member Avatar for AndreRet
0
235
Member Avatar for brenton_77

Hi Guys, Hopefully someone can answer this question for me as I'm stuck as to what to do. So the scenario goes like this. We currently use an access database at our company that contains staff information. I have been asked to design a web page that when a user …

Member Avatar for sickpuppy18
0
111
Member Avatar for choover12

hello. I want to know how to read, write, and save databases. with control and virtually. i have seen some tutorials about databases they just don't help me. thank you

Member Avatar for alc6379
0
90
Member Avatar for snehil_khanor

hi, I'm working on a an app that uses access database so.. while making the setup file i added the file in the application folder along with the .exe file that uses it.. but after installation the .exe file is not able to alter the database as the user is …

Member Avatar for Momerath
0
130
Member Avatar for nagatron

Hello to all, I am always mad about this problem. If I type a name with two words in a textbox like "google corporation" it will be registered in the database ms access as "Google Corporation" now that is okay. What I want is, there should be no duplicate of …

Member Avatar for nagatron
0
223
Member Avatar for TechySafi

If I put this line [ICODE]$friends = $connection->get('followers/ids', array('screen_name' => '2020volt'));[/ICODE] Twitter api returns something like this : [CODE]Array ( [0] => 173605790 [1] => 187372244 [2] => 17535566 [3] => 190756198 [4] => 184577861 [5] => 119247538 [6] => 183813521 [7] => 18013082 [8] => 149601084 [9] => 186491393 …

Member Avatar for TechySafi
0
134
Member Avatar for Sahilsahni

hi am new in php, i have values like A,B,C,D in database all in one box. i made a dropdown for its search A B C D , i want if somebody select A or B and search it fetch the whole row from database. or in other words i …

Member Avatar for jogesh_p
0
537
Member Avatar for Yearner

How to connect to a WAMP server database (located in default MySQL database location in WAMP) using C# 2010? I tried... SqlConnection conn = new SqlConnection("Data Source = C:\\wamp\\bin\\mysql5.1.36\\data\\testdatabase; User ID=; Password=;"); SqlDataAdapter da = new SqlDataAdapter("SELECT * from transactions", conn); DataSet ds = new DataSet(); da.Fill(ds, "Transactions"); DataGridView1.DataSource = …

Member Avatar for Momerath
0
194
Member Avatar for bouhbob

Hi, I used mysql_real_escape_string to insert a data with apostrophe, in the database, using php. This works. But when I want to select this data and display it in a form's field, it does not work. What happens is that the data before the apostrophe is displayed in the field, …

Member Avatar for vibhaJ
0
1K
Member Avatar for auxius

please help me.im using vb studio 2010.my problem is that when im trying to save a data on the database access .accdb it wont update the datagrid on my main form..it only update on my CustomerInfoForm where you can input New Item info and a Datagrid but my Datagrid2 on …

0
76
Member Avatar for auxius

hello please help me. i want to search a data using from a textbox and a command button to search ..I have a i have a access database and 1 table with 2 fields ID and Name..im using Visual Basic 2010..please help me on second thought after finding a data …

Member Avatar for auxius
0
66
Member Avatar for teedoff

Hi new to php and I'm trying to learn how to set up connections to the database on my remote server. I'm using dreamweaver to create recordsets, then dispaying the results. Dreamweaver creates a connection file(I named student.php) automatically based on your database connections and login info. However, this poses …

Member Avatar for teedoff
0
329
Member Avatar for stolikp

Where should I keep connection object to database like ISession or SQLConnection? What's the best solution and why ? Is it Application, Session or Items ?

Member Avatar for glennt
0
116
Member Avatar for VBPRGM

Hi, I am using visual basic express 2008 . and i am adding few rows to the database using some stored procedure. it is working fine. after adding the row i am displaying in a grid using dataset . fine.but when i close the program and reopen the program i …

Member Avatar for lolafuertes
0
100
Member Avatar for Shiban

[CODE]Guys I've a problem. I'm using access 2007. The file name has an extension .accdb . I created a table called 'login' in the db file named 'MySite_Database.accdb'. My HTML looks like this : [COLOR="Red"]<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="login.aspx.vb" Inherits="login_to_site._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Member Avatar for orclboy
0
1K
Member Avatar for dlannetts

Hi, i am making a menu and want to be able to add menu links by simply adding a new record to a database, i have got the main concept going but am having some troubles, instead of writing: the same piece of code to load a new menu item …

Member Avatar for dlannetts
0
168
Member Avatar for kalor

Hello... I'm a student who's only taken some basic coding classes. My project might be a bit ambitious for my skills, but I'm getting stuck on one small issue. I built an Access database for our personal library. I'm building a small application that will: 1. Display all records of …

Member Avatar for kalor
0
74
Member Avatar for george61

This is some PHP search code with some mistake. $run gives nothing where $run = mysql_query($construct); It gives: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\xampp\search\search2.php on line 39 No results found. [CODE]<?php //get data $button = $_GET['submit']; $search = $_GET['search']; if(!$button) echo "You didn't submit …

Member Avatar for george61
0
177
Member Avatar for unclenath

Hi everyone, I need a script that will redirect an excel API from one database to another using VB.net. I am still a novice. I need your help. Thank you.

0
89
Member Avatar for vasilevich

Hello DaniWeb, I am pretty new to this community and overall to the C++ language. Not so long ago i've decided to learn C++. Anyways the problem is: I am trying to make a simple calculator, its very easy my problem is i am trying to advance my knowlege about …

Member Avatar for vasilevich
0
258

The End.