4,457 Topics
![]() | |
I don't know how to solve this problem. I want to create simple project in visual studio 08 in C# windows application which can save update delete data from database. here are the steps i use : open new project right click on solution explorer -add- add new items-service-based-database when … | |
I'm trying to save data from textboxes in visual studio using vb.net to sql server 2008. the coonectiong is working perfectly but is not displaying the data output in data grid. This is the part of the code. [CODE] Imports Microsoft.VisualBasic Imports System.Collections.Generic Imports System.Data Imports System.Data.SqlClient Imports System.Text Dim … | |
[CODE] Public con As ADODB.Connection Public cmd As ADODB.Command Public dept_rs As ADODB.Recordset Public gen_rs As ADODB.Recordset Public stud_rs As ADODB.Recordset Public sql As String Private Sub cmdExit_Click() con.Close End End Sub Private Sub cmdSave_Click() With cmd .ActiveConnection = con .CommandText = "student_table" .CommandType = adCmdTable End With With stud_rs … | |
Hello... I have form having a button and a gridview. The gridview is ok and generates data. But now, i want to populate only the data when i click on the button specified. Can anybody please help me with this ?? Here is my code : Private Sub button1_Click(ByVal sender … | |
Hi, I recently placed about 3 GB worth of my university files on a USB drive. After a few days, I tried to access the files on the USB. So, I opened the 'My computer' folder, which is when I noticed that the removable drive showed '164 MB of 3.93 … | |
Hi To All, Once againg I'm in a big problem. I'm using C# 2008 and Access 2007. My DB contain 2 tables Customer and Booking. Both having Relation on CustomerID column. Customer -> CustomerID (PK) and Booking -> CustomerID(FK) Now I want to display the few columns from Customer and … | |
[CODE] Imports System.IO Imports System.Data.OleDb.OleDbException Public Class Form2 Inherits System.Windows.Forms.Form Dim inc As Integer Dim MaxRows As Integer Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter Dim sql As String Dim username As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) … | |
Hi I want to load data from a flat file into a SQL table. The file has a header row and detail rows, all of which need to be loaded. I've tried various suggestions I came across in forums and EndOfStream is the one that loaded all the rows. The … | |
This is the syntax i have written in vb.net to compare the text entered in textbox with the database. If existing, the value will be entered in databse, if not, it will give a msgbox displaying to add a new contact. I am new in vb.net. The database is Ms … | |
Hey guys just wanting to get an idea of peoples opinions on Open-Source software as i know many people have very different opinions. The sort of thing im looking for is: Advantages for your personal use Disadvantages for your personal use Whether you agree with Open-Source If you ever use … | |
I have written an application that creates an mhtml file based on information in cache. The MHTML file can be opened in Opera but not Internet explorer. Below is an example of an MHTML file i have created. Does anybody know what im missing? Why wont it open in IE? … | |
Hi and thanks ahead of time: I'm new to vb.net - not sure if I'm doing this right. I need an editable gridview with an Access database as it's source. The findcontrol is not finding control in gridview (dropdownlist). I have the following gridview: [CODE] <asp:GridView ID="gvRescue" runat="server" AutoGenerateColumns="False" onrowcancelingedit="gvRescue_RowCancelingEdit" … | |
hey all, Am trying to display the div tag and its content by clicking it. the code below displays the whole source code when cliked on the div with id = softros. I want to make this script to display the div in view source format of the browser when … | |
hi i'm making a little application in vb.net and i need to use a data base. so i used some of my aspx functions and the same data base. the problem is that every time i run the application and do something that needs to get values from that db … | |
this thing is getting into my nerves and i really don't know what to do.. i tried a lot of variations in my code and even sql statement but still nothing happens.. i really need to do thing messed up project of mine and put all my efforts here.. but … | |
hey all, Am trying to display the div tag and its content by clicking it. the code below displays the whole source code when cliked on the div with id = softros. I want to make this script to display the div in view source format of the browser when … | |
I have one access database and one windows form. I have some text field and one picture box. I want to Store some data and image into my database, i have written following code to do the task but it says "Syntax error in Insert into statement". I am pasting … | |
Hello guys! I need another help now. My last topic was about editing a image, which I already get working. Now I need a few things: [LIST=1] [*]Open a folder, add every image that is inside it to a listbox (filter all the other files). [*]This one is a bit … | |
i am a newbie so bare with me.. can anybody help me solve this prob. input string was not in a correct format this is my code... i can figure out what wrong with this .. [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using … | |
-- hello there!, here i am again asking for some help... i want to retrieve my data from my ms access database and i it gave me this error.. [COLOR="Green"]"Index was outside the bounds of the array."[/COLOR] ------ can someone help me about this?.. i put my code on my … | |
[CODE]<?php $myServer = "202.138.125.155"; $myUser = "micro_fms"; $myPass = "micro_fms*#$"; $myDB = "micro_fms"; //create an instance of the ADO connection object $conn = new COM("ADODB.Connection")or die("Cannot start ADO"); //define connection string, specify database driver $connStr = "PROVIDER='SQLOLEDB'; SERVER=".$myServer.";UID=".$myUser.";PWD=".$myPass.";DATABASE=".$myDB; //Open the connection to the database $conn->open($connStr); //$table_name=$_GET['Device']; $table_data=$_GET['Data']; $data=(explode(",",$table_data)); $table_name=$data[0]; $speed=$data[1]; … | |
I'm attempting to create a program where the login and password will be verified on an SQL database of user information. I keep getting the error "SQL Execution was unhandled" I marked the code that was causing the error in red. I'm using Visual Studio 8. Keep in mind I … | |
I'm attempting to create a program where the login and password will be verified on an SQL database of user information. I keep getting the error "SQL Execution was unhandled" I marked the code that was causing the error in red. I'm using Visual Studio 8. Keep in mind I … | |
Hello..I am developing a windows application in vb.net and getting an error of system.nullreference exception. I am trying to insert data in the database, insertion occurs in the first go. But, when i stop the porgram and re-run, i get the exception. Can anybody please help me with this ? … | |
Hi guys, i'm trying to test my asp.net app. it works fine when in visual studio 2010 ide, connecting to Mysql database and running. but, when testing in IIS the published app get the message exception "no database selected". it's everything running local, windows xp, mysql 5.x, IIS 5.1 my … | |
I am compiling a VC++ source file in VS2008 licenced edition. Using the following header files: #include <regex> But I am getting the below error while compiling. fatal error C1083: Cannot open include file: 'regex': No such file or directory Please advise what Iam missing here.. :( | |
hi i am trying to make a CAD program that read a text file which contain a vertecises and number of triangles, which look something like this"the file" : 8 -2.0 -1.5 -0.5 2.0 -1.5 -0.5 -2.0 1.5 -0.5 2.0 1.5 -0.5 -2.0 -1.5 0.5 2.0 -1.5 0.5 -2.0 1.5 … | |
[CODE] [TEX][B][U]form1[/U][/B][/TEX] Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim cmd As New ADODB.Command Dim adrs As New ADODB.Recordset Private Sub Command1_Click() cmd.CommandText = "insert into table1 values('" & Text1.Text & "','" & Text2.Text & "','" & Text3.Text & "','" & Text4.Text & "','" & Combo1.Text & … | |
Ok I have an assignment for school where we are building a compiler step by step each week. This week I have to make a syntax analyzer that picks out the errors from this text file below. In the source code I have provided below I have a lexical analyzer … | |
Hello Guyz :cool:, I am [B]Ankur Thakur[/B], a Student living in [B]New Delhi, India[/B]. I am currently doing [B]B. Tech Computer Science Engineering[/B], a 4 Year Course, from PDM College of Engineering, Bahadurgarh. I have completed my Primary and Secondary Education from KV Shalimar Bagh. I miss my Old School … | |
So from what I've been taught, in school and in books, all C programs(I assume C++ too) always have main(). That's very explicitly mentioned. However in my poking around with some relatively large open source projects in hopes of learning something, it isn't as straight forward. What I've encountered was … | |
Hi, I am building a database that will be populated with financial data. Taking into account what the data looks like, how the data will be organised, what I am trying to do with this data, my hardware, budget and competency, I am looking for the most efficient design for … | |
Hey, I am looking for a way to create a Personal profile type for users. Is their a open source software to do this or something ? Cheers for help guys ;) | |
Hi Experts: When i run this page on my online website with mysql (already with Oracle), this errors orrurs. Exception Details: System.Data.OleDb.OleDbException: [1]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exec print_pack.check_print … | |
I have a web page in which there is a textbox that asks my users to enter a start date. What I'm trying to do from there is that no matter what the end date is, my page will calculated that from the text box, store it as a variable … | |
Im trying to select data from a MS access database, i have done this for SQL server before with no problem, but now with a Access database i get a run time error for "No value given for one or more required parameters". Below is my code [CODE] Private Sub … | |
Hello guys, Am searching for an open source mobile framework which can support voice and video calls for example (phonegap,mobl,rhomobile...etc).Will you please list out the frameworks??Show me some references...will be appreciated... Thanks | |
Having trouble with a simple database command I keep getting the error invalid column name and I cant seem to figure it out. Please help me figure out some possible problems Thanks. [CODE=VB] Dim ConnString As String ConnString = "Data Source=.\SQLEXPRESS;AttachDbFilename= C:\inetpub\wwwroot\KiKoGraphics\App_Data\aspnetdb.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" Dim sqlConn As New SqlConnection(ConnString) … | |
Hi, I am working on a small application that uses a WebClient to download an XML file via an API call. Just downloading the file is fine, that all works but I really wanted some way to show the download progress to the end user. Searching on the net I … | |
I generally do not work in asp however I am working on a project for a volunteer student org - they are working with pregnant teens. I have the following code and while I can get the names and address to pass I can not get the checkbox to pass … | |
I generally do not work in asp however I am working on a project for a volunteer student org - they are working with pregnant teens. I have the following code and while I can get the names and address to pass I can not get the checkbox to pass … | |
Hi I have used the following code to populate a DataGrid based on the contents of a textbox. the users searches for a name which is populated into a combobox based on the name in the combobox several textboxes are populated with data based on the data in one of … | |
I am using adodb and i want to view the selected field in two tables but only one table appears in datagrid and below are my codes. Private Sub Form_Load() Set cn = New adodb.Connection cn.ConnectionString = "Provider=microsoft.jet.oledb.4.0;data source = " _ & App.Path & "\customers_infos.mdb; Persist security info= false" … | |
I don't know where it came from but just about every page I open results in the pop up "Do you want to install and run "Adobe Flash Player" signed on 6/11/2007 . . . No I don't know want to run it but I also don't know where the … | |
Hi, I am about to create a web based application, using only free web technologies like Ruby on Rails or PHP. But its a bit hard for me to finalize on a free / open source database management system, that will help in performance, scalability, portability and easy hosting. I … | |
Hello everyone, I'm just having a problem that is stopping me from doiing my work and I've tried fixing it. I don't know what's really wrong with what I've got typed in visual studio. [code] string connString = @"Data Source=.\SQLEXPRESS;AttachDbFilename='C:\..................\Database1.mdf'; Integrated Security=True; User Instance=True"; SqlConnection conn = new SqlConnection(); conn.ConnectionString … | |
I have my project done in NetBeans, and it runs fine with no errors. However, when I try to compile the main class it says : C:\Users\Lynn\Documents\NetBeansProjects\EmployeeInfo\src\employeeinfo>javac Emp loyeeInfo.java EmployeeInfo.java:35: cannot find symbol symbol : class Name location: class employeeinfo.EmployeeInfo Name saveInfo; ^ EmployeeInfo.java:83: cannot find symbol symbol : class … | |
hye.. I have a database call student which consists of all students information and also student id.. i have created a form that admin have to insert all the data about student.. then after admin click a save button, i want to display all the information also with the student … | |
I've just created my first website (congratulate me). And I want to upload it but although I don't have access to many different computers, I've opened my webpages up on google chrome, internet explorer and firefox and the style looks slightly different. So apparently what I need to do is … | |
Hi all, i need some help with php. I am writing i web site and i have an upload form . I upload files in folder and in database where i have the filename the path and some other fields which i will use for my sql to set my … |
The End.