5,346 Posted Topics
Re: Declarare dr (Array of DataRow) outside that method. [code] DataRow[] dr; private void grdClientDetails_CellDoubleClick(object sender, FarPoint.Win.Spread.CellClickEventArgs e) { dr = dsClientDetails.Tables[0].Select("ACCNUMBER=" + grdClientDetails.ActiveSheet.Cells[e.Row, 1].Text); this.Hide(); } public DataRow[] dr { get { return dr; } } ..... [/code] | |
Re: You should use DLLImport feature. Have a look at this article - [url]http://geeklit.blogspot.com/2006/08/calling-c-lib-from-c.html[/url] | |
Re: plusplus & martonx. You are requested to use BB code tags. [CODE=VB.NET] My.Computer.Network.UploadFile("source file path","destination address") [/CODE] | |
Re: Don't use Clipboard object. Read content of doc using, [code] string txt=doc.Content.Text; [/code] | |
Re: [b]>This is where I wish to join all the threads and terminate them all. [/b] [code] private void btnLogout_Click(object sender, EventArgs e) { SendXML.stopping=true; Application.Exit(); } [/code] OR Declare SecondaryThread as a static field in Program class. [code] ...... public static Thread2 SecondaryThread; [STAThread] static void Main() { SendXML ThreadToSendXML … | |
Re: Don't form a sql string, use [URL="http://msdn.microsoft.com/en-us/library/yy6y35y8.aspx"]parametrized[/URL] query. [code] .. com.CommandText = "update BCA2 set [Rollno]= " & trollno.Text & ",[Stu_Name]='" & tname.Text & "', [FORTRAN]= " & tfor.Text & ", [Data Structures]= " & tds.Text & ", [Oracle]=" & toracle.Text & ", [C++]=" & tcpp.Text & ", [Unix] = … | |
Re: [b]>Is is possible to create more than 1 stored procedure the way I'm trying to?[/b] [URL="http://msdn.microsoft.com/en-us/library/ms188037%28SQL.90%29.aspx"]GO[/URL] (Transact-SQL) | |
Re: [b]>The problem is when I try to modify the current displayed record, it only updates the very first record (position 0)[/b] Look at Line #133 (selection event/method) You are replacing (bounded control value) the first record with selected rows. | |
Re: [b]>but it's didn't work. anyone help me?[/b] Perform following steps to test a database connection. 1. Open Visual Studio. 2. Select View Menu + Server Explorer. 3 . Right click on Data Connections + Add Connection + Change Data source (Microsoft Sql Server). | |
Re: [b]>click a SAVE button so the changes update my SQL database.[/b] [code] dAdapter.Update(dTable); [/code] | |
Re: [b]>I got it working but I'd still appreciate if someone can chime in. [/b] It is a BUG. | |
Re: [b]>how do i insert into by database using the dataset.xsd query builder and then calling it in the same way rather than doing[/b] Take a look at MSDN - [URL="http://msdn.microsoft.com/en-us/library/z92w563z%28VS.80%29.aspx"]How to configure DataAdapte[/URL]r? | |
Re: [code] o.ClientCredentials.UserName.UserName="user" o.ClientCredentials.UserName.Password ="password" [/code] Take a look at msdn article - [url]http://msdn.microsoft.com/en-us/library/system.servicemodel.description.clientcredentials.username.aspx[/url] | |
| |
Re: Have a look at - [url]http://www.acasystems.com/en/web-thumb-activex/faq-how-to-take-snapshot-from-html-in-c-sharp.htm[/url] | |
Re: [b]>I am not able to figure out where exactly the problem is.[/b] [URL="http://msdn.microsoft.com/en-us/library/aa372835%28VS.85%29.aspx"]Error 2803 says that [/URL] - "Dialog View did not find a record for the dialog". Have a look at - [url]http://www.appdeploy.com/msierrors/detail.asp?id=272[/url] | |
Re: [b]>how to create a exe file after making windows form application[/b] See [B]Build[/B] menu in visual studio IDE. .NET application (vb.net/c#) are compiled application. These application must be compiled (c#/vb.net compiler generate .exe assembly) before their execution. | |
Re: Text from MSDN - [URL="http://msdn.microsoft.com/en-us/library/ms225452%28VS.80%29.aspx"]Cached[/URL] reports - Cached reports are report objects that have been [URL="http://msdn.microsoft.com/en-us/magazine/cc301570.aspx"]stored[/URL] in the ASP.NET Cache object, to increase performance and scalability. | |
Re: [b]>Post#1 - If the user close the web page, I wonder if the thread will continue to run, and how reliable it is.[/b] The ASP.NET request continues to execute. | |
Re: Welcome aravinthanbabu. Read before posting- [url]http://www.daniweb.com/forums/thread78223.html[/url] [b]>selected value from gridview into textbox[/b] Handle SelectedIndexChanged event of GridView. [b]>store in same location which is retrieved from database [/b] Execute update query. (ADO.NET) | |
Re: [b]>Can We create Nokia mobile applications with vb.net[/b] [URL="http://wiki.opensource.nokia.com/projects/Novice_howto"]No[/URL]. Have look at - [url]http://www.forum.nokia.com/[/url] | |
Re: [b]>while executing i got the error "syntax error in update statement" Maybe problem using database Reserved words. [code=text] update [login] SET [password]=@password, [username]=@username where [username]=@user [/code] | |
Re: Welcome Plaguemonkey. Please read before posting- [url]http://www.daniweb.com/forums/thread78223.html[/url] Thread Closed. | |
Re: No problem. Please mark this thread as solved. | |
Re: [b]>how can i solve this problem???[/b] Show us your code please. | |
Re: [b]>how do i reset my panels? thanks.[/b] Do you get any errors? Please post complete source code. | |
Re: [b]>how to do get the exact measurments.[/b] Printer setup (custom paper size). | |
Re: [b]>How can I do it?[/b] DataTable/DataSet - Add a column to the dataTable. | |
Re: [b]>We can add multiple webconfig in single application?[/b] [URL="http://msdn.microsoft.com/en-us/library/aa719558%28VS.71%29.aspx"]Yes[/URL]. | |
Re: [b]>Is it safe to call the ReportProgress(...) method of the former from the work threads of the other BackgroundWorkers?[/b] Instance members are not guaranteed to be thread safe. | |
Re: [b]>Speech Input in C# with Probability Values[/b] Speech recognition and grammar. Have a look at [url]http://msdn.microsoft.com/en-us/library/system.speech.recognition.aspx[/url] | |
Re: [b]>I want to Copy Whole Word document Content to XML in C#[/b] [URL="http://msdn.microsoft.com/en-us/library/aa140221%28office.10%29.aspx"]Office[/URL] Interop API. | |
Re: [b]>Any ideas on how to do this?[/b] Use [b][URL="http://msdn.microsoft.com/en-us/library/bxt3k60s.aspx"]DataGridViewButtonColumn[/URL][/b] column types. | |
Re: Have a look at FAQ - [url]http://social.msdn.microsoft.com/Forums/en-US/vsclassdesigner/thread/a5e864a0-26cd-4023-9766-276611e2abd4[/url] | |
Re: To connect with mysql you have to use [URL="http://dev.mysql.com/downloads/connector/net/"]connector[/URL] provider api. | |
Re: [b]>Only problem is that they aren't stored. How should i do this?[/b] There is no problem at all. You have done already. Tell us what you're trying to do and we can tell you how to go about it. | |
Re: After selecting columns from a table or view, click on "Advanced" button to configure Insert/Delete/Update query. | |
Re: Do not use validation controls. Use JavaScript. Have a look at code snippet, [code] ... <script type="text/javascript"> function DoSubmit() { var btn = document.activeElement; if (btn.value == "A") { alert("Do this"); return false; } else if (btn.value == "B") { alert("Do this"); return false; } return true; } </script> </head> … | |
Re: Have a look at codeproject article - [url]http://www.codeproject.com/KB/game/learning_draughts.aspx[/url] | |
Re: [b]>how can i make validation from user input when login..[/b] Use Regex (regular expression). [b]>How can i display only certain list in the designation combobox.[/b] DISTINCT clause. [code=text] SELECT DISTINCT Column1 FROM tablename [/code] | |
Re: [b]>The message box appears only once, during the first add.[/b] [code] ... End With myControl=new CustomControl Me.Controls.Add(myControl) added = True [/code] | |
Re: Have a look at this thread - [URL="http://vbnet.mvps.org/index.html?code/screen/safemode.htm"]Win32 API[/URL]. | |
Re: From msdn article - [url]http://msdn.microsoft.com/en-us/library/4yh14awz%28VS.80%29.aspx[/url] The [B]Hashtable[/B] class and the [B]Dictionary generic class[/B] implement the IDictionary interface. The Dictionary generic class also implements the IDictionary generic interface. Therefore, each element in these collections is a key-and-value pair. Have a look at this article - [url]http://blogs.msdn.com/brada/archive/2004/04/26/120438.aspx[/url] | |
Re: Welcome. Please don't hijack another thread to ask your question but start your own thread instead. I think some more information is required so that the best course of action can be taken. | |
Re: [b]>Import data from Excel to SQL Server Database[/b] Use Oledb namespace classes. | |
Re: [b]>Can listview be a data source of Microsoft Report?[/b] No. | |
Re: [b]>How to retrieve data using C# from certain table (SQL database) based on user_id after user log in.[/b] SQL text, [code=text] SELECT * FROM tablename WHERE userid=@userid [/code] and classes from System.Data.SqlClient namespace. [b]>And how to display the data into text box and label after user click Show button?[/b] Write … | |
Re: [b]>I don’t know how to take data from other table (SQL database) [/b] You must have to learn [URL="http://msdn.microsoft.com/en-us/library/h43ks021%28VS.71%29.aspx"]ADO.NET.[/URL] | |
Re: From the java [URL="http://java.sun.com/javase/6/docs/api/java/util/PriorityQueue.html"]doc[/URL]. [b]>How does Priority Queue work.[/b] The elements of the priority queue are ordered according to their [B]natural ordering[/B], or by a [B]Comparator provided[/B] at queue construction time, depending on which constructor is used. [b]>I get errors when i create a PQ <MyClass>. [/b] A priority queue … |
The End.