4,588 Topics
| |
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> … | |
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 … | |
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'" + … | |
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. … | |
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 … | |
[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 … | |
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 … | |
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] | |
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? … | |
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. | |
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 | |
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 … | |
The web site is set to run in server the crystal report header button images and export options are not working please help me | |
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 … | |
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 … | |
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. | |
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 … | |
How to create blogs in ASP.net home page. If you provide details then it will good for me..... Thanx, | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … |
The End.