5,346 Posted Topics

Member Avatar for Alphard

Use RowFilter property of DataView, [code] Dim Adp as New OledbDataAdapter("select * from tableName","Connection_String") Dim Dt as new DataTable Adp.Fill(Dt) Dim Dv as DataView Dv=Dt.DefaultView DataGridView1.DataSource=Dv Dv.RowFilter="ColName='Value'" 'OR Dv.RowFilter='ColName1>=10 and ColName1<=30 or ColName2 like 'A%'" [/code]

Member Avatar for Alphard
0
112
Member Avatar for Alphard

Post your code. Use following syntax if column type is non-numeric, [code] str="SELECT * FROM tblHeader WHERE Requestor='" & Text1.Text & "'" [/code] For numeric type, [code] str="SELECT * FROM tblHeader WHERE Requestor=" & Text1.Text [/code]

Member Avatar for Alphard
0
132
Member Avatar for daviddoria

daviddoria, Error message says - "there are no arguments to 'getX' that depend on [icode]a template parameter, so a declaration of 'getX' must be available.[/icode]" In Output3D, [b]getX()[/b] is not used in a dependent context, so the compiler will look for a name declared at the enclosing namespace scope or …

Member Avatar for DdoubleD
0
540
Member Avatar for jcl43

[U]You can't stop the execution of base class constructor.[/U] Constructors of [b]base/super[/b] class are always executed before the execution of derived class constructor. By default, a no argument constructor of base class is called or invoked when you instantiate a [b]derived/sub[/b] class. Take a look at this code, [code] public …

Member Avatar for jcl43
0
109
Member Avatar for ubi_ct83

Take a look at [URL="http://www.daniweb.com/forums/thread5939.html"]http://www.daniweb.com/forums/thread5939.html[/URL] [QUOTE]SUMMARY: Pass a pointer to the start as a parameter to the function, and then return this pointer when you're done. [/QUOTE] EDIT: Mentioned link is belongs to C++ example but it is an answer of your question. For example, [code] double *getValues(); [/code]

Member Avatar for kvprajapati
0
177
Member Avatar for hket89

Returning an array as a whole is not possible in c-language. However you may use one of the following method: 1. Store an array within a structure and then return the structure. 2. Dynamically allocate space for the array and then return the pointer to that allocated space.

Member Avatar for wheel
0
156
Member Avatar for Cory_Brown
Member Avatar for bal_1991

bal_1991, Welcome to the daniweb. Take a look at [URL="http://www.parashift.com/c++-faq-lite/templates.html"]http://www.parashift.com/c++-faq-lite/templates.html[/URL]

Member Avatar for bal_1991
0
92
Member Avatar for MrNoob

Whenever you use [B]pointers [/B]make sure that you allocate memory first before using them.

Member Avatar for yellowSnow
0
128
Member Avatar for tomtetlaw

Take a look at [URL="http://support.microsoft.com/kb/974229"]http://support.microsoft.com/kb/974229[/URL]

Member Avatar for kvprajapati
0
23
Member Avatar for IAMEMINEM

IAMEMINEM, Welcome to the daniweb. I read your post carefully and I suggest you to check [URL="http://sourceforge.net/"]http://sourceforge.net/[/URL] - SourceForge is your location to download and develop free open source software.

Member Avatar for IAMEMINEM
0
111
Member Avatar for danielagaba
Member Avatar for meanace

meanace, Welcome to daniweb. [B][U]Following are some suggestions & corrections regarding to your post.[/U][/B] [B]1.[/B] Use bb code tags - It is a special tag to highlight the syntax of source code. Take a look at - [URL="http://www.daniweb.com/forums/announcement8-3.html"]How to use BB code tag?[/URL] [B]2.[/B] ERROR : Signature of [b]table[/b] function …

Member Avatar for meanace
0
102
Member Avatar for hery

You may use array index - to retrieve columns list. [code] print Flds(0).Name '1st column print Flds(1).Name '2nd column [/code]

Member Avatar for sknake
0
219
Member Avatar for tig2810

Use [b][URL="http://msdn.microsoft.com/en-us/library/ms131044.aspx"]DateTime.TryParseExact[/URL][/b] [QUOTE]SUMMARY: Converts the specified string representation of a date and time to its DateTime equivalent using the specified format, culture-specific format information, and style. The format of the string representation must match the specified format exactly. The method returns a value that indicates whether the conversion succeeded.[/QUOTE]

Member Avatar for tig2810
0
180
Member Avatar for elidotnet
Member Avatar for kimbula...

Take a look at - [URL="http://www.codeproject.com/KB/vb/Senthil_S__Software_Eng_.aspx"]http://www.codeproject.com/KB/vb/Senthil_S__Software_Eng_.aspx[/URL]

