5,346 Posted Topics
Re: headedtomexico, Incorrect select query - FROM clause is missing. [code] SELECT COUNT(*) FROM TableName WHERE name = 'bob' [/code] | |
Re: serkan sendur, Delete() method cannot throws an exception. | |
Re: Duplicate thread - [URL="http://www.daniweb.com/forums/thread205917.html"]http://www.daniweb.com/forums/thread205917.html[/URL] ![]() | |
Re: daviddoria, Think about nested class, [code=cplusplus] class Scanner { private: class Scan { }; public: Scan sc; .... }; [/code] | |
Re: [code=vb.net] dataGridView1.Datasource=Nothing [/code] | |
Re: [code=cplusplus] ... CRect rcClient; GetClientRect(&rcClient); pDC->FillSolidRect(rcClient, m_bkgColor); [/code] | |
Re: Read [URL="http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/6bc3b3e3-ae1b-4f36-857e-5a52d323280e/"]http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/6bc3b3e3-ae1b-4f36-857e-5a52d323280e/[/URL] | |
Re: [code=vb.net] Public Function getParagraph() As String Try Return document.Paragraphs(paragraphnumber).Range.Text Catch e As Exception MessageBox.Show(e.ToString) End Try End Function [/code] | |
Re: silliboy, a silly mistake. Data member [B]x [/B]and method[B] test [/B]are instance memebers of class. [code=java] package javaapplication1; public class Main { public int x = 3; // Instance field public int test() // Instance method { x += 4; return x; } public static void main(String[] args) { //Create … | |
Re: [code=java] ... boolean isvalid=true; switch(m) { case 1: case 3: case 5: case 7: case 8: case 10: case 12: if(d<1 || d>31) isvalid=false; break; case 4: case 6: case 9: case 11: ... break; case 2: .... break; .... } ... [/code] | |
Re: Post web related questions in JSP forum. Error: use != instead of !== [code=jsp] .. formFields.uPass != formFields.uPass2 .. [/code] | |
Re: countNode and countLeaves return int value (count of nodes). [code=java] System.out.println(countNode(node)); System.out.println("\n\nCOUNT LEAVES:"); System.out.println(countLeaves(node)); [/code] | |
Re: Read this article -[URL="http://www.theserverside.com/discussions/thread.tss?thread_id=34906"]http://www.theserverside.com/discussions/thread.tss?thread_id=34906[/URL] | |
![]() | Re: squanch, [code=vb.net] Dim k As String = Replace("The Red Sun", "Red", "White") msgbox(k) [/code] |
Re: Download pdf - documentation of gmp lib and read project build steps. | |
Re: iamnoangel26, You may use either VB6.0 or VB.NET. It's depends upon your knowhow. | |
Re: Your thread is belongs to PHP forum. | |
Re: arunaalapati, You are looking for this - [URL="http://www.codeproject.com/KB/cs/sysrestore.aspx"]http://www.codeproject.com/KB/cs/sysrestore.aspx[/URL] | |
Re: Welcome pedro.alonsod, I don't know anything about a new language C# urgent. I think this code originally written with VS 2005 (C#). | |
Re: >Thanks Tulsa & Atil, but as far I understand the example you gave is for a specific / one textbox.. Am I right? What I intend to do is.. What are you doing? Tulsa & Atil explained how to enabled or disabled an item? Is there any problem to write … | |
Re: m_amin, Your win32 project application is now converted into CLR application. You have to replace Entry point main() of Win32 with CLR entry point definition, [code=cpluscplus] #include "stdafx.h" #include "Form1.h" using namespace System; using namespace Win32app; // put namespace of your project here [STAThreadAttribute] int main(array<System::String ^> ^args) { Application::EnableVisualStyles(); … | |
Re: Read [URL="http://www.cplusplus.com/forum/beginner/1258/"]http://www.cplusplus.com/forum/beginner/1258/[/URL] | |
Re: nccsbim071, Handlers or module may help you. | |
Re: tux4life, I appreciate your time. I guess, from the OP's post that he/she has old compiler. >include string. -- is unnecessary when we include iostream and imports std namespace. ![]() | |
Re: Class CButton's create method takes button style argument - [URL="http://msdn.microsoft.com/en-us/library/tf9hd91s(VS.80).aspx"]MSDN Reference[/URL] | |
Re: No need to pass argument to the javascript function. [code=asp.net] <input type="checkbox" name="choice" value="30" onclick="checkTotal()"/> (30.00)<br> [/code] | |
Re: Write following code: [code=asp.net] if(Session["shopingCart"]!=null) { GridView1.DataSource=(List<string>)Session["shopingCart"]; GridView1.DataBind(); } [/code] | |
Re: Error first - do not nest script blocks [code=asp.net] <script language = "javascript"> function echeck(str) { var at="@" var dot="." var lat=str.indexOf(at) var lstr=str.length var ldot=str.indexOf(dot) if (str.indexOf(at)==-1){ alert("Invalid E-mail ID") return false } if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){ alert("Invalid E-mail ID") return false } if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 … | |
Re: To persist a state of an object between requests you may use: [LIST=1] [*]Client side state management [LIST] [*]Cookies - String datatype only [*]ViewState - Any datatype (serializable) [*]Hidden Fields - String type [*]Query Strings - String type [/LIST] [*]Server side state management [LIST] [*]Session - Any datatype (serializable) [*]Profile … | |
Re: If panel is placed inside the grid or any other control then you have to use FindControl method to have a reference of this panel object. [code=asp.net] Panel p; p=(Panel)GridView1.FindControl("Panel1"); ... [/code] | |
Re: Welcome noorashegh, [code=asp.net] HtmlGenericControl hc = new HtmlGenericControl("iframe"); hc.Attributes.Add("src", "Default.aspx"); form1.Controls.Add(hc); [/code] You should have to read, 1.[URL="http://www.daniweb.com/forums/announcement118-2.html"]Homework policy[/URL] 2.[URL="http://www.daniweb.com/forums/announcement118-3.html"]How to post source code?[/URL] Do not forget to use code tags. Source code must be surrounded with code tags. For example, [noparse] [code=asp.net] ... statements.. [/code] [/noparse] | |
Re: ctyokley, Select query with where clause. | |
Re: Dajer, Read this article : [URL="http://www.codeproject.com/KB/grid/DataGridPrinter.aspx"]http://www.codeproject.com/KB/grid/DataGridPrinter.aspx[/URL] | |
Re: xVent, [code=vb.net] ... Open DB connection ... Execute Query and assign result into var variable. txtData.Text=var; ... ... [/code] | |
Re: Alex_, [B]out[/B] - out is an intrinsic page object. | |
Re: Welcome manchi, To save a captured image into database you need to create a table having image or blob datatype column. Write ADO.NET code to execute stored-procedure or parameterized query to write a (captured image file) file content into a database. | |
Re: elamigosam, Only an expert can write tutorials. HTML/Javascript/CSS/PHP presents that tutorials. ![]() | |
Re: rajshree13, Use select query with where caluse. [code=sql] select * from tablename where adate='1-1-2002'" [/code] | |
Re: harshit99, Do you know something about JDBC? Please read this - [URL="http://java.sun.com/docs/books/tutorial/jdbc/index.html"]http://java.sun.com/docs/books/tutorial/jdbc/index.html[/URL] | |
Re: khuks, Connection object is created but you forget to set connection string. [code=vb.net] Dim Cn as New SqlConnection() Cn.ConnectionString="Your connectionString" [/code] or [code=vb.net] Dim Cn as New SqlConnection("Your connectionString") [/code] | |
| |
Re: kokotsu, You have a problem with templates. Read, [URL="http://www.parashift.com/c++-faq-lite/templates.html#faq-35.15"]How can I avoid linker errors with my template classes?[/URL] | |
Re: Pretty good explanation & code from scott in post #10 and OP is still clueless123. >what does buildsqlnative do? It return a connection string. >if i would want to search words by a textbox? why do i include this code? Modify the select query statement. | |
Re: JAVA array is reference type. I think following example help you to understand array argument and return type. [CODE=java] public class Arr{ public static int []getArr(int []ar) { ar[0]++; ar[1]++; return ar; } public static void main(String []args) { int m[]={10,20}; int n[]; n=getArr(m); System.out.println(n[0] + " " + n[1]); … | |
Re: Welcome shobhitzone, This is your first post. Do you want to paging with GridView in asp.net? Read this : [URL="http://www.catb.org/~esr/faqs/smart-questions.html"]http://www.catb.org/~esr/faqs/smart-questions.html[/URL] | |
Re: It's a great book. I think 3rd and 4th are not free edition. | |
Re: karamjeet2004, You have to use java.sql package and sql select statement with pattern (%,?) and where caluse. | |
Re: Use shared method. [code=vb.net] Form1.Show [/code] |
The End.