5,346 Posted Topics
Re: Welcome shaikh_farahnaz. Which version of Visual studio are you using? Your code uses vb 6.0 com control. Do you know there is a powerful class library in .net framework to work with database? | |
Re: Its difficult to read the code you posted. Wrap up your code with BB code tags. Read more about the [URL="http://www.daniweb.com/forums/announcement9-2.html"]BB code tags.[/URL] | |
Re: winTA, Please verify whether an SQL server instance is running or installed or not. To do so, 1. Open Server Explorer from view Menu. 2. Right Click on data connection + Add DataConnection 3. Chage - Microsoft SQL Server (SqlClient) 4. Type - servername,password, username 5. Select database. Second, its … | |
Re: >Every element of a page is accessed by the javascript. Where is your code, problem, and javascript fragment? | |
Re: If you wrote something regarding to bind a dropdownlist then please post the code of this fragment. | |
Re: cutedipti>could any1 please hepl me. Yes. Do not use SMS text. cutedipti>...Wchich of these wiilbe boundary class? What does boundary class can do? cutedipti>confused between whether Student class will be the final class or the Application class will be the final class. Do you want to makes these two classes … | |
Re: Please refer the ASP.NET Page life cycle topic at MSDN. ASP.NET page and control objects are created on each post back. | |
Re: Run - WAT (Web Site Administrative Tool) to configure Membership - Role/Users account. | |
Re: [QUOTE=seetha.sundar;886836]hi everybody, i should hav atleat 1 numerical character and 1 special character with alphabets can anybody please help me for this thanx regards, seetha.[/QUOTE] Use RegularExpressionValidator Control. | |
Re: Here is your problem. Loop adds more than parameters originally a stored procedure has. [CODE=ASP.NET and C#] for (int i = 0; i < CheckBoxList1.Items.Count; i++) { if (CheckBoxList1.Items[i].Selected) { cmd.Parameters.AddWithValue("@ozellik", CheckBoxList1.Items[i].Value); } } [/CODE] You should concatenate the checkboxlist item's values and then assign a concatenated string as parameter … | |
Re: Wrap up source code with BB code tags. [CODE=VB.NET] Str = resp.GetResponseStream srRead = New System.IO.StreamReader(Str) [/CODE] | |
Re: cee_karthi, You have post your problems in ASP.NET forum. Please read [URL="http://www.daniweb.com/forums/announcement58-3.html"]http://www.daniweb.com/forums/announcement58-3.html[/URL] | |
| |
Re: Add following after Line # 86 [CODE=PHP] print "<input type='checkbox' name='delcheck[]' value='$r[0]'/>"; [/CODE] Write following at Line # 58 [CODE=PHP] if($cmd=="Delete") { foreach($_POST["delcheck"] as $delid) { $sql ="delete FROM Info WHERE SiteId='$delid'"); mysql_query($sql); } } [/CODE] | |
Re: Wrap up source code with bb code tags. >what will be the result Have you compiled this code? | |
Re: Welcome nlvraghavendra. query variable represent the collection of strings. [CODE=C#] var query = from Student s in al select s.fname; string s1 = ""; foreach (string st in query) { s1 = s1 + " " + st; } .... [/CODE] | |
Re: head->prev=last; Respected members. I am a great admirer of work of ddanbe, ramy, sekarn, sknake. Thanks. | |
Re: Import - using System.Runtime.InteropServices; [CODE=C#] xyz p = new xyz(); MessageBox.Show(Marshal.SizeOf(p).ToString()); [/CODE] Read this [URL="http://msdn.microsoft.com/en-us/library/zycewsya(VS.80).aspx"]http://msdn.microsoft.com/en-us/library/zycewsya(VS.80).aspx[/URL] | |
Re: Try to read all values as a string. Will you attach your data file? | |
Re: Use Controls collection. [CODE=C#] String btn="button1"; this.Controls[btn].Enabled = false; [/CODE] | |
Re: How to count cells? - Rows X Columns. Isn't it? Show your work. | |
Re: Use [COLOR="Red"]this[/COLOR] [CODE=C++] void write() { cout << this->x << endl; } [/CODE] | |
Re: Why not? Do you forget GDI+? | |
| |
Re: Use java.util.jar package classes. (java.util.jar.JarFile class) | |
Re: Temporary object. Use new keyword. [CODE=C++] iLog =new RupLogger(); [/CODE] | |
Re: Post your complete code. | |
Re: Welcome hjdaniel.sun. Here are steps: 1. Create or Open Project (application) 2. Import System.Data.SqlClient and System.Data namespaces. 3. Create an instance of SqlConnection class [CODE=VB.NET] Sub Test() Dim Cn as New System.Data.SqlClient.SqlConnection cn.ConnectionString="Data Source=servername;Initial Catalog=databasename;User Id=username;Password=password" cn.Open() .... cn.Close() End Sub [/CODE] | |
Re: Welcome. Show your code please. Wrap up source code in bb code tags. Read [URL="http://www.daniweb.com/forums/announcement24-4.html"]How to post source code using bb code tags?[/URL] | |
Re: Event delegate Vs Interface based event. Event delegate is better than interface based event system. You may use static or instance method as a handler with event where as with interface - implements an interface and its methods. | |
Re: You have a problem with connection string. Verify your database connection with Server Explorer of Visual Studio 2005/2008. [CODE=MSSQL Connection String] Data Source=.\SQLEXPRESS;Initial Catalog=college;Integrated Security=True; [/CODE] | |
Re: Use JQuery - Javascript library. [URL="http://jquery.com/"]http://jquery.com/[/URL] | |
Re: Read console log file (recent dated) - this log file is located under the installation folder. Show us the error messages from a log file (recent dated not the whole). | |
Re: Welcome to DaniWeb. Read DaniWeb forum [URL="http://www.daniweb.com/forums/announcement8-3.html"]rules.[/URL] Use [B]sequence [/B] oracle object. | |
Re: Check the value of $limit. | |
Re: Welcome memegha123. getRealPath() translate a local URL into a path name in the local file system. [CODE=JSP] String path=application.getRealPath("/contactus.txt"); BufferedReader input = new BufferedReader(new FileReader(path)); [/CODE] | |
Re: You can't assign array elements like this: [CODE=C++] amount[20]={0.25,1.0,10.0,100.0,250.0,500.0,1000.0,5000.0,10000.0,50000.0, 100000.0,200000.0,300000.0,400000.0,500000.0,1000000.0, 2500000.0,5000000.0,7500000.0,10000000.0}; [/CODE] Use following signature of main() [CODE=C++] int main() { ....... return 0; } [/CODE] | |
Re: Little modification with Ramy's code: It's window control. [CODE=C#] .... // dataGridView1.DataBind(); ... [/CODE] | |
Re: [QUOTE=zuve_fox;898628]Hi.. I use vb.net 2003 to write coding and build to dll file. can dll file compile again to vb file? thanx[/QUOTE] Read your post - [URL="http://www.daniweb.com/forums/thread199156.html"]http://www.daniweb.com/forums/thread199156.html[/URL] | |
Re: Wrap source code with BB code tag - See # icon at toolbar. Post your complete code and error description. | |
Re: Great! Did you compiled this code? Array is reference type so you could avoid ref declaration. However below declaration create 40 reference variables which are initilized with null. [CODE=C#] public static String[] myArray = new String[40]; [/CODE] So you got an error - Object reference not set to an instance … | |
Re: You forget to assign filename. [CODE=Java] public String filename="file.txt"; [/CODE] or Remove readFile(filename) [CODE=Java] public Testwow(){ // readFile(filename); // System.out.println(filename); } [/CODE] | |
Re: Welcome. Did you work out? Please show your code. | |
Re: miculnegru>no one ? Yes, There is no problem with ScriptManager, UpdatePanel, UserControl, and ScriptManagerProxy. If your code doesnot function then post the complete code. | |
Re: >I have been trying to debug this mysql statement for the past 2 hours.. here is the statement: [CODE=PHP] $sql1 = "SELECT * FROM cpmip WHERE adid='$a' and ip='$ip'"; $res1 = mysql_query($sql1) or die(mysql_error()); [/CODE] > it throws the following error: You have an error in your SQL syntax; check … | |
Re: Use java.lang.Comparable interface and java.util.Arrays class. Here is sample code: Emp.java [CODE=Java] public class Emp implements Comparable { private String name; private String city; public Emp(){} public Emp(String name,String city) { this.city=city; this.name=name;} public int compareTo(Object p) { Emp a=(Emp)p; return name.compareTo(a.name); } public String getName() { return name;} public … | |
Re: Linsz was entered into C# forum mistakenly. Are you familiar with C# language? | |
Re: [CODE=C++] cout << "enter 16 numberss between 10-40" << endl; [/CODE] char mean a single character. You are trying to put two digits (characters). [CODE=C++] char c='1'; [/CODE] | |
Re: Then show it. What is the problem? |
The End.