5,346 Posted Topics
Re: @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] | |
Re: >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. | |
Re: @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] | |
Re: 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] | |
Re: 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. | |
Re: 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] | |
Re: >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? | |
Re: 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; } … | |
Re: sample.html [code] <form method="post" action="sample.aspx"> <input type="submit" /> </form> [/code] | |
Re: 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] | |
Re: >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]. | |
Re: >how to set click position with website using JavaScript. | |
Re: 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] | |
Re: >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? | |
Re: [code] ToolStripMenuItem item1 = new ToolStripMenuItem("One"); item1.Click += (sa, ea) => { MessageBox.Show("This is 'One'."); }; [/code] | |
Re: 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] | |
Re: Please show us your code here. Please use BB code tags while posting source program. For Example, [noparse] [code] .... [/code] [/noparse] | |
Re: > 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] | |
Re: @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. | |
Re: >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] | |
Re: >does anyone know what sort of tutorials Here [URL="http://stackoverflow.com/questions/3499538/code-golf-conways-game-of-life"]it[/URL] is. | |
Re: >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. | |
Re: @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". | |
| |
Re: 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 … | |
Re: Use string.Format method. [code] for(int i=9;i<=12;i++) string str=string.Format("{0,-20}{1,20}", i, i*i); [/code] | |
Re: >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] | |
Re: 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]) | |
Re: >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. | |
Re: @soomro_moon Please do not post the same question multiple times - Double thread - [url]http://www.daniweb.com/forums/thread335054.html[/url] | |
Re: Double Thread - [url]http://www.daniweb.com/forums/thread335054.html[/url] Thread Locked. | |
Re: Have you visited - [URL="http://upcoming.yahoo.com/services/api/"]http://upcoming.yahoo.com/services/api/[/URL]? | |
Re: 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] | |
Re: 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. | |
Re: 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] | |
Re: Use [b]myData.Columns("column_name").ColumnType.ToString()[/b] or [b]myData.Columns(column_ordinal).ColumnType.ToString()[/b] | |
Re: Store start time into the Session and get difference when a user submit his/her answer. | |
Re: I'm going to close this thread to avoid further confusion. Please create a new thread to ask your question. Thread Locked. | |
Re: [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] | |
Re: 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] | |
Re: 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] | |
Re: [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] | |
Re: >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. | |
Re: 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. | |
Re: >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? | |
Re: @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]) | |
Re: 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] | |
Re: Closing this thread to avoid further confusion. Thread Locked. | |
Re: >What's the C# equivalent to "System.setOut(new Logger(System.out));" in java? [code] System.Console.SetOut(System.IO.TextWriter) [/code] |
The End.