354 Posted Topics
Re: Some suggestions: ============== 1. Use data grid for it. 2. First divide number. 3. Fill it in data grid. | |
Re: do this: 1. Fetch the data from data base. 2. Have a loop to fill the data in array. Post the code what ever you have done so far, for better help. | |
Re: Hi, I have following suggestions for your problem: 1. In private void dinle(), use finally block where close the socket and release other resources. 2. Whenever you are closing application there also dont just abort the thread but also release all resources like closing sockets etc. | |
Re: No body is here to spoon feed, so no body is going to provide you source code. First try it yourself, if you face any problem.....................every body is here to help you, ..............just post your problem. | |
Re: What you have done so far? Don't expect someone to do all work for you? First try yourself and if you face any problem, just post here. | |
Re: please also post the HTML code as in above code you have lot of divs | |
Re: on DataReceived event you can do timer.Start() or timer.Stop(), what ever you want. Did you asked this? | |
Re: if you have to create a file then you should not use: StreamWriter oFile = new StreamWriter(@"C:\Users\fjones\Documents\Visual Studio Projects\bin\Debug\output.txt"); instead use this: String file_name=@"c:\ab.txt"; using( FileStream fs = new FileStream(file_name, FileMode.OpenOrCreate, FileAccess.Write)) { //do something with open file } this will create a file if it doesn't exists and open … | |
Re: [URL="http://en.wikipedia.org/wiki/Windows_Presentation_Foundation"]wpf[/URL] [URL="http://en.wikipedia.org/wiki/Windows_Communication_Foundation"]wcf[/URL] [URL="http://en.wikipedia.org/wiki/Windows_Workflow_Foundation"]wwf[/URL] | |
Re: Its not a good idea to have source code sent via email. Please answer everything here in this community, let others also learn. :) | |
Re: Please don't use SMS like language, its making your problem tough to understand. Now tell, from above program what are the outputs you are expecting. | |
Re: I hope [URL="http://www.codeproject.com/KB/dotnet/simplewindowsservice.aspx"]this[/URL] and [URL="http://www.c-sharpcorner.com/UploadFile/pravinjr/106122008002100AM/1.aspx"]this[/URL] will help you. | |
Re: when you want a operator to show other then default behavior you should use operator overloading. for example you have created a class ComplexNumber. by default + operator doesn't add two ComplexNumber, here you need to overload + operator. | |
Re: Hay, Just be cool, and go with cool mind, that's what you need hour before interview. And Best of Luck :) | |
Re: [B]Interoperability[/B] Interoperability is a property referring to and the ability of diverse systems and organizations to work together (inter-operate). -[URL="http://en.wikipedia.org/wiki/Interoperability"]wikipedia[/URL] | |
Re: 1. Develop a small site. 2. Start adding functionality. You can take any existing site to redevelop. May be you can develop [URL="http://www.daniweb.com"]this[/URL] one :). hay not kidding, just start at smaller scale and grow big. | |
Re: Hi, You can achieve this using javascript. Just on click of small image invoke java script function, where you can use window.open method to open the page(say page1.aspx) which contain your new image. on page1.aspx just put the bigger image. | |
Re: use class for this. store all the info in class. store class in to array. | |
Re: try for your self. if you face problem while trying post here. | |
Re: i thing it should be like: [code] var objBall = new ImageDeneme("abc.gif", 0, 0, visible); [/code] just use firebug to fine out what objBall. contains. | |
Re: Hi, See [URL="http://www.devhood.com/Tutorials/tutorial_details.aspx?tutorial_id=236"]this[/URL] and [URL="http://www.switchonthecode.com/tutorials/csharp-tutorial-serialize-objects-to-a-file"]this[/URL]. | |
Re: you can have same class for all the divs. and use class selector. | |
Re: create the object where you want to use it. tell some more about class. what actually you want to do with class? you can put the code in any event or form load etc. | |
Re: Hi Do this: [code=csharp] if (e.KeyChar == (char)Keys.Enter) { //do something } [/code] inside textBox1_KeyPress function | |
Re: see, after first pass of for look, file reading pointer will be at the end. so during next for loop passes it wont go inside while loop as (! inFile.eof() ) will be false. You have to reset the file reading pointer to start of the file before while loop. | |
Re: Hi, I guess server side you can set the values of the field. ![]() | |
Re: Hi, I am giving algo to do the job: 1. Sort the table row by Item ID. 2. Take two array arrayItemId to store Item Id and arrayAmountSum to store sum of amount. 3. Now look throw the data base rows. and sum the amount of rows where item id … | |
Re: Hi, Simply user XmlDocument and its method LoadXml(). You can find example code [URL="http://msdn.microsoft.com/en-us/library/system.xml.xmldocument.loadxml.aspx"]here[/URL]. | |
Re: Hi, this question has been asked many times earlier. See [URL="http://www.daniweb.com/forums/thread146390.html"]this[/URL]. | |
Re: Hi, You have to use probability related formula to calculate probability. For that you need to formulate the mathematical model of your problem. Also read about [URL="http://en.wikipedia.org/wiki/Monte_Carlo_method"]Monte Carlo method[/URL] and [URL="http://en.wikipedia.org/wiki/Las_Vegas_algorithm"]Las Vegas algorithm[/URL]. It may help you. If you are not able to solve the problem. Please explain your problem … | |
Re: Hi, There are many ways to get the control on a form say Form1 in another method. Based on your need you can use one. 1. You can declare the control definition public, which is private by default or better way would be to create a property with only get … | |
Re: Hi, First you need to learn basics of Ajax, please take help of [URL="http://www.w3schools.com/Ajax/Default.Asp"]w3school[/URL]. | |
Re: I'll suggest you to send only the part of page B, which you want to display in page A. Or please let us know why it is necessary for you to send entire content of page B during ajax request. | |
Re: I dont think you can do this. Whenever you read some thing from stream you actually move the reader's position in the Stream. This will happen even if you use StreamReader. So if you have read the stream till end, reader's position is in end. Now if you want to … | |
Re: What about creating a small complex number struct and dividing methods around it in different classes? | |
Re: do u know VB .NET? if yes then you just have to add web service you want to call. And then you can write small utility to do the work you are trying to do. | |
Re: its done in flash. after developing map in flash, you can use any other server side technology php, asp or jsp | |
Re: Hi, Read example [URL="http://msdn.microsoft.com/en-us/library/system.data.oledb.oledbdatareader(VS.71).aspx"]here[/URL]. It will help you. You have to call dataReader4.Read() before reading it. If still problem persist please post code what you have done so far. | |
Re: Hi, use configuration file to store connection string. then read connection string whenever required. this way it will allow to change it whenever you required, even after deploying the project. | |
Re: i think serialization should serve the purpose. | |
Re: Please go throw this to know more about [URL="http://msdn.microsoft.com/en-us/library/ktf38f66(VS.80).aspx"]breakpoints[/URL]. | |
Re: Hi, Please use [code=language] for all the code you post here. regarding solution for your problem, just put '}' for every '{' and same for '(' and ')'. | |
Re: Hi, Use Firebug to find the problem. Its best way to debug JavaScript. | |
Re: if you dont want to display more than 1 Form2 keep following code out side the foreach statement: [code=c#] Form2 form2 = new Form2(); form2.Show(); [/code] | |
Re: this should serve the purpose: [code=javascript] if (!valfield == "") { if (yfld<4) { msg (infofield, "warn", "ERROR: Please insert 4 digits"); setfocus(valfield); } else if (yfld>4) { msg (infofield, "warn", "ERROR: Please insert only 4 digits"); setfocus(valfield); } else if (tfld>2020) { msg (infofield, "warn", "ERROR: Please check your … | |
Hi, I want to connect with MySQL database form c#. Please suggest me best way to do this. Thanks. | |
Re: you can try something like this: [code] bool isToZip=true String sourceFileName="file name"; String destinationFile="destination file name"; while(isToZip) { //1.un zip source file to destinaion file, i.e. sourceFileName //2. get destination file,i. e. destinationFile //3. if destination file is ziped one, sourceFileName=destinationFile //4. give new destinationFile } [/code] i have just … | |
Re: Hi, I think you need to use timer. Following urls might help: [url]http://www.c-sharpcorner.com/UploadFile/mahesh/WorkingwithTimerControlinCSharp11302005054911AM/WorkingwithTimerControlinCSharp.aspx[/url] [url]http://www.csharphelp.com/archives/archive90.html[/url] | |
Re: actually what you want to do? normally you use dll at server side, java script is client side technology. |
The End.