5,346 Posted Topics

Member Avatar for cs_tx_usa

@cs_tx_usa What about this thread? [url]http://www.daniweb.com/forums/post1432206.html#post1432206[/url] (Read forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]) Please do not create more than one thread for same question. [b]Post your code here and someone will help you. [/b]

Member Avatar for Mike Askew
0
257
Member Avatar for swathys

>Count' is not a member of 'System.Array' Add "using System.Linq;" if you are working on .net framework 3.5 or 4.0 (vs2008) or use Length property.

Member Avatar for swathys
0
135
Member Avatar for dejanc

@dejanc Please use BB code tags while posting source program. [noparse] [code] .... [/code] [/noparse] Take a look at forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules.[/URL]

Member Avatar for dejanc
0
416
Member Avatar for bluem1

I don't know the type of data source you have used. if DataTable/DataSet then code should be, [code] int total=0; foreach(DataRow r in dt.Rows) { total = total + ((int)r["total"]); } ... [/code]

Member Avatar for kvprajapati
0
113
Member Avatar for Bline

Welcome to the Daniweb. Please use BB code tags while posting source program. [noparse] [code] .... [/code] [/noparse] Take a look at forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules.[/URL] Update statement need two parameters. Post complete table structure and markup here.

Member Avatar for kvprajapati
0
153
Member Avatar for MaddTechwf

Take a look at thread -[URL="http://social.msdn.microsoft.com/Forums/en/vbgeneral/thread/4d08175f-109a-4791-9462-0b51ed762a3f"] Find windows product key with WMI in VB.NET[/URL]

Member Avatar for MaddTechwf
0
217
Member Avatar for SteveyD

>I'm looking for an example on how to let the user select a program name and path, and declare it variable A. Sorry, I'm not quite following the problem. Do you want to execute user selected program name?

Member Avatar for SteveyD
0
89
Member Avatar for IDC_Sharp