Member Avatar for sknake
0
311
Member Avatar for rcook

Hi, Read this article - [URL="http://migrationguide.artinsoft.com/Migration-Guide-Faq-Chapter-12.aspx"]Upgrading Data Access[/URL] [QUOTE]SUMMARY: How are VB 6.0 Data Reports converted to .NET ? Crystal Reports is the standard reporting tool in Visual Basic.NET. One of its most important advantages is the ability to convert a Microsoft Data Report (.dsr file) to a Crystal Report …

Member Avatar for kvprajapati
0
172
Member Avatar for pinsickle

Put newline or endl, [code] void Student::write(ofstream& outfile){ outfile << endl << setiosflags(ios::left) << setw(10) << name .... } [/code]

Member Avatar for kvprajapati
0
96
Member Avatar for fafi_ali

Read this article - [URL="http://msdn.microsoft.com/en-us/library/ms227881(VS.80).aspx"]Tutorials and Sample Code[/URL]

Member Avatar for fafi_ali
0
854
Member Avatar for serkan sendur

[QUOTE]how to access the information displayed on the Add/Remove programs in windows control.[/QUOTE] Please correct me if I am wrong. Do you want to have a list of installed programs?

Member Avatar for Diamonddrake
0
814
Member Avatar for papanyquiL

Take a look an article [URL="http://www.codeproject.com/KB/GDI-plus/LovelyGoldFishDeskPet.aspx"]using alpha transparency[/URL]

Member Avatar for papanyquiL
0
305
Member Avatar for Loony064

[QUOTE]ERROR: "The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data."[/QUOTE] -- Your program passing long/large value then actual size of column.

Member Avatar for Loony064
0
98
Member Avatar for sudharani

.Net framework provides [URL="http://msdn.microsoft.com/en-us/library/system.net.mail.aspx"]System.Net.Mail [/URL] - The System.Net.Mail namespace contains classes used to send electronic mail to a Simple Mail Transfer Protocol (SMTP) server for delivery. Take a look - [URL="http://www.systemnetmail.com/"]Frequently Asked Questions for System.Net.Mail[/URL]

Member Avatar for sudharani
-1
2K
Member Avatar for laailalalaa

>i want to open an utf-8 file. -- Use System.IO.StreamReader class or System.IO.File class. >at the end of each line, a particular-per-line string... -- [b]&[/b] - Use this sign to concat strings.

Member Avatar for sknake
0
114
Member Avatar for vinnarasi

