4,457 Topics

Member Avatar for
Member Avatar for ans2007kumar

i have created a page where one can edit previous message or add new. for that i created a cookie and store the primary key value and process over one want to edit [CODE]protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { object ob = Session["red"]; if (ob != …

Member Avatar for kvprajapati
0
93
Member Avatar for compuspace

Hey! I created my first project on Google Code. Let me introduce myself. I'm Kevin, 18 years old. Next year I'll study computer science in Holland. I'm interested in computers ofcourse, and also in artificial intelligence and natural language processing and internet. So I created a new project. But I …

Member Avatar for compuspace
0
77
Member Avatar for doomfrawen

Hello friends! I'm writing a program that is connected to a mdf database and i need to query the database, but I have tried several ways to do it but without success :( ! This is my code: [CODE] string Query = null; SqlConnection con = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database1.mdf;Integrated Security=True;User …

Member Avatar for doomfrawen
0
2K
Member Avatar for ans2007kumar

I performed the following code to retrieve the path from database and show image [CODE]protected void Button2_Click(object sender, EventArgs e) { string t = TextBox2.Text.Trim(); SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=D:\\Anshul\\College site\\App_Data\\afset.mdf;Integrated Security=True;User Instance=True"); SqlCommand cmd = new SqlCommand("Select dmc from Semr Where Rollno='" + t + "'", con); con.Open(); …

Member Avatar for dnanetwork
0
117
Member Avatar for Simes

So I have being asked to create something in JavaScript and was told what they want it to be like, since I am beginning JS amongst other web development languages. Anyway have a look at the image and let me know if it is possible to do with JS or …

Member Avatar for Simes
0
6K
Member Avatar for tukky

Hi this is the code i have [CODE]NewCustomerTable.Clear() NewCustomerconnection.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source=G:\Shop.mdb" NewCustomerconnection.Open() NewCustomerAdapter = New OleDb.OleDbDataAdapter("INSERT INTO Customers VALUES ('" & txtNewID.Text & "','" & txtNewFirstName.Text & "','" & txtNewLastName.Text & "','" & txtNewAddress1.Text & "','" & txtNewAddress2.Text & "','" & txtNewPostcode.Text & "','" & txtNewPhoneNumber.Text & …

Member Avatar for debasisdas
0
134
Member Avatar for dad45

I have an open source program that I want to use & associate with my New program. Started the new program with FileNewApplication. I then added the unit SerialNGBasic. When compiling I get an error (halts) in procedure TForm1.Button1Click(Sender: TObject); of Unit1/Main form. Any hints? Tks Vern Attached is the …

Member Avatar for dad45
0
170
Member Avatar for daryll1

Hi, as a bit of background, My Uni have lately implemented a CGI script so you have to log in to be able to use the wireless. This would be OK but they are terrible programmers and instead of timing out after a period of inactivity it will time out …

0
136
Member Avatar for Sanjanapm

[code] #!/usr/bin/perl $run_env = "test"; $parm_file = "wf_PBM_DHT_CS90_CH_Hist_Extract.parm"; $sys_id = "PWLP"; #div name based on the session's call $div = "WLD"; $CH_TYPE = "CS90CH"; #process name will be the process name in the trigger file $PROCESS_NAME = "CH_CS90"; #sys_name would map to the applicable Tier e.g. FAC=Facets, WGS=WGS, STR=STAR…. $sys_name …

Member Avatar for d5e5
0
230
Member Avatar for khess

Canonical's Ubuntu 10.04 LTS Server Edition features the ideal deployment platform for Linux server workloads and cloud computing Long-term support (LTS) version of popular server operating system generally available on 29 April. [B]LONDON, April 27, 2010:[/B] Canonical today announced the upcoming release of Ubuntu 10.04 LTS Server Edition which includes …

0
176
Member Avatar for sneha_2785

[CODE] Private Sub cmdToday_Click() Dim oConn as new ADODB.connection Dim oRs as new ADODB.recordset Dim sql as string sql = "SELECT WORD,MEANING FROM TODAY_LIST" oConn.Open "Provider=SQLOLEDB.1;Password=config;User ID=sa;Initial Catalog=master;Data Source=GAATLMDV01PSGE;Persist Security Info=True" Set oRs = oConn.Execute(sql) mfgViewData.Cols = 2 mfgViewData.TextMatrix(0, 0) = "WORD" mfgViewData.TextMatrix(0, 1) = "MEANING" mfgViewData.ColWidth(0) = 1500 mfgViewData.ColWidth(1) …

0
25
Member Avatar for scholar

Hello friends, I am looking for an open source project to get into this summer.I have been programming for quite long but i am not into open source software development yet.I have programming experience in c, c++,c#,php ,javascript, xml .So please suggest some good open source project to start with. …

Member Avatar for Sodabread
0
70
Member Avatar for narfman0

Hello all, I am trying to automate my builds so that when I commit a branch with a particular url to my svn repository, my python script (which runs twice daily) will pick up on it, do a build, and upload it to a new trac downloads page. Right now …

Member Avatar for narfman0
0
180
Member Avatar for notuserfriendly

Hello, i am currently writing an assembler for the theoretical SIC/xe machine and i decided to do it in python. Very new to python but i thought it would be fund to do it in and willing to learn. So far i know what to do and have the diea …

Member Avatar for woooee
0
509
Member Avatar for kieran82

I need help to create a search button vb.net to search a access database that is binded in vb.net. I want to search for 2 items in the database and display then in the datagrid. the code i done is here. [CODE] Dim da = New OleDb.OleDbDataAdapter() Dim con As …

Member Avatar for kvprajapati
0
845
Member Avatar for Geodude0487

I was wondering if you could help me out, I'm trying to do a DB Add, Update, Delete program and I was using your program khanhtrung for assistance and got the ADD working perfectly but UPDATE/DELETE will not work whatsoever, this is my code for my delete button, and for …

Member Avatar for kvprajapati
0
164
Member Avatar for ineale

I have a program that will use the following code to draw the nodes i need (ellipses), but it won't draw the paths(lines). The only thing i could think of is that it might not be calling properly through two classes. [CODE]protected override void OnRender(DrawingContext drawingContext) { base.OnRender(drawingContext); DrawingGroup dGroup …

0
80
Member Avatar for KadajXII

Dear All, I have search a lot of forum or blog for this problem and have yet come up with a solution.. Hope anyone can help me here... Thanks a lot!! I am using Ms Visual Basic 2008 Express Edition (vb.net) Here is my code: [CODE] Private Sub btnUpdate_Click(ByVal sender …

Member Avatar for KadajXII
0
96
Member Avatar for basma.lm

hi, i work on a csharp application with sql server ce database and i have this code: [CODE] private void recherchebtn_Click(object sender, EventArgs e) { SqlCeConnection con = new SqlCeConnection(); con.ConnectionString = @" Data source= `|DataDirectory|\Database1.sdf"; try { con.Open(); } catch (Exception ex) { MessageBox.Show("connection failed"); } finally { SqlCeDataReader …

Member Avatar for basma.lm
0
96
Member Avatar for stacyann

Hi I am working on a project for my course. I am creating a library system. However I am getting a lot of errors right now. Whenever it adds the record it does not add it to the database. Whenever it updates the record I got this message [B]Syntax error …

Member Avatar for SolutionExpert
0
339
Member Avatar for Omar123

Hello, I have a WebService that gets a LessonID and returns a list<string> that has all the links of the lesson from access database: [CODE] [WebMethod] public List<string> Lessons(int lessonID) { string lessonsource = ""; string cs = "Provider = Microsoft.Jet.OLEDB.4.0; Data Source= " + GetDBLocation(); OleDbConnection cl = new …

Member Avatar for Omar123
0
1K
Member Avatar for tehmarto

Hi all This is the file i wanna write a program for [url]http://www.mediafire.com/?vzrz1ymnmlq[/url] . It contains a database with a game's "spells", the damage they do, they're icon and other useful info i wanna see. I wanna get this file in an sql executable format and into my sql database. …

Member Avatar for tehmarto
0
797
Member Avatar for flashkarni

hello all, i have the following VB code which is expected to activate a storred procedure from SQL DB. for some reason i recieve a msg that the procedure does not recieve the inpute parameters. the code: [code] Sub Validate_Data() 'check if data is there: If Cells(5, 6) = "" …

Member Avatar for hkdani
0
370
Member Avatar for gunnarflax

Hi! I'm currently using Dreamweaver as my code editor for web development but I'm considering using open source applications instead. I've always supported open source development and let's face it, Adobe's programs costs a whole lot. So I read about using Eclipse for web development and did some searching and …

Member Avatar for gunnarflax
0
162
Member Avatar for zachattack05

I'm lost. I've been trying to do this for a while now and I can get halfway what I need. But I can't tell if it's working or not, or where my problem is. I don't want to use the wizard in VS to add a data source, I'd like …

Member Avatar for zachattack05
0
113
Member Avatar for Mz3g

Hi guys, I'm doing a program that reads from two files and write to 16 files. The idea of the program is to rout packets across a network that contains 16 nodes. I still working in the routing mechanism but I just wrote the codes for the source node and …

Member Avatar for daviddoria
0
187
Member Avatar for Waher

I am looking for a platform to build a manual and function reference for my open source software-in-development. Something that is easily organized. I spotted a very nice and simple solution here: [url]http://mpdf1.com/manual/index.php[/url] But contacting the author has not resulted in information what that software is and by the look …

Member Avatar for pritaeas
0
121
Member Avatar for atticusr5

Ok so I am a total newbie, and for our last programing assignment in my class we are going over Binary Search Trees. Out assignment is to take an older program and make it into a binary search tree. I am using Visual Studio and I have gotten past all …

Member Avatar for mattjbond
0
1K
Member Avatar for kieran82

I am doing a project in college and I am not binding the database. I am connecting to it manually. i got the database to load and display, but can't create a new row or edit the database or delete a row. the code is here and could someone tell …

Member Avatar for kvprajapati
0
176
Member Avatar for Lisa Hoover

The [URL="http://openid.net/"]OpenID[/URL] authentication method allows visitors to participating Web sites to log in with a single digital identity and avoid having to remember [I]yet another[/I] login / password combination. Many businesses are implementing this method on consumer-facing Web sites in order to lower the barrier to user registration and participation …

Member Avatar for cereal
0
178
Member Avatar for davidcrossan

hi there i am building a one page website that i need query data from an access database (visual studio 2008 c# xml). I need to do a sql query displaying customers with possible bookings if any. I have been able to display all customers details but i am finding …

Member Avatar for Mohtshm
0
156
Member Avatar for BigPandaCake

I've been trying for hours to do this and can't figure it out.. I'm trying to add a new record to a table in my local database.. Heres the SQL code im using at the minute.. I keep getting this error "The data was truncated while converting from one data …

Member Avatar for BigPandaCake
0
249
Member Avatar for happygeek

Despite having recently been [URL="http://www.daniweb.com/news/story273853.html"]cast as the villain of the piece[/URL] by some high profile members of the Free and Open Source Software community, IBM has just revealed itself as actually being something of a crime-fighting superhero. The Florida State Department of Juvenile Justice is following in the footsteps of …

0
1K
Member Avatar for jeanfrg

Hi I have an assignment to do where I have to make a race between two cars (this assignment is a continuation of a previos 'mini' assignment where I had to do the 'race' with one car). The commands that I implemented for the cars is foward (increases distance travelled), …

Member Avatar for jeanfrg
1
2K
Member Avatar for basma.lm

hi, i'm working on windows application and sql serverCE database i write this code: [CODE] private void enregistrerBtn_Click(object sender, EventArgs e) { if (!exist) { SqlCeConnection conn = new SqlCeConnection(); conn.ConnectionString = @" Data source= |DataDirectory|\Database1.sdf"; try { conn.Open(); } catch (Exception ex) { MessageBox.Show(" connexion failure"); } finally { …

Member Avatar for basma.lm
0
86
Member Avatar for flashkarni

hello all, i am new to VB. i am trying to execute SQL Stored procedures from a macro in excel. but i fail to do so. i managed to write a code that imports a table, but not to execute a SP or a function. heres my code: [code] Sub …

Member Avatar for vb5prgrmr
0
110
Member Avatar for andrew732

I'm not sure exactly what I'm looking for or whether it exists, but I was hoping to get any ideas from the assembly experts here. I do know basic x86 and ARM assembly from classes but have not used them much in "real life." Ideally, what I would like is …

Member Avatar for andrew732
0
437
Member Avatar for deathlemon
Member Avatar for deathlemon
0
65
Member Avatar for emaduddeen

Hi Everyone, Can you tell me how do I set up create Insert, Update and Delete commands for your a DataAdapter? I'm using a DataGridView to allow the user to view, change and delete data rows and would like to be able to save any changes made in the grid …

Member Avatar for emaduddeen
1
1K
Member Avatar for Naloth

I'm getting errors at every occurrence of my void definitions. "expected primary-expression before "void"" and "expected ';' before "void"" at my "void displayMenu ()" "a function-definition is not allowed here before '{" token" "expected ',' or ';' before '{' token' " At every future occurrence of void. Any ideas? I've …

Member Avatar for Naloth
0
162
Member Avatar for tukky

hey guys im currently working on a project for college. (USING VB) wat the form im working on does, allows the user to enter an ID of a customer and this then displays the customers details the user can then change the details however they want and update them which …

Member Avatar for Oxiegen
0
137
Member Avatar for Jdugan4

I have an Access database with a contacts table and a location table that is linked to contacts. When i click the add button I want to add a new contact and add that contacts ID to a the location table. The ID is an Autonumber, so when i add …

Member Avatar for kvprajapati
0
71
Member Avatar for ShadyTyrant

Well I have reflected on why my first proposal for a open source project failed. We had no base to build on, and there was to much administrivia that made us loose interest in the project. Since then I have come up with a new project idea. I started simple …

0
102
Member Avatar for Privoxy

Morning People I seem to be having a pretty big issue with a buffer I have that is reading a text file and acting upon the results of the file, As of now, the buffer reads each token in the file, and stores each token into a variable, this is …

Member Avatar for BestJewSinceJC
0
100
Member Avatar for carrzkiss

Hello All; I would like to start off by saying hello, and that this is actually my first post to the group, even though I have been a member for many years. I am a ASP Classic Programmer, professionally for a little over a year, I have developed some rather …

Member Avatar for carrzkiss
0
725
Member Avatar for sushant_gupt

There is a good tool for pcap base protocol testing. You can modify the pcap by using this tool. [URL="http://www.packetsquare.com"]http://www.packetsquare.com[/URL] packetsquare is a open-source packet modification tool. It is used for protocol testing and hacking. This tool is capable to parse and modify Ethernet II, VLAN(802.1Q), MPLS, ARP, IPv4, ICMP, …

Member Avatar for vijaymohan
0
364
Member Avatar for Waher

I was looking for a community of like-minded spirits and ended up registering in quite a few forums, but so far I am impressed with what I have seen here and hope to stick around for a while :) I am a professional web developer and propagator of free software. …

0
79
Member Avatar for datapham

Pls help me , i can not run it correctly with "AddNew, Update, Update, Delete, Cxl" , i have tried many ways but no effect ? My database has 5 tables , i choose one which has 7 columns , the 7th col (name = "ID") is identity number (1/1). …

Member Avatar for kvprajapati
0
136
Member Avatar for Geodude0487

[QUOTE=khanhtrung;460562]Hi omoz4real. In your code,i found that you hadn't opened your connection before executed a command,so you probably couldn't connect to the database. If you didn't intend to execute a command which return a table as a result,you should use another way.There is [B]xxCommand.ExecuteNonQuery().[/B] I have a small attached program …

Member Avatar for Geodude0487
0
112
Member Avatar for khess

Florian Mueller, Open Source Patent Activist, just released the following information. He believes that patents already used by IBM against [URL="http://www.turbohercules.com"]TurboHercules[/URL] are also a threat to other major FOSS projects. He now calls on the community for action. [URL="http://openbsd.org"]OpenBSD[/URL], [URL="http://xen.org"]Xen[/URL], [URL="http://virtualbox.org"]VirtualBox[/URL], [URL="http://redhat.com"]Red Hat Enterprise Virtualization[/URL], [URL="http://mysql.com"]MySQL[/URL], [URL="http://postgresql.com"]PostgreSQL[/URL], [URL="http://sqlite.org"]SQLite[/URL] and [URL="http://kaffe.org"]Kaffe[/URL] …

0
920

The End.