4,588 Topics

Member Avatar for
Member Avatar for CaffeineCoder

Does anyone know how to setup a dropdown list for C# without using a database? I'm trying to set up one that will allow users to select a newsletter from the dropdown and have it pop up in a new window. Any ideas? [CODE] <ASP:DropDownList id="NewsletterSelect" runat="server"> <ASP:ListItem value="'[Path]'">Newsletter 1</ASP:ListItem> …

Member Avatar for CaffeineCoder
0
265
Member Avatar for brightsolar

To advance my coding to a great level of understanding my questions or resources you have used to solve these promblems yourself would be apprechiated. My First Problem - Is that now that i have added the background as using the system.assembly the chracters are no longer constrained My code …

-2
63
Member Avatar for Tank50

HI I wrote below coding part,but its generate the exception.Below I mention the code and error Error [COLOR="red"]Data type mismatch in criteria expression.[/COLOR] [CODE] DataSet Serach_sumbitdata=new DataSet(); OleDbConnection conn7 = this.getconnection(); conn7.Open(); string str = "Select * from Customer where SubmitDate between '" + str1 + " 12:00:00 AM'" + …

Member Avatar for Tank50
0
191
Member Avatar for XMarshall

Hi, I have declared a Multi dimensional Array in C# like this: [CODE]private System.Windows.Forms.Button[,] ButtonArray = null;[/CODE] Now after inserting into the array, I would like to re-initialize and empty the "ButtonArray"? Please let me know the possible ways to do that Thanks in advance for helping out a newbie. …

Member Avatar for DdoubleD
0
257
Member Avatar for pilu

Hello, I'm quite new to c#. I have one C++ dll in which I have the two simple add & delete functions. [code]int MyTestFuncs::Add(int a, int b) { return a + b; }[/code] I have to access them into the C# code. I have faced the following error - When …

Member Avatar for DdoubleD
0
285
Member Avatar for Paladine

[B]Simple ASP.NET Login Page using C# (ASP.NET 1.0 & 1.1 ONLY!!! [COLOR=Red]NOT 2.0[/COLOR])[/B] This is just a small demonstration to show how easy one can "port" the code from my previous tutorials ( [URL="http://www.daniweb.com/tutorials/tutorial19303.html"]Updated: Simple ASP.Net Login Page[/URL] & [URL="http://www.daniweb.com/techtalkforums/thread19303.html"]ASP.Net Login Page with SQL [/URL] & [URL="http://www.daniweb.com/tutorials/tutorial23605.html"]ASP.Net Registration Page[/URL]) over …

Member Avatar for avirag
-1
7K
Member Avatar for shachar

Hi, i finished writing my project and am trying to publish in order to use it on another computer. when publishing i get 2 files that have the same effect of just running the program (one called "setup" and the other <programName>.exe). is this an indication of somthing wrong? but …

Member Avatar for sknake
0
65
Member Avatar for bharanidharanit

Hello sir, how to change this coding to vb.net coding? [CODE] Stream photoStream = PhotoUpload.PostedFile.InputStream; int photoLength = PhotoUpload.PostedFile.ContentLength; string photoMime = PhotoUpload.PostedFile.ContentType; string photoName = Path.GetFileName(PhotoUpload.PostedFile.FileName); byte[] photoData = new byte[photoLength]; photoStream.Read(photoData, 0, photoLength); [/CODE]

Member Avatar for bharanidharanit
0
148
Member Avatar for absk

I have been coding in C++ for a few years now and am comfortable with OOP concepts and Data Structures. Now I wish to pursue a higher level language which will hwlp me in application development. After much reading, I arrived at C# and Java. Which one should I pursue? …

Member Avatar for peter_budo
0
159
Member Avatar for Acute

Hello everybody, i'm new in C# and i have a problem: how to make a loop(what will be in paranthesises?) that asks user to enter a word (then my method checks whether it is a palindrome or not) [COLOR="Red"][B]until user presses [I]Ctrl+Z[/I].[/B][/COLOR] PLZ help, i'll glad to any advise.

Member Avatar for sknake
0
554
Member Avatar for srvishnukumar

Hi Friends, I dont Know That how to view the data [ie : Fill the datas] from Gird to textbox.... Plz Explain me With Example Thanks with Vishnu

Member Avatar for Silverfox13
0
121
Member Avatar for leebee306

Hi, I have a MP3DataSet that includes .mp3 files, i have a form, which shows all the files in the dataset, on the form i also have the windows media players. I am trying, when the user clicks on a song in the dataset to play on the WMP, any …

Member Avatar for sknake
0
101
Member Avatar for shine_jose

The web site is set to run in server the crystal report header button images and export options are not working please help me

0
69
Member Avatar for Poab9200

Hello all, I'll do my best to make this as simple as possible to explain. 1. I'm using a WinForm DataGridView. 2. I'm using an auto complete feature that I've coded and I'm trying to add the data that a user has entered in the first column to a generic …

0
186
Member Avatar for woolm110

Hi all I'm having trouble with some of the login controls for my website. I've successfully set it up so when a user registers it enters the details into an Access database. I'm now trying to get the login to work but can't see how to implement this. I've had …

Member Avatar for woolm110
0
242
Member Avatar for amit-400

Hi, I want to convert any image document to PDF format using C# without using any third-party tool as they need to be purchased or are on a trial basis. It would be very helpful if someone could post me the source code for implementing that. Thanks in advance.

Member Avatar for towerrounder
-1
82
Member Avatar for norz

i am a student...i am zero knowloedge about sql neither c#.my job is to build a database.i dont really know how i can do it and how to do it?i had tried a tutorial for c# from other website but the tutorial using sql 2005.but i had download sql 2008.i …

Member Avatar for DanielGreen
0
137
Member Avatar for vijen323

How to create blogs in ASP.net home page. If you provide details then it will good for me..... Thanx,

Member Avatar for Ramesh S
0
148
Member Avatar for wingers1290

Hi, I have a list box that on form load displays file names inside a directory using this code [code] DirectoryInfo di2 = new DirectoryInfo(path); foreach (FileInfo fi2 in di2.GetFiles()) { listBox1.Items.Add(fi2.Name); } [/code] Which works fine, however i have another function on my form which adds files to the …

Member Avatar for DdoubleD
0
283
Member Avatar for shine_jose

Hi, I wish to save a text file to the client system.i had try ed in my desktop its working fine when i run from server its showing error this code i had given and each client system there is a folder name FCR. fs = new FileStream("d:/FCR/FCR" + strdt …

Member Avatar for Geekitygeek
-1
141
Member Avatar for wingers1290

Hi, this is the final step of my program, so far I've set a button to change the default save location and now the last step is to be able to click on the serialized file and have it open in my form. The problem is I don't know how …

Member Avatar for wingers1290
0
199
Member Avatar for f0rcegr0wn

Hi all, just to be sure. I have a C++ DLL in which I am implementing a bit of low-level functionality. To this library I wish to pass a managed System.String pointer (ref) so that the library can load the string with the new/returned value. The question is, do I …

Member Avatar for cikara21
0
176
Member Avatar for reyarita

1. (PrimeNumbers) An integer is said to be prime if it is divisible by only 1 and itself. For example, 2, 3, 5 and 7 are prime, but 4, 6, 8 and 9 are not. a. Write a function that determines whether a number is prime. b. Use this function …

Member Avatar for ddanbe
0
72
Member Avatar for reyarita

Hey guys!! can you share some ideas about this program, i tried but its not working. 1. Write a program that inputs a five-digit integer, separates the integer into its individual digits and prints the digits separated from one another by three spaces each. For example, if the user types …

Member Avatar for reyarita
0
111
Member Avatar for ejazmusavi

Hi everyone! I have a windows base application in c#(vs 2005). In which i have a crystal report(version: came with visual studio 2005). I want add an image in the report doc which may change dynamically at the runtime. The image path is stored in database(MS Access) as string. How …

Member Avatar for DdoubleD
0
1K
Member Avatar for Dmennite

Hello all, I am at it again this time incorporating MySQL database into C# code using Visual Studio 2008 first off the textboxes are databinded using details view... the issue at the moment is trying to not make bulky code and compare the value of txtDealName.text and mtxtDealNum2.text to what …

Member Avatar for Dmennite
0
177
Member Avatar for wingers1290

Hi, thanks for all the help with my code so far, I just have one more nagging chink in the chain. This is my code for saving my file which works as expected. [code] Person Bob = new Person(); Bob.CallSign = textBox1.Text; Bob.Freq = textBox2.Text; Bob.Time = textBox3.Text; Bob.fName = …

Member Avatar for wingers1290
0
1K
Member Avatar for nccsbim071

Hi Please tell vb.net equivalent of following method: [CODE=C#] private void LookForUpdates() { System.Threading.ThreadStart timerThreadStart = new System.Threading.ThreadStart(delegate() { sua = new ShowUpdatAvailable(); DelGetUpdateArgs delGetUpdateArgs = new DelGetUpdateArgs(this.GetUpdateArgs); sua.GetUpdateArgs = delGetUpdateArgs; sua.StartLookingForUpdate(); }); timerThread = new System.Threading.Thread(timerThreadStart); timerThread.Start(); } [/CODE] I tried using C# to VB.NET code converter which gave …

Member Avatar for nccsbim071
0
945
Member Avatar for reddevilz

Hey guys, just starting out with C#. I had a few doubts, would really appreciate it if anyone could help me out here Question #1 [CODE]animal dog; dog = new animal();[/CODE] what's the difference between the above two lines ? Question #2 [CODE]namespace proj1 { public class form1:form { guy …

Member Avatar for ddanbe
0
157
Member Avatar for klactose

Hello all, I am in the process of translating a program from lisp into C#, most of it has gone smoothly but I have run across two blocks of code that are giving me a bit of trouble. If anyone can help me translate these two pieces of code into …

Member Avatar for Rashakil Fol
0
337

The End.