vinnarasi, Welcome to the daniweb. There is an [b]Items[/b] collection property of ListView control. See the methods of [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.items.aspx"]http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.items.aspx[/URL]

Member Avatar for vinnarasi
0
93
Member Avatar for hery

Delete a record from the database using methods of Command class. [code] Dim Cmd as new SqlCommand .... Cmd.ExecuteNoneQuery ... [/code]

Member Avatar for kvprajapati
0
193
Member Avatar for juliusceasar

Use [b]IsNothing[/b] to test the available of an object. Also use [b]Count[/b] property to get the count of subitems. [code] IF IsNothing(ListViewStudents) Then Else End If [/code]

Member Avatar for kvprajapati
0
87
Member Avatar for whitezombie

Read post #2 very carefully, @salem: .NET Framework is needed to run .net things, you need all this baggage. .NET Framework sits on top of the windows operarting system.

Member Avatar for kvprajapati
0
189
Member Avatar for ZidaneXero

The [b]OledbCommandBuilder[/b] class automatically generate Insert, Delete, and update query based upon Select command (select query). [code] Private Sub ClientesBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Save.Click Dim da As OleDb.OleDbDataAdapter Dim cb As OleDb.OleDbCommandBuilder Dim strSQL As String = "Select * from clientes" Dim strConn As String …

Member Avatar for kvprajapati
1
452
Member Avatar for neutralfox

Think about [URL="http://en.wikipedia.org/wiki/Personal_Software_Process"]http://en.wikipedia.org/wiki/Personal_Software_Process[/URL]

Member Avatar for kvprajapati
0
76
Member Avatar for ubi_ct83

[URL="http://www.cplusplus.com/reference/clibrary/cstring/strcmp/"]Compare two strings.[/URL]

Member Avatar for ubi_ct83
0
614
Member Avatar for Diamonddrake

Do you want an alternative of XML serialization? Take a look at [URL="http://msdn.microsoft.com/en-us/library/system.runtime.serialization.formatters.binary.binaryformatter.aspx"]BinarySerialization[/URL]

Member Avatar for Diamonddrake
0
194
Member Avatar for sophie_kiu

[URL="http://support.microsoft.com/kb/216686"]http://support.microsoft.com/kb/216686[/URL] [QUOTE]SUMMARY:There are several advantages to writing your Automation code in straight C++. First and foremost, you can do exactly what you want. Next, your code will be smaller, faster, and easier to debug. And finally, you won't be dependent on any libraries.[/QUOTE]

Member Avatar for Protuberance
0
334
Member Avatar for adam1991
Member Avatar for zakarneh
0
98
Member Avatar for Thomasedicel

Thomasedicel, You are welcome. If you are looking for samples then you are in wrong place. Have a U turn and goto the [URL="http://www.google.com"]http://www.google.com[/URL]. Ask for advice, suggestions, hints. Read [URL="http://www.daniweb.com/forums/announcement8-3.html"]rules[/URL] at daniweb.

Member Avatar for mrnutty
-1
127
Member Avatar for husna_

[URL="http://msdn.microsoft.com/en-us/library/system.data.datatable.aspx"]DataTable[/URL] class. [code] DataTable dt=new DataTable(); dt.Columns.Add("Col1",typeof(int)); [/code]

Member Avatar for serkan sendur
1
213
Member Avatar for aashishn86

Great tutorials links, [URL="http://in2.php.net/tut.php"]A simple tutorial[/URL] [URL="http://www.w3schools.com/PHP/DEfaULT.asP"]PHP Tutorial[/URL] [QUOTE]SUMMARY: PHP is a powerful tool for making dynamic and interactive Web pages. PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP. In our PHP tutorial you will learn about PHP, and how to execute scripts on …

Member Avatar for aashishn86
0
247
Member Avatar for NinjaLink

NinjaLink, Take a look at function definition, [code] double averagehigh( int temperature[][2], // 1st argument double average_highs, // 2nd ifstream& inData, // 3rd ofstream& outData, // 4th int lowest_temp, // 5th int highest_temp // 6th ) [/code] and the declaration of same function is, [code] double averagehigh ( int temperature[][2], …

Member Avatar for NinjaLink
0
273
Member Avatar for webdevelop

Take a look at this [URL="http://stackoverflow.com/questions/1262327/which-is-the-best-php-framework-to-use-for-large-scale-web-applications"]Thread[/URL]

Member Avatar for neilkevins
0
89
Member Avatar for arunkumars

Take a look at [URL="http://www.codeproject.com/KB/shell/dragdropharsha.aspx"]Drag & Drop tutorial.[/URL]

Member Avatar for serkan sendur
0
193
Member Avatar for praveen_dusari

Before the start of ASP.NET, you must read .net framework architecture, class architecture, types system. - [URL="http://www.microsoft.com/NET/"].NET Framework[/URL]. After digesting some concepts of .net framework you have to prepare yourself to learn an object-oriented programming language - VB.NET or C#.

Member Avatar for lenj
0
79
Member Avatar for ishlux

[URL="http://tomcat.apache.org/download-55.cgi"]http://tomcat.apache.org/download-55.cgi[/URL] Mark the thread as Solved if you get appropriate answer.

Member Avatar for stephen84s
0
119
Member Avatar for anna030208

Warm welcome but I am displeased with your post. Please read the [b]sticky[b] thread - announcement (top of a page at each forum) before you post if any.

Member Avatar for sbhavan
0
141
Member Avatar for jp071

Take a look at this informative thread - [URL="http://www.daniweb.com/forums/thread56329.html"]http://www.daniweb.com/forums/thread56329.html[/URL]

Member Avatar for kvprajapati
0
95
Member Avatar for W0T4N

It's a diffcult to say anything without your code. Show us your code please. Use bb code tags - your source code must be surrounded with [URL="http://www.daniweb.com/forums/announcement61-3.html"]code[/URL] tags. Take a look at an article [URL="http://www.codeproject.com/KB/shell/system_tray.aspx"]System Tray Icons[/URL]

Member Avatar for W0T4N
0
191
Member Avatar for coollife

[b]Use code tags[/b] You can't inherit classes in this manner. Create an instance of class clsdbconnection.

Member Avatar for Ramesh S
0
83
Member Avatar for laks_samy

Read the MSDN online page -[URL="http://msdn.microsoft.com/en-us/library/bb386089(VS.100).aspx"]Handling events of ribbon items[/URL]

Member Avatar for laks_samy
0
115
Member Avatar for george_82
Member Avatar for george_82
1
124
Member Avatar for newcook88

Code for the first situation, [code] select * from TableName where EmployeeId=@parameter1 [/code] Code fot the second situation, [code] select number, name and department id from TableName order by number. [/code]

Member Avatar for kvprajapati
0
83

The End.