8,298 Topics

Member Avatar for
Member Avatar for mandar2886

Hi I'm new to .NET technology and learning ASP.NET using C# database connectivity and I'm getting the error[B][COLOR="Green"](PLS HELP):[/COLOR][/B] [B][COLOR="Red"]Could not find installable ISAM.[/COLOR] [/B] in the following code: [B]using System.Data.OleDb; public System.Data.OleDb.OleDbConnection conn; public System.Data.OleDb.OleDbDataAdapter adapt; DataSet ds; ds=new DataSet(); conn=new OleDbConnection("Provider=MicroSoft.Jet.OLEDB.4.0;Datasource=C:\\Inetpub\\wwwroot\\pracs\\emp1.mdb"); conn.Open(); adapt=new OleDbDataAdapter("select * from emp",conn); adapt.Fill(ds,"emp"); …

Member Avatar for dilaram khan
0
244
Member Avatar for castajiz_2

1.code -------------------------------------------------------------------------------------------------------------------- static void Main(string[] args) { SqlConnection sc = new SqlConnection("Data Source=pc3490ierf43;Initial Catalog=Persons;Integrated Security=True"); sc.Open(); SqlCommand command=new SqlCommand("Select Name from Persontable",sc); SqlDataReader reader= command.ExecuteReader(); while (reader.Read()) { Console.WriteLine("{0}", reader.GetString(0)); } Console.ReadLine(); } --------------------------------------------------------------------------------------------------------------------- ** 2.code** static void Main(string[] args) { using (SqlConnection sc = new SqlConnection("Data Source=pc3490ierf43;Initial Catalog=Persons;Integrated Security=True")) …

Member Avatar for deceptikon
0
255
Member Avatar for weathermans

Hello I'm looking for some help on how to get a XML value which would be one word. Then take that value and output it in a C# or C++ program. Using windows 7 and visual studio 2010. I have Novice programming knowledge. Thanks for help.

0
153
Member Avatar for somjit{}

I like watching stuff like google tech-talks , josh bloch seminars/talks etc for Java. Can somebody provide something similar in nature for C# ?

Member Avatar for somjit{}
0
166
Member Avatar for castajiz_2

Is it posible to install and deploy my c# apllication on my phone (name in the title)?

Member Avatar for pritaeas
0
82
Member Avatar for Roshan92

Dear all, I'm starting on C# now. I had a problem in tackling a question my lecturer asked me to do. Below is the GUI. [Click Here](http://i.share.pho.to/daa36a24_c.png) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class Form1 …

Member Avatar for Fenrir()
0
262
Member Avatar for aplh_ucsc

This method read the Database and Returns the Username and Password. tblPassword has only one user name and a password. using (SqlConnection dataConnection = new SqlConnection("Data Source=isukoon-pc\\sqlexpress;Initial Catalog=AdsManager;Integrated Security=True")) using (SqlCommand dataCommand = new SqlCommand("select username from tblPassword", dataConnection)) using (SqlCommand data2Command = new SqlCommand("select password from tblPassword", dataConnection)) { …

Member Avatar for aplh_ucsc
0
240
Member Avatar for MasterHacker110

I program mainly in C++ but recently took up Java for its advantages. I heard about the mono project and that C# is now cross platform but that the GUI of C# is not. I like Java but I also like C#, Java has some anoying restrictions sometimes (like no …

Member Avatar for sepp2k
0
259
Member Avatar for nitish.mohiputlall

Here is the question: Write a program containing a function that takes has 2 integer parameters x and y and returns the value of x^2 + y^2. My codes: #include<stdio.h> #include<stdlib.h> int Myfun(int x,int y); int main() { int n,p,k,sum=0; printf("Enter 1st integer: "); scanf("%d", &n); printf("Enter 2nd integer: "); …

Member Avatar for robsonminag
0
151
Member Avatar for ange1991

private void button4_Click(object sender, EventArgs e)//delete { conn.Open(); comm.Connection = conn; comm.CommandText = " DELETE FROM Table1 WHERE Fname =" + textBox1.Text + ""; dataGridView1.Update(); conn.Close(); } HERE AM UNABLE TU DELETE THE RECORD IN MY DB ..

Member Avatar for ange1991
0
122
Member Avatar for rajathvk

Hi, Please tell me the c code for finding a basic solution to a system of linear equations!Please help me as I am messed with the Gauss-Jordan Method.I am not getting the correct idea to do this in my project. Please help me soon.

Member Avatar for rajathvk
0
10K
Member Avatar for bellalucia

hey! i created like four pages using c# windows forms, i want to link th pages how do i do that?

Member Avatar for ddanbe
0
47
Member Avatar for sagngh8

Hi Everyone, I have been programming in C# for quite some time now.I would like to know some of the good websites from where i can learn C# and do some projects to improve my coding skills.Please let me know those few websites.Also It would be great if i can …

Member Avatar for james6754
-1
102
Member Avatar for programmingme

I had to write a fraction calculator program and my only problem (I think) is when I input the two fractions it gives me garbage - for instance if I put 1/2 + 1/2 it gives me 1374389536/687194768 - can anyone help me correct this please? Thanks! divisionByZero.h [CODE] #include …

Member Avatar for irum.nageen.3
0
3K
Member Avatar for codetoeternity

hello dear people. as adviced by respected members of this community, i have decided to use an engine to develop the game, my initial findings are that unity uses c# or javascript as language, udk uses unrealscript, i was wondering if there is a good (i mean atleast on par …

0
100
Member Avatar for J_SON

Heres the scenario : Ive got a struct to represent 5 client nodes in a system, the client nodes send packets to the server node every 2 seconds. A GUI is created to properly display values from the client. The problem im having is representing a client offline on the …

Member Avatar for Ketsuekiame
0
1K
Member Avatar for pardeepkhatri

i have 4 pictureBox which are hidden, and now i want to show them one by one, how it can be done?????

Member Avatar for deceptikon
0
276
Member Avatar for joester007

> I want to create a program that will calculate the day easter will be on. The user will type in a year and then the program should calculate the day easter will be on. I'm having trouble understanding the if/else and how i can use that with the code …

Member Avatar for AndrisP
0
4K
Member Avatar for grafic.web

Hi there, i am new with asp.net and i would like to start with it!!! I was wondering if anyone could suggest me any good and easy to understand tutorial where i can learn how to make a list from sql and edit the record in a new page (add, …

Member Avatar for grafic.web
0
309
Member Avatar for Aldic

Dear All, I'm working on application in C# which needs to filter "blanks" in one column and copy some value from other column instead. Filtering works perfectly, but copying is not so cool.. It copies some lines, but rest left blank. I cant find out where is problem. If possible …

0
249
Member Avatar for Tank50

Hi I used below coding for create a excel sheet.I got from on web site. In below coding there is no problem.Its create the excel file.If i run second time,its ask to overwrite the current excel file.If I said "Yes" then it ok ,but If I select cancel button,its generate …

Member Avatar for ddanbe
0
1K
Member Avatar for fhau013
Member Avatar for fhau013
Member Avatar for fhau013
0
134
Member Avatar for fhau013
Member Avatar for fhau013
0
213
Member Avatar for prakash4

1. #include<stdio.h> #include<conio.h> int main() int a=10; printf("%d%d%d",a,a++,++a); getch(); return 0; } o/p:12 11 11 #include<stdio.h> #include<conio.h> int main() { double a=5.2; if(a==5.2) printf("equal"); else if(a<5.2) printf("less"); else printf("high"); getch(); } o/p: less Can any one give me explanation for the above outputs.....

Member Avatar for sepp2k
0
287
Member Avatar for Ravic85

I'm a bit lost. I am trying to take an input file and use the data inside as a command as well as the data. So my input file would look like this: *B 127.2 Hi 183.2 Someone 23.8 Lost* Where "B" would call the specific function it is attached …

Member Avatar for Ancient Dragon
0
220
Member Avatar for killer88
Member Avatar for killer88
0
211
Member Avatar for kal_crazy

Q: Write a program which will print all the pairs of prime numbers whose sum equals the number entered by the user. My program is able to find the prime numbers until an integer value, n, and outputs it correctly. Now how do I find the pairs of prime numbers …

Member Avatar for prakash4
0
218
Member Avatar for kirennian

Hi there, I'm currently looking into the possibility of essentially using a graphical tool to create a box-and-lines expression table, flowchart or the like and being able to convert it to C# if/if-else etc statements. Whilst able to code it manually, it would make large trees a lot more sustainable... …

Member Avatar for Ketsuekiame
0
191
Member Avatar for dominiquehelper

Exercise: Write a C++ program using do-while loop that prompts for and inputs a user entry of "Y" or "N". f the user fails to enter a correct value, the loop outputs an error message and then repeats the request for the user to enter a value. This is what …

Member Avatar for PodHunter
0
7K
Member Avatar for maxpaine69

Hi all so i have this lauching the javascript to the page: Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "Alert", "confirm('Are you Sure You Want to Delete User??')", true); But now i remebered that i need an answer on the codebehinf(C#). So this way i can do the rest of the code, but im stuck with …

Member Avatar for BMXDad
0
187
Member Avatar for LetGoFool

Hey guys, I don't really understand the usage of the get/Set/return keywords. get-Read Only set-Write Only(eh) return-Returns value to calling method Those are the definitions I have but can I have a small explanation on when to use these and how to use the get/set thank you very much.

Member Avatar for LetGoFool
0
305
Member Avatar for sudarsanan2k9
Member Avatar for GeekPlease

Good day folks, Can anyone tell me why my code only accept the first word of the input. E.g., I input Ana mae.. The output will only consider Ana as my input hence it will produce like Hello, Ana! #include <iostream> #include <string> using namespace std; int main() { string …

Member Avatar for GeekPlease
0
189
Member Avatar for shea279

k so essentially have this code [CODE]HINTERNET hInternet; HINTERNET hFtpSession; hInternet = InternetOpen(NULL,INTERNET_OPEN_TYPE_DIRECT,NULL,NULL,0); hFtpSession = InternetConnect(hInternet, "ftp.freetzi.com", INTERNET_DEFAULT_FTP_PORT, "myuser.freetzi.com", "mypassword", INTERNET_SERVICE_FTP, 0, 0); FtpPutFile(hFtpSession, "C:\\log.txt", "mylog.txt", FTP_TRANSFER_TYPE_BINARY, 0); if(FtpPutFile(hFtpSession, "C:\\log.txt", "mylog.txt", FTP_TRANSFER_TYPE_BINARY, 0)){ MessageBox(NULL, "Successfully uploaded log to ftp server!", "Ftp Upload", NULL); }else{ MessageBox(NULL, "Couldn't upload log to ftp …

Member Avatar for mohd_1
0
1K
Member Avatar for Rachana_1
Member Avatar for lohith44
-2
742
Member Avatar for Jazerix

Hey there I've been working on a little tool for the last few hours, first i got all my info raw from the site, then i found out there was an api for youtube (stupid me >_<) but after hours of trying i simply cant get it working [CODE]YouTubeRequestSettings settings …

Member Avatar for Sivakumar_1
0
284
Member Avatar for Lp_baez

Hi Everyone, Sorry to be such a noob, but I am hopping you guys can help me out a bit. I keep on getting this error "expected an expression error" in the first open curly brace of the 'void playerCMD();' function and also in case 1. I am using the …

Member Avatar for cambalinho
0
198
Member Avatar for pardeepkhatri
Member Avatar for kralco626

current code: Response.Redirect("DeviceInformation.aspx?arg=" + e.CommandArgument); which redirects to a page with a data grid. The argument is passed into a stored proc on a database and the infor is returned in a grid. What i want, is the same thing, but, open it in a new page. So something like: …

Member Avatar for hoba.magdy.332
0
3K
Member Avatar for dasdgfds

I have a class person, with a first name, last name...ect. The user is prompted a menu and I am having trouble with the option to delete a name. It seems the string variable is not getting updated when the user enters it and another prob is getting an infinite …

Member Avatar for rubberman
0
122
Member Avatar for frank.j.dan

am new in programming and i need your help.after writting a code if i compile and run the console will not display the output but rather shows and go immediately

Member Avatar for deceptikon
0
105
Member Avatar for thephoenix.21

hi all !! i am new on that forum, and i have just started C++ programming, i know some basics. now i would like to start developping a program, i need some idea that could be evoluted everytime, so i work on it while i improve my programming skills. thanks …

Member Avatar for Kenney_1
0
201
Member Avatar for nitish.mohiputlall

Write a program that converts numbers to words. For example, 895 results in "eight nine five." here are my codes: #include<stdio.h> #include<stdlib.h> int main() { printf(">>This program converts numbers to words :)\n"); int value; printf("Enter value: "); scanf("%d",&value); switch(value){ case 0: { printf("zero"); break;} case 1: { printf("one"); break;} case …

Member Avatar for Rahul47
0
216
Member Avatar for darkofpain

I do c language "httpd" application works without problems at first. 1. meet user requests from nginx ago 2. Looking to requests from. Directs incoming requests according to the address 127.0.0.1:8080 But how can I solve the query is loaded when the crash occurred. #include <stdio.h> #include <stdlib.h> #include <string.h> …

Member Avatar for darkofpain
0
156
Member Avatar for timmyjoshua

**Pls, somebody help me on writting a code to create word file from my c# form...**

Member Avatar for saguni
-2
364
Member Avatar for MARKAND911

Hello all I having an issue in logging into a website using webRequest and WebResponse. I thought let me reach out to experts by posting a question. I am trying to login in http://www.mbhatt.in and want to access the page after the login is successfull. I used following code to …

Member Avatar for pritaeas
0
137
Member Avatar for daniel1977

Dear Friends: I need some help to identify the error. When I compile my application I get the following error message: Error 1 error C2678: binary '==' : no operator found which takes a left-hand operand of type 'extPersonType' (or there is no acceptable conversion) f:\college material\cs270\sourcecode\addressbook\addressbook\arrayListType.h 251 1 AddressBook …

Member Avatar for daniel1977
0
361
Member Avatar for darkofpain

The simplest way is now friends with this command when running this sample compiled #include <stdio.h> #include "fcgi_stdio.h" int main(int argc, char *argv[]) { while(FCGI_Accept() >= 0) { printf("Content-Type: text/html; charset=UTF-8"); printf("<center><br><br>Hello World Wide Web</center>"); } return 0; } **operation type:** cgi-fcgi -start -connect localhost:9000 ./hello After you run this …

Member Avatar for darkofpain
0
262
Member Avatar for timmyjoshua

pls, how do i add sound to my c# form.... e.g after a user clicks a button then a certain sound should prompt..i heard of signal IR but i don't understand it...

Member Avatar for ddanbe
0
97

The End.