5,346 Posted Topics

Member Avatar for itjayakumar

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]

Member Avatar for kvprajapati
-1
141
Member Avatar for dsa

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]

Member Avatar for kvprajapati
0
34
Member Avatar for plusplus

plusplus & martonx. You are requested to use BB code tags. [CODE=VB.NET] My.Computer.Network.UploadFile("source file path","destination address") [/CODE]

Member Avatar for kvprajapati
0
228
Member Avatar for aravinda reddy

Don't use Clipboard object. Read content of doc using, [code] string txt=doc.Content.Text; [/code]

Member Avatar for aravinda reddy
0
2K
Member Avatar for Rageagainst20

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

Member Avatar for kplcjl
0
7K
Member Avatar for devs.dr

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] = …

Member Avatar for devs.dr
0
111
Member Avatar for iramirez

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

Member Avatar for kvprajapati
0
282
Member Avatar for SCass2010

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

Member Avatar for SCass2010
0
130
Member Avatar for abglong

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

Member Avatar for abglong
0
225
Member Avatar for dawsonz

[b]>click a SAVE button so the changes update my SQL database.[/b] [code] dAdapter.Update(dTable); [/code]

Member Avatar for kvprajapati
0
147
Member Avatar for ercdill

[b]>I got it working but I'd still appreciate if someone can chime in. [/b] It is a BUG.

Member Avatar for L0u3
0
196
Member Avatar for IT21

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

Member Avatar for IT21
0
120
Member Avatar for k1robert

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

Member Avatar for k1robert
0
924
Member Avatar for hitro456
Member Avatar for Renukavani

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]

Member Avatar for kvprajapati
0
47
Member Avatar for bs.sowmya

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

Member Avatar for kvprajapati
0
266
Member Avatar for hamza547

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

Member Avatar for kvprajapati
0
61
Member Avatar for Tank50

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.

Member Avatar for kvprajapati
0
118
Member Avatar for mrpenknife

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

Member Avatar for kvprajapati
0
80
Member Avatar for aravinthanbabu

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)

Member Avatar for kvprajapati
0
47
Member Avatar for dudedatroz

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

Member Avatar for kvprajapati
0
121
Member Avatar for swenzy

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

Member Avatar for kvprajapati
0
153
Member Avatar for troupm

Welcome Plaguemonkey. Please read before posting- [url]http://www.daniweb.com/forums/thread78223.html[/url] Thread Closed.

Member Avatar for kvprajapati
0
179
Member Avatar for k1robert
Member Avatar for eliot
Member Avatar for kvprajapati
0
38
Member Avatar for Deey

[b]>how do i reset my panels? thanks.[/b] Do you get any errors? Please post complete source code.

Member Avatar for kvprajapati
0
76
Member Avatar for Mitja Bonca

[b]>how to do get the exact measurments.[/b] Printer setup (custom paper size).

Member Avatar for kvprajapati
0
84
Member Avatar for Dimansu
Member Avatar for kvprajapati
0
53
Member Avatar for Sumit tyagi

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

Member Avatar for kvprajapati
0
44
Member Avatar for lee.j.baxter

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

Member Avatar for kvprajapati
0
59
Member Avatar for lee.j.baxter

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

Member Avatar for kvprajapati
0
207
Member Avatar for aravinda reddy

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

Member Avatar for Clawsy
0
99
Member Avatar for templersstorms

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

Member Avatar for templersstorms
0
102
Member Avatar for zorrinn

Have a look at FAQ - [url]http://social.msdn.microsoft.com/Forums/en-US/vsclassdesigner/thread/a5e864a0-26cd-4023-9766-276611e2abd4[/url]

Member Avatar for zorrinn
0
75
Member Avatar for DevC++4.9.9.2

To connect with mysql you have to use [URL="http://dev.mysql.com/downloads/connector/net/"]connector[/URL] provider api.

Member Avatar for kvprajapati
0
90
Member Avatar for TotoTitus

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

Member Avatar for TotoTitus
0
3K
Member Avatar for akdavid22

After selecting columns from a table or view, click on "Advanced" button to configure Insert/Delete/Update query.

Member Avatar for shanboy
0
176
Member Avatar for srsackman

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> …

Member Avatar for Ramesh S
0
85
Member Avatar for eliile5

Have a look at codeproject article - [url]http://www.codeproject.com/KB/game/learning_draughts.aspx[/url]

Member Avatar for eliile5
0
92
Member Avatar for drakkar

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

Member Avatar for drakkar
0
94
Member Avatar for yorro

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

Member Avatar for yorro
0
277
Member Avatar for bryansworld

Have a look at this thread - [URL="http://vbnet.mvps.org/index.html?code/screen/safemode.htm"]Win32 API[/URL].

Member Avatar for kvprajapati
0
84
Member Avatar for eliot

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]

Member Avatar for kvprajapati
0
97
Member Avatar for Artxep

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.

Member Avatar for kvprajapati
0
641
Member Avatar for PDB1982
Member Avatar for Anjalivarun
Member Avatar for kvprajapati
0
23
Member Avatar for eyes4u
Member Avatar for maria_mj

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

Member Avatar for kvprajapati
0
122
Member Avatar for teh_m

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

Member Avatar for teh_m
0
114
Member Avatar for GradStudent

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 …

Member Avatar for GradStudent
0
162

The End.