Look at this sample and implement it in your code. [code] using System; using System.Xml; using System.Linq; using System.Xml.Linq; class Program { public static void Main(string[] args) { string path = @"c:\folder\sample.xml"; XDocument doc = XDocument.Load(path); foreach (var result in doc.Descendants("No")) { if (result.Value == "10") { result.Parent.Remove(); break; } …

Member Avatar for Diamonddrake
0
504
Member Avatar for selicon.valley

sample.html [code] <form method="post" action="sample.aspx"> <input type="submit" /> </form> [/code]

Member Avatar for selicon.valley
0
129
Member Avatar for YooJayDee

I think some more information is required so that the best course of action can be taken. Show us your code please. Please use BB code tags while posting source program. [noparse] [code] .... [/code] [/noparse] Take a look at forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules.[/URL]

Member Avatar for YooJayDee
0
103
Member Avatar for chandru7

>Why we are specifically using interfaces in wcf application? [URL="http://msdn.microsoft.com/en-us/library/3b5b8ezk(v=vs.71).aspx"]From MSDN doc :[/URL] Interfaces are better suited to situations in which your applications require many possibly [icode]unrelated object types to provide certain functionality[/icode].

Member Avatar for kvprajapati
0
96
Member Avatar for salimmohammad
Member Avatar for kvprajapati
0
68
Member Avatar for kaanay

This statement [b]base64 = Convert.ToBase64String(byt)[/b] is placed outside the block/procedures. (Only declarations are allowed outside procedures.) [code] Sub Test() Dim byt As Byte() = System.Text.Encoding.UTF8.GetBytes("hello") Dim base64 As String = Convert.ToBase64String(byt) ' convert the byte array to a Base64 string base64 = Convert.ToBase64String(byt) End Sub [/code]

Member Avatar for kvprajapati
0
167
Member Avatar for xiankaylle

>My Employer want's me to create a program @xiankaylle That's not help. That would be doing your homework for you. Read the forum rules. You need to show effort, and what better way than posting the code that you have tried so far?

Member Avatar for xiankaylle
0
108
Member Avatar for jackabascal

[code] ToolStripMenuItem item1 = new ToolStripMenuItem("One"); item1.Click += (sa, ea) => { MessageBox.Show("This is 'One'."); }; [/code]

Member Avatar for kvprajapati
0
82
Member Avatar for paulablanca

Have a look at MSDN article - How to: [URL="http://msdn.microsoft.com/en-us/library/7tas5c80.aspx"]Host Controls in Windows Forms DataGridView Cells[/URL]

Member Avatar for kvprajapati
0
164
Member Avatar for Rajesha N

Please show us your code here. Please use BB code tags while posting source program. For Example, [noparse] [code] .... [/code] [/noparse]

Member Avatar for kvprajapati
0
55
Member Avatar for tendaimare

> i am looking 4 code to allow me to refresh the crystal report. Why you want to refresh? Write such a query which return empty dataset. For example, [code] select * from tableName where pkcolumn is null [/code]

Member Avatar for kvprajapati
0
111
Member Avatar for Dheerajpro

@Dheerajpro Please read forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. Do wrap your programming code blocks within [noparse][code] ... [/code][/noparse] tags. >Error : Name 'NameTextbox' is not declared. Open the Form1 and verify the name property of textboxes.

Member Avatar for kvprajapati
0
134
Member Avatar for markdean.expres

>It's not free. I don't have any credit cards. There are over 60 Free Controls from DevExpress. Take a look at : 1. [url]http://www.componentfactory.com/product?id=3[/url] 2. [url]http://www.codeplex.com/site/search?TagName=Controls,Windows%[/url]

Member Avatar for kvprajapati
0
151
Member Avatar for macaela

>does anyone know what sort of tutorials Here [URL="http://stackoverflow.com/questions/3499538/code-golf-conways-game-of-life"]it[/URL] is.

Member Avatar for kvprajapati
0
52
Member Avatar for anthonyjpv

>i want to pull a specific table from my database to fill the form 2. You need to write code to fetch the result in from table. I have sample app for you.

Member Avatar for kvprajapati
0
272
Member Avatar for serolfaceh

@serolfaceh Please [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]read the rules before posting again[/URL], in particular the "Keep It Clear" and "Keep it organized".

Member Avatar for AndreRet
0
100
Member Avatar for siva ganesh
Re: JSP

[B]MoveTo or CopyTo[/B] method of [B]java.nio.file.Path[/B] class.

Member Avatar for Shanti C
0
80
Member Avatar for noel9
Member Avatar for cs_tx_usa

I don't think that you need two forms (windows) because as you said that "user should not select". Create a method/function which open two files (file1 and file2), do some math operation on data, save first result into file3 and also apply next maths formula to populate new result and …

Member Avatar for kvprajapati
0
386
Member Avatar for steven8579

Use string.Format method. [code] for(int i=9;i<=12;i++) string str=string.Format("{0,-20}{1,20}", i, i*i); [/code]

Member Avatar for steven8579
0
285
Member Avatar for kgenn

>I used AccessDataSource for connection and Datagridview for the output.. >What syntax should I use?. Select statement is required. [code=text] SELECT * FROM TABLENAME [/code]

Member Avatar for kgenn
0
99
Member Avatar for TheDocterd

I think the file you mentioned in your post is a flat file not an excel. Isn't it? (Previous post - [url]http://www.daniweb.com/forums/thread331887.html[/url])

Member Avatar for TheDocterd
0
154
Member Avatar for abrarHuniedi

>creat small program with windows Application ,Iwant to connected to ASP.Net web site Tell us something about your winapp. What is the core purpose of this winapp? .Net framework has System.Net API (especially WebClient, WebRequest, and WebResponse) to send request, to receive response, to upload & download files.

Member Avatar for kvprajapati
0
119
Member Avatar for soomro_moon

@soomro_moon Please do not post the same question multiple times - Double thread - [url]http://www.daniweb.com/forums/thread335054.html[/url]

Member Avatar for kvprajapati
0
123
Member Avatar for soomro_moon

Double Thread - [url]http://www.daniweb.com/forums/thread335054.html[/url] Thread Locked.

Member Avatar for kvprajapati
0
268
Member Avatar for adelshehri

Have you visited - [URL="http://upcoming.yahoo.com/services/api/"]http://upcoming.yahoo.com/services/api/[/URL]?

Member Avatar for adelshehri
0
92
Member Avatar for roxin_phoenix

In addition to danny's post I'd like to add some important links from the great MSDN resource. 1. [URL="http://msdn.microsoft.com/en-us/library/e80y5yhx(v=VS.100).aspx"]A to Z ADO.NET[/URL] 2. [URL="http://msdn.microsoft.com/en-us/library/ms254937(v=VS.100).aspx"]Database connection, executing commands (queries) and retrieve results.[/URL] 3. [URL="http://msdn.microsoft.com/en-us/library/ss7fbaez(v=VS.100).aspx"]The DataSet, DataTable, and DataView[/URL]

Member Avatar for roxin_phoenix
0
459
Member Avatar for ericware

Welcome ericware. You need to ensure that both development and deploying machine must have same framework version. Have a look at a [URL="http://social.msdn.microsoft.com/Forums/en-IE/winforms/thread/67ed63aa-145a-4f81-82af-f1639fde40a6"]thread[/URL] at social msdn.

Member Avatar for ericware
0
158
Member Avatar for kishang09

Take a look at this thread - [URL="http://www.ruby-forum.com/topic/108122"]Sending bulk SMS messages from Rails app[/URL] EDIT: Also look at these thread/aricles. 1. [url]http://stackoverflow.com/questions/147184/ror-sms-rails-web-app-architecture-to-send-receive-sms[/url] 2. [url]http://lukeredpath.co.uk/blog/sending-sms-messages-from-your-rails-application.html[/url]

Member Avatar for kvprajapati
0
92
Member Avatar for cjoyce

Use [b]myData.Columns("column_name").ColumnType.ToString()[/b] or [b]myData.Columns(column_ordinal).ColumnType.ToString()[/b]

Member Avatar for kvprajapati
0
102
Member Avatar for Louis_Brasco

Store start time into the Session and get difference when a user submit his/her answer.

Member Avatar for propertywant
0
133
Member Avatar for daskeyboard

I'm going to close this thread to avoid further confusion. Please create a new thread to ask your question. Thread Locked.

Member Avatar for kvprajapati
-2
17K
Member Avatar for el_jk

[b]>convert string to a variable name[/b] Maybe you should have to look at Dictionary<K,V>. [code] Dictionary<string,string> val=new Dictionary<string,string>(); val.Add("var1","value1"); ... [/code]

Member Avatar for kvprajapati
0
153
Member Avatar for angelmichael4

This can be done using DateSet Relation and DataBind feature. Take a look at following threads. 1. [url]http://www.daniweb.com/forums/post1131455.html#post1131455[/url] 2. [url]http://www.daniweb.com/forums/thread259938.html[/url]

Member Avatar for angelmichael4
0
536
Member Avatar for Riga

Here is an [URL="http://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle"]algorithm[/URL]. To shuffle an array a of n elements: [code=text] for i from n − 1 downto 1 do j ← random integer with 0 ≤ j ≤ i exchange a[j] and a[i] [/code]

Member Avatar for codeorder
0
129
Member Avatar for daviddoria

[b]>I am transitioning a bunch of data from html (yuck!) to some sort of separated schema.[/b] Do not use XML as Database (XML is mainly for Interoperability). Use SQL Database. EDIT: Thread - [url]http://www.daniweb.com/forums/thread129793.html[/url]

Member Avatar for d5e5
0
113
Member Avatar for kindt.nick

>How Can I automatically fire an event when that value changes? I mean, without using a small thread, timer, etc... [URL="http://www.codeproject.com/KB/vista/CoreAudio.aspx?msg=2915407"]Yes[/URL]! you can. Compare previous value and current value and raise an event if they are unequal.

Member Avatar for kindt.nick
0
118
Member Avatar for abarnett

Please do not resurrect threads that are years old. By doing so you run the risk of confusing current posters. If you have any questions please ask. You are welcome to start your own threads. Have a look at forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. Thread Locked.

Member Avatar for kvprajapati
0
2K
Member Avatar for selicon.valley

>now i want to show a particular record into 1 textbox names txtbox1 Hi! did you get any error? You want to show a record into a "TextBox1"'s Text property - so, tell us how many columns a row has?

Member Avatar for kvprajapati
0
218
Member Avatar for steven8579

@steven8579 What about your previous thread? - [URL="http://www.daniweb.com/forums/thread334838.html"]Sorting and Printing Two ListBoxes Side By Side.[/URL] (Take a look at forum rule : [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]Do not post the same question multiple times[/URL])

Member Avatar for ddanbe
0
275
Member Avatar for Acidburn

Please read [URL="http://msdn.microsoft.com/en-us/library/system.type.containsgenericparameters.aspx"]this[/URL] MSDN page. Excerpt : [icode]true if the Type object is itself a generic type parameter or has type parameters for which specific types have not been supplied; otherwise, false.[/icode] Here is another article about [URL="http://blogs.crankygoblin.com/blogs/geoff.appleby/archive/2006/04/04/141932.aspx"]Reflection & generics.[/URL]

Member Avatar for Acidburn
0
2K
Member Avatar for Dark_Omen
Member Avatar for kvprajapati
-1
4K
Member Avatar for Jaydenn

>What's the C# equivalent to "System.setOut(new Logger(System.out));" in java? [code] System.Console.SetOut(System.IO.TextWriter) [/code]

Member Avatar for kvprajapati
0
60

The End.