479 Posted Topics
Re: A Web Service is programmable application logic accessible via standard Web protocols. One of these Web protocols is the Simple Object Access Protocol (SOAP) Consumers of a Web Service do not need to know anything about the platform, object model, or programming language used to implement the service; they only … | |
Re: Try this link. [URL="http://aspdotnetcodebook.blogspot.com/2008/09/how-to-reorder-row-of-gridview-on.html"]How To Reorder The Row of Gridview on Button click [/URL] In the following link, Reorder has been implemented using DataGrid control. You can change it to GridView. [URL="http://www.webswapp.com/categories/ASPNET2/DataGridReorder/Default.aspx"]DataGrid Rows Reordering [/URL] | |
Re: Hi samehsenosi, Datasource is not specified in the connection string. Set the data source and try it again. | |
Re: Each child web forms will have different controls. If you want to access child page controls in your master page, then you can do it something like [CODE] ContentPlaceHolder1.FindControl("Button1") [/CODE] Or do you want to get master page event in your child pages? if so, refer this [URL="http://www.velocityreviews.com/forums/t113563-getting-master-page-events-from-child-pages.html"]link[/URL]. | |
Re: Does your page getting postback when you click the image link? If so, set the [URL="http://msdn.microsoft.com/en-us/library/system.web.ui.page.maintainscrollpositiononpostback.aspx"]Page.MaintainScrollPositionOnPostBack [/URL]Property to true to to return the user to the same position in the client browser after postback. | |
Re: Putting the CheckBoxList control inside a UpdatePanel control does not make this problem. The CheckBoxList is implemented a collection of ListItems. Attributes added to a ListItem control don't get rendered during postback. Actually it is a bug in ASP.NET. Refer the following links to know more about on this bug. … | |
Re: AFAIK, It seems that the WebBrowser control does not work in Windows Service. Since it is a UI control, it has to be used in WinForms application. Instead you can try to use WebRequest and WebResponse classes. | |
Re: Hi Stretcher, Welcome to DaniWeb. Use [URL="http://www.daniweb.com/forums/misc-explaincode.html"]code tags [/URL]to format your code. Why do you use Request object to get the value of TextBox control. You can use like TextBox1.Text to get the value of it. Also you are using <form> tag inside the server controls. Basically the ASP.NET controls … | |
Re: Hi Anup, Which CMS are you going to use? Do you already have any CMS software or looking for a open source one? [URL="http://www.dotnetnuke.com/"]DotNetNuke [/URL]is a popular open source content management system and application development framework for ASP.NET. It also has very good online community support. Look into that. | |
Re: The ASP.NET FormView control allows you to edit, delete, and insert records associated with a data source. Refer the following links. [url]http://www.learn-asp.net/ASPTutorials/FormView.aspx[/url] [url]http://quickstarts.asp.net/quickstartv20/aspnet/doc/ctrlref/data/formview.aspx[/url] [url]http://www.beansoftware.com/ASP.NET-Tutorials/FormView-Control.aspx[/url] | |
Re: Try these links. [URL="http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=6528&lngWId=10"]Master/Details using C# with n-tier coding[/URL] [URL="http://msdn.microsoft.com/en-us/library/c12c1kx4(classic).aspx"]How to: Create a Master/Detail Form Using Two Windows Forms DataGridView Controls [/URL] [URL="http://msdn.microsoft.com/en-us/library/aa984462(VS.71).aspx"]Walkthrough: Creating a Master-Detail Windows Form[/URL] | |
Re: Are you able to access the application in IE. or is this error occured only for FF? Also do the following settings. 1. Open Control Panel –> Program –> Turn Windows Features On or Off 2. Expand Internet Information Services –> World Wide Web Services ->Application Development Features 3. Check … | |
Re: Multivalue parameters cannot be used directly with LIKE operator in SSRS. You can do it only with workaround methods. Try this link. [URL="http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/9297dee7-ea08-429a-abbc-72212a539c5d"]Passing multiple values into parameter when using LIKE operator ( SSRS 2005)[/URL] | |
Re: It would be better if you store the forum messages in a database system. So that you can easily store, retrieve the data with better performance. If you store the forum data in a datbase, you can use the features specific to database systems such as security, indexing, stored precedures, … | |
Re: The following are free forum software for ASP.NET. [url]http://punbb.informer.com/wiki/punbb.net/start[/url] [url]http://www.yetanotherforum.net/[/url] [url]http://www.dmgforums.com/[/url] [url]http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=2748&lngWId=10[/url] [url]http://www.4component.com/download.aspx[/url] | |
Re: FormView is basically used to display the values of a single record from a data source. The controls in the ItemTemplate will be rendered only after binding a data source to the FormView control. In the BindFormView() method, you didn't bind any data source to the FormView control. Therefore myFormView.FindControl("myLabel") … | |
Re: Do not call the Random.Next twice in the same statement. Try something link this. [CODE] Dim objRandom As Random = New Random() Dim n1 As Int32 = objRandom.Next(1000, 999999) Dim n2 As Int32 = objRandom.Next(1000, 999999) sPrintString = sName & "_" & DateTime.Now.ToString("yyyyMMddHHmmssffffff") & "_" & n1.ToString() & "_" & … | |
Re: Try the following code. Create the a module 'Module1' and use the following code. [CODE] Module Module1 Private Print_Image As Image Declare Auto Function BitBlt Lib "GDI32.DLL" ( _ ByVal hdcDest As IntPtr, _ ByVal nXDest As Integer, _ ByVal nYDest As Integer, _ ByVal nWidth As Integer, _ ByVal … | |
Re: There is no such restriction in VB.NET I believe. You can call public methods of Classes and Modules inside a UserControl. You need to call them the way you are calling the public methods of Classes and Modules in a Form. | |
Re: By defult, SQL membership provider creates the database with name 'aspnetdb'. But you can use your own database to create tables related to membership provider. Also the tables and stored procedures are prefixed with 'aspnet'. The views are prefixed with 'vw_aspnet'. Therefore chances are very remote to conflict with other … | |
Re: The System.Web.UI.MobileControls namespace have controls to be used in Mobile web application in asp.net. Please note that the ASP.NET Mobile Controls are obsolete. Almost all modern phones do support more standised xhtml, so you don't have to use the asp.net mobile controls. You may need to use mobile web form … | |
Re: For button field in GridView, set the CommandName property of the button to some value. Handle the RowCommand event of GridView and check if the value of the argument 'e' (GridViewCommandEventArgs type) is equal to the value of the button's CommandName. | |
Re: 'return subconfirm()' will not work in anchor object. Try this [code] function subconfirm() { if (confirm("Are you sure to submit these details from database?")) { window.location = 'addlink.php?id=<?=$row[ID]?>'; } } [/code] [code] <a href="#" onclick=" return subconfirm()">SUBMIT</a> [/code] | |
Re: Hi John, Why do you want to construct the connection string dynamically in your class file? Store the connection information in web.config file for web applications and app.config file for WinForms application. You can retrieve the conneciton information using System.Configuration.ConnectionStringSettings class in your class file. For your question, You can … | |
Re: You can decompile a .NET assembly using [URL="http://www.red-gate.com/products/reflector/"].NET Reflector[/URL] if it is not obfusticated. | |
Re: If the variable 'imgfilepath' has a invalid path or file name, it will throw System.IO.DirectoryNotFoundException with error message 'Could not find a part of the path .......'. Otherwise post the complete exception message. It will help to identity the exact issue. | |
Re: Hi thilinam, Post your connection string details. It seems that your connection string uses Windows Authentication. When you run your web application using file system in Visual Studio, It will connect using your NT account so that you may be able to connect with database (if your connection string uses … | |
Re: Try this link [url]http://www.codeguru.com/vb/vb_internet/database/article.php/c7427[/url] | |
Re: It might be occured due to IE browser setting. Change browser settings as mentioned below: --Click Tools | Internet Options --Go to the Security tab, then click the Custom Level button. --Under the Downloads section of the list, look for Automatic prompting for file downloads and click Enable. --Click OK. | |
Re: It can be done by setting default button property at page level. The defaultbutton property can be specified at the Form level in the form tag [CODE] <form id="form1" runat="server" defaultbutton="button2 "> [/CODE] | |
Re: Check this link: [URL="http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-47-cs.aspx"]Get Started with the AJAX Control Toolkit (C#)[/URL] | |
Re: Look into this [URL="http://weblogs.asp.net/skillet/archive/2005/03/24/395838.aspx"]link[/URL]. | |
Re: You can publish asp.net web site in IIS5.1, IIS6. IIS7. IIS5.1 comes with Windows XP only. IIS6 is availabe Windows Server 2003. Also the database server needs to be installed in the server or the server needs to have client software to access the database from other servers(depending on the … | |
Re: You are asking about Nested Master Pages feature of ASP.NET. Master pages can be nested, with one master page referencing another as its master. Visit this link: [URL="http://msdn.microsoft.com/en-us/library/x2b3ktt7.aspx"]Nested ASP.NET Master Pages[/URL]. It explains about nested master pages in detail with sample code. Also visit these links. [url]http://weblogs.asp.net/scottgu/archive/2007/07/09/vs-2008-nested-master-page-support.aspx[/url] [url]http://www.codeguru.com/csharp/csharp/cs_network/internetweb/article.php/c12621/[/url] [url]http://www.aspfree.com/c/a/ASP.NET/Creating-a-Nested-Master-Page/[/url] | |
Re: [QUOTE] i am confused abt it.. features are of 8-10 line.. [/QUOTE] You mean that each product has 8-10 lines of text describing the features of it. I assume that you are displaying product details such as product id, name, price, image in a GridView/DataList control. You can display the … | |
Re: Hi sakhi kul, Post full VB.NET code. It will help to identify the issue. Are you putting the above VB.NET code segment in a For loop? Where do you fill your data set. after for loop? | |
Re: I found a solution in a [URL="http://stackoverflow.com/questions/1284612/csc-exe-not-found-error"]forum [/URL]that installing [URL="http://www.microsoft.com/downloads/details.aspx?FamilyId=27673C47-B3B5-4C67-BD99-84E525B5CE61&displaylang=en"]Visual Studio 2008 SP1[/URL] addressed this issue. | |
Re: Try the following tools. [URL="http://argouml.tigris.org/"]ArgoUML[/URL] - Java based UML modelling tool [URL="http://www.gentleware.com/download.html"]Poseidon for UML[/URL] - The community edition is free [URL="http://sourceforge.net/projects/classbuilder"]ClassBuilder[/URL] - This can be used to create class and sequence diagrams [URL="http://staruml.sourceforge.net/en/"]StarUML[/URL] - Open source UML tool [url]http://www.softdevtools.com/modules/weblinks/viewcat.php?cid=54[/url] - Find some UML tools with many of them free in … | |
Re: Look into the Adobe Flex open source framework. Adobe Flex is a software development kit released by Adobe Systems for the development and deployment of cross-platform rich Internet applications based on the Adobe Flash platform. It is simply a library of components that are used to develop applications using Adobe’s … | |
Re: You are using a SELECT statement to fetch records from database. But you have specified that the OdbcCommand.CommandType is StoredProcedure which is wrong. It should be Text type. Your code should look like as [CODE] protected void Page_Load(object sender, EventArgs e) { String constring = "Driver={MySQL ODBC 5.1 Driver};server=localhost;uid=root;database=db_dcii;port=3306"; DataTable … | |
Re: Apart from ASP.NET calendar control, you can also try Ajax Calender Extender that can be attached to any ASP.NET TextBox control. Try this [URL="http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx"]link[/URL]. | |
Re: Are you talking about creating web setup project for your asp.net site? If yes, visit this [URL="http://weblogs.asp.net/scottgu/archive/2007/06/15/tip-trick-creating-packaged-asp-net-setup-programs-with-vs-2005.aspx"]link[/URL]. | |
Re: First learn .NET basics using MSDN documentation, tutorials and books. Once you have some idea about .NET classes, try to use them in sample applications. Since you are working in a software company, you can get access to some real world application. Look into the arichitecture of that application(s), coding … | |
Re: Use ValidationGroup property. The ASP.NET controls have a ValidationGroup property that, when set, validates only the validation controls within the specified group when the control triggers a post back to the server. | |
Re: Try this. [CODE] Dim procID As Integer procID = Shell("control.exe timedate.cpl", AppWinStyle.NormalFocus) [/CODE] | |
Re: You can do it using PageMethods feature of Ajax in ASP.NET. Refer this link to have more details on PageMethods in ASP.NET [url]http://www.asp.net/ajax/documentation/live/Tutorials/ExposingWebServicesToAJAXTutorial.aspx[/url] Call a PageMethod in the onblur javascript event of textbox. Also refer [URL="http://www.singingeels.com/Articles/Using_Page_Methods_in_ASPNET_AJAX.aspx"]this[/URL]. | |
Re: Refer these links. [URL="http://www.dotnetfunda.com/articles/article78.aspx#"]How to create an ASP.NET website using Visual Web Developer? (Pictorial View)[/URL] [URL="http://msdn.microsoft.com/en-us/library/bb547121.aspx"]Walkthrough: Creating a New ASP.NET Web Site[/URL] [URL="http://msdn.microsoft.com/en-us/library/ms998300.aspx"]How To: Connect to SQL Server Using SQL Authentication in ASP.NET 2.0[/URL] | |
Re: Hi san_crazy, CAPTCHA stands for Completely Automated Public Turing Test to Tell Computers and Humans Apart. It is one of the most popular technique used to prevent computer programs from sending automated requests to Web servers especially to prevent spam attacks. Google, Hotmail, PayPal, Yahoo and a number of blog … | |
Re: CHECK constraint is not available in the CREATE TABLE statement for Access 2007 database. Instead, you can define validation rule using Design View. | |
Re: You need to import System.Data.SqlClient namespace in order to recognize the SqlConnection, SqlCommand and SqlDataReader etc objects. |
The End.