5,346 Posted Topics
![]() | Re: Haven't you read this post? [URL="http://msdn.microsoft.com/en-us/library/ms178472.aspx"]ASP.NET Page Life Cycle[/URL] |
Re: You have to request same web-app through two or more instances of Web-Browser (user). | |
Re: The file "index.php" is not at a specified location (folder). I guess! that "index.php" is either moved or deleted. | |
Re: Object cast is required. [code] Shelf result =(Shelf) d.readObject(); System.out.println("Object: " + result.getShelfID() + " " + result.getShelfName()); [/code] >how can I extract exact values from my XML document? Correct me if I'm wrong. I think there is no direct way to do so. What I'm telling you to read … | |
Re: You need to write JavaScript routine. [code] <head runat="server"> <title></title> <style type="text/css"> .box { height:100px; width:300px; background:#e0e3e3; border:2px solid black; } </style> <script type="text/javascript"> window.onload = function () { setInterval(function () { window.document.location.href = "page1.aspx"; }, 2000); //2 second }; </script> </head> <body> <form id="form1" runat="server"> <div class="box"> <img src="images/img1.png" … | |
Re: Have a look at [url]http://www.opensourcemediaframework.com/[/url] | |
Re: An array is instantiate each time a button's clicked. Remove a line #25 //m = new string[12]; Instantiate the array at line #18 [code] string[] m=new string[12]; [/code] | |
Re: >I had no knowledge about asp.net. To lean ASP.NET, you must have know-how of 1. Html 2. Cascade StyleSheet 3. JavaScript Language 4. The .NET Framework 5. C# or VB.NET Language (Object Oriented Paradigm) 6. Database product - oracle or mysql or MsSql etc. I'd like to suggest the ASP.NET … | |
Re: Here is some links of tutorials: 1. [url]http://msdn.microsoft.com/en-us/library/ms227881(v=VS.90).aspx[/url] 2. [url]http://infynet.wordpress.com/2010/10/06/crystal-report-in-c/[/url] | |
Re: Take a look at - [url]http://webtecker.com/2008/03/26/collection-of-password-strength-scripts/[/url] | |
Re: Not sure what type of parameters you have used. Please re-config the datasource and select suitable parameter. (Session, Form, QueryString, Control etc). | |
Re: I've changed hard-coded sql string into parameterized sql. [code] string sql= "SELECT * FROM OT where OTDate =@odate" OleDbConnection connection = new OleDbConnection(ConnectionString); sCommand = new OleDbCommand(sql, connection); sCommand.Parameters.AddWithValue("@odate",dtpDate.Value); sAdapter = new OleDbDataAdapter(sCommand); sBuilder = new OleDbCommandBuilder(sAdapter); sDs = new DataSet(); sAdapter.Fill(sDs, "OT"); sTable = sDs.Tables["OT"]; ..... [/code] | |
Re: >I need to extract the <Max> and <Min> value of the x,y,and z calib. Use Xml Linq to read/parse XML documents. Its an easy to understand and learn. Ex: [code] string file = @"c:\file.xml"; XDocument doc = XDocument.Load(file); int i = 0; var result = from ele in doc.Descendants() where … | |
Re: Please read [URL="http://stackoverflow.com/questions/542804/asp-netbest-way-to-run-scheduled-tasks"]this[/URL] post. | |
Re: Yes! you can if you have know-how of programming. I've used several tools like CodeSmith etc. | |
Re: Please read this [URL="http://stackoverflow.com/questions/3846081/deploy-sql-server-database-with-a-winforms-app"]thread.[/URL] | |
Re: [QUOTE=surajrai;1245169]Hi, Can you give some practical example of association, aggregation and composition which will make this understandable. regards,[/QUOTE] Sure. Read it - [url]http://en.wikipedia.org/wiki/Class_diagram[/url] | |
Re: Please read [URL="http://stackoverflow.com/questions/1212344/parse-json-in-c"]this[/URL] post. | |
Re: Use [B]Math.Truncate[/B] method [code] Dim d1 As Double = Nothing d1 = 22.345678 d1 = Math.Truncate(d1 * 100) / 100 // 22.34 d1 = Math.Truncate(d1 * 1000) / 1000 // 22.345 .. [/code] | |
Re: Please have a look at [URL="http://msdn.microsoft.com/en-us/library/xbx3z216.aspx"]MSDN[/URL] post and [URL="http://stackoverflow.com/questions/1107912/programmically-embed-resources-in-a-net-assembly"]StackOverFlow[/URL] thread. | |
Re: Well! Please show us your code. | |
Re: [code] .... inc = 1 sql = "Select * FROM members" da = New OleDb.OleDbDataAdapter(sql, con) Dim cb As New OleDb.OleDbCommandBuilder(da) .... [/code] | |
Re: Take a look at this MSDN post - [URL="http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx"]Working Around File Size Limitations[/URL] | |
Re: Use System.IO.FileStream class and [b]Seek[/b] method to set current position of the stream. | |
Re: Learn and try Drawing API (System.Drawing namespace classes) and post your code here if you have any question. | |
Re: It is a bug with SDK tools 12 (Android 3.1). In Eclipse, change the folder name (Program Files) of SDK location (Windows + Preferences + Android tab) to [B]C:\progra~1\Android\android-sdk[/B]. | |
Re: In my experience the [B]ASP.NET 3.5 Unleashed[/B] is a good book and also take a look at [URL="http://msdn.microsoft.com/en-us/bb188199"]MSDN[/URL] resource. | |
Re: The code posted here binds data source to the "DataReport" (VB6). It is not a CrystalReport. I'd like to suggest a good book to learn [URL="http://www.amazon.com/Crystal-Reports-10-Complete-Reference/dp/0072231661"]Crystal Report[/URL] from the scratch. | |
Re: Welcome. [b]>I hope I have explained myself clearly. I tried searching the net for some idea but could not get much help.[/b] That's not help. That would be doing your homework for you. Read the [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]forum rules[/URL]. You need to show effort, and what better way than posting the code … | |
Re: I think all the necessary components to design a reports are available with Visual Studio, so you have to learn them in order to achieve your goal. | |
Re: Have a look at Column Type of [URL="http://msdn.microsoft.com/en-us/library/bxt3k60s.aspx"]DataGridView.[/URL] | |
Re: Use [I]RecordSelectionFormula[/I] or [I]Parameters[/I] | |
Re: [b]>Database 'L:\system\project\the_project\the_project\bin\Debug\PatientMonitoringDatabase.mdf' already exists.[/b] SQL server already have a [B]PatientMonitoringDatabase[/B] database. Change the Logical name. | |
Re: Please have a look at [URL="http://www.daniweb.com/software-development/csharp/threads/318601"]daniweb thread[/URL] and [URL="http://www.codeproject.com/KB/game/lobby.aspx"]codeproject[/URL] article. | |
Re: Welcome kasthurirangan, Of course we will help you. Please post your problem along with the code work. [B]Read [/B] 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] Source code must be surrounded with code tags. For example, [noparse] [CODE=VB.NET] ... statements.. [/CODE] [/noparse] | |
Re: Follows these steps: 1. Add 10 question into an instance of ArrayList. 2. Generate random number between 0-9 and store it in 'index' int variable. (Use Random class). 3. Display arraylist item at 'index'. 4. Remove arraylist item at 'index'. 5. Generate random number between 0 to 8 and store … | |
Re: You have to specify the path of source and object file. [code] string app = @"C:\Alps\compiler\H-i586-cygwin32\bin\g++.exe"; string cppFile = @"-c c:\app\Main.cpp"; string outFile = @"-o c:\app\main.o"; System.Diagnostics.Process.Start(app, cppFile + " " + outFile); [/code] | |
Re: Table structure should be: [code=text] CatId Category ParentID 1 A 2 B 3 AA 1 4 BB 1 5 CC 2 [/code] | |
Re: Suggestions: 1. No need to use SqlDataSource. Have a look at SearchButton's click. You are populating repeater manually. 2. [icode]Never use hard-coded sql strings[/icode] especially with select statement. 3. You may use CommandArgument property to send button or record specific info to the [icode]ItemCommand[/icode] handler. | |
Re: >how i can show only current date excluding time in any textbox... Use ToShortDateString(), ToString("foramt") methods. >and how i found the difference of the date in asp.net Use TimeSpan type. [code] TimeSpan ts= date1 - date2; [/code] | |
Re: Please take a look at series of posts on[URL="http://msmvps.com/blogs/jon_skeet/archive/2011/05.aspx"] CTP async[/URL] by Jon Skeet. | |
Re: Please [B]google[/B] it and read [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]Member Rules[/URL] before you post anything. | |
Re: Use [B]Ajax Extension[/B] controls. | |
Re: >can someone show a sample code? . Show us your code work please? >is there better way to archive records rather than stored procedure??? Nope! >I dont know how to make a stored procedure. Buy a good book and learn something useful. | |
Re: You can use [b]Sort[/b] method of list. [code] .... listOfRows.Sort(AddressOf Comp) ... End Sub 'Sort on 1st column Shared Function Comp(ByVal v1 As DataRow, ByVal v2 As DataRow) As Integer If v1(0) > v2(0) Then Return 1 Else If v1(0) < v2(0) Then Return -1 Else Return 0 End If … | |
Re: First of all you must have know-how of C# language and .net framework. Always use good books to learn new technology from the scratch. I'd suggest you to read [URL="http://blogs.msdn.com/b/microsoft_press/archive/2010/10/28/free-ebook-programming-windows-phone-7-by-charles-petzold.aspx"]Programming Windows Phone 7, by Charles Petzold[/URL], is free ebook. | |
Re: I think its a simple task. First of all you have to obtain an index of row you want to delete, and use [b]Rows.RemoveAt(row_index)[/b] method of dataGridView control to remove that row. | |
Re: >The problem I am having is that the function is not removing any of the URLs, tags, scripts etc hence leaving the result still in raw state Use remove or clear() method. [code] If nc IsNot Nothing Then For Each node As HtmlNode In nc node.Remove() 'node.ParentNode.RemoveChild(node, False) Next 'Remove … |
The End.