354 Posted Topics

Member Avatar for avirag

Some suggestions: ============== 1. Use data grid for it. 2. First divide number. 3. Fill it in data grid.

Member Avatar for avirag
0
127
Member Avatar for sam023

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.

Member Avatar for kameswari
0
112
Member Avatar for darkocean

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.

Member Avatar for DangerDev
0
101
Member Avatar for ashu_305

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.

Member Avatar for DangerDev
0
113
Member Avatar for onecarloz

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.

Member Avatar for onecarloz
0
138
Member Avatar for Reliable
Member Avatar for Reliable
0
130
Member Avatar for siEricko
Member Avatar for siEricko
0
142
Member Avatar for FJones

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 …

Member Avatar for FJones
0
161
Member Avatar for sivak

[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]

Member Avatar for sknake
0
142
Member Avatar for pearllyn

Its not a good idea to have source code sent via email. Please answer everything here in this community, let others also learn. :)

Member Avatar for Dmennite
0
182
Member Avatar for MrNoob

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.

Member Avatar for MrNoob
0
135
Member Avatar for Tank50

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.

Member Avatar for DangerDev
0
175
Member Avatar for lotrsimp12345

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.

Member Avatar for packrisamy
0
263
Member Avatar for riyas_26

Hay, Just be cool, and go with cool mind, that's what you need hour before interview. And Best of Luck :)

Member Avatar for DangerDev
0
176
Member Avatar for riyas_26

[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]

Member Avatar for riyas_26
0
122
Member Avatar for alvalany

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.

Member Avatar for essential
0
114
Member Avatar for maurya_alld

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.

Member Avatar for DangerDev
0
44
Member Avatar for loozax
Member Avatar for Godstryke
0
195
Member Avatar for loozax
Member Avatar for nandini vishuu
Member Avatar for Hiroshe
0
97
Member Avatar for genesistr

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.

Member Avatar for Airshow
0
137
Member Avatar for TobbeK

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].

Member Avatar for sknake
0
217
Member Avatar for blamlol
Member Avatar for stevenpetersen
0
512
Member Avatar for barker1889

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.

Member Avatar for ddanbe
0
187
Member Avatar for ssbark

Hi Do this: [code=csharp] if (e.KeyChar == (char)Keys.Enter) { //do something } [/code] inside textBox1_KeyPress function

Member Avatar for ssbark
0
113
Member Avatar for dalj

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.

Member Avatar for dalj
0
85
Member Avatar for itsrahulk
Member Avatar for soldierflup
0
86
Member Avatar for zeusofolus

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 …

Member Avatar for zeusofolus
0
138
Member Avatar for etm9413

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].

Member Avatar for etm9413
0
152
Member Avatar for Dewy

Hi, this question has been asked many times earlier. See [URL="http://www.daniweb.com/forums/thread146390.html"]this[/URL].

Member Avatar for DangerDev
0
64
Member Avatar for thanatos1

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 …

Member Avatar for sknake
0
196
Member Avatar for valter

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 …

Member Avatar for ddanbe
0
110
Member Avatar for agentili

Hi, First you need to learn basics of Ajax, please take help of [URL="http://www.w3schools.com/Ajax/Default.Asp"]w3school[/URL].

Member Avatar for DangerDev
0
103
Member Avatar for beanryu

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.

Member Avatar for essential
0
128
Member Avatar for fulcrum9

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 …

Member Avatar for fulcrum9
0
232
Member Avatar for ddanbe

What about creating a small complex number struct and dividing methods around it in different classes?

Member Avatar for ddanbe
0
125
Member Avatar for amac4291

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.

Member Avatar for carpiediem
0
157
Member Avatar for Adrian_0211

its done in flash. after developing map in flash, you can use any other server side technology php, asp or jsp

Member Avatar for Adrian_0211
0
123
Member Avatar for Tank50

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.

Member Avatar for Tank50
0
172
Member Avatar for arunkumars

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.

Member Avatar for arunkumars
0
424
Member Avatar for Poab9200
Member Avatar for wingers1290

Please go throw this to know more about [URL="http://msdn.microsoft.com/en-us/library/ktf38f66(VS.80).aspx"]breakpoints[/URL].

Member Avatar for wingers1290
0
142
Member Avatar for si01

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 ')'.

Member Avatar for nccsbim071
0
130
Member Avatar for MarrkoR
Member Avatar for hengzhe
0
99
Member Avatar for wingers1290

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]

Member Avatar for wingers1290
0
123
Member Avatar for Auch

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 …

Member Avatar for Airshow
0
100
Member Avatar for DangerDev

Hi, I want to connect with MySQL database form c#. Please suggest me best way to do this. Thanks.

Member Avatar for Ramesh S
0
127
Member Avatar for laghaterohan

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 …

Member Avatar for laghaterohan
0
184
Member Avatar for learningthings

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]

Member Avatar for learningthings
0
105
Member Avatar for zuve_fox

actually what you want to do? normally you use dll at server side, java script is client side technology.

Member Avatar for DangerDev
0
51

The End.