5,346 Posted Topics
Re: >should the UML Class diagram for my application include all the controllers and views and their relationships Strictly speaking. No. >should I just include my model classes Yes. | |
Re: >MouseClick cannot be found error is generated. You have to use JavaScript code to handle those events (Keys, Mouse etc). | |
Re: You are missing **MemberShipCreateStatus** argument. [code] System.Web.Security.MembershipCreateStatus mcs; System.Web.Security.Membership.CreateUser("username", "password", "username@email.com", "passwordQuestion", "passwordAnswer", true, out mcs); switch (mcs) { case System.Web.Security.MembershipCreateStatus.Success: break; case System.Web.Security.MembershipCreateStatus.DuplicateEmail: break; case System.Web.Security.MembershipCreateStatus.DuplicateUserName: break; } [/code] | |
Re: All these things can be done via [URL="http://code.google.com/apis/maps/"]Google API[/URL] or some [URL="http://sourceforge.net/projects/gearthcomapinet/"]helper class libraries[/URL]. | |
Re: [QUOTE=anirudhrudr;879502]I am trying to display only year in datetimepicker in vb.net Can anybody help me out. please[/QUOTE] Write statements in Form1_Load Event. [CODE=VB.NET] DateTimePicker1.CustomFormat = "yyyy" DateTimePicker1.Format = DateTimePickerFormat.Custom [/CODE] | |
Re: It is a [b]Text[/b] datatype. | |
Re: Welcome. You need to have two datasources - one for [I]GridView [/I]and other for [I]Repeater[/I]. Have a look at this example. Product class [code] public class Product { public int ProductID { get; set; } public string Name { get; set; } } [/code] Category class [code] public class Category … | |
Re: Putting the URL in a new window/tab will issue a GET (method) to the server. So, you can write some sort of code which compare cookies and method type. | |
Re: Have you bind these parameters with EditTemplate items? | |
Re: To develop a web-server is not big task but to add support for web-app (asp, asp.net, jsp, php) is quite complex task. In case of asp.net, you need to write your own modules and handlers (and ISAPI extensions and filters) so that your web-server recognizes request and forward it to … | |
Re: >Does anybody know a solution to converting my 2008 project to 2010? Do not change .sln file manually. Open VS2010 and then Select File + Open Project. VS2010 will show you a project convert wizard. | |
Re: >can you suggest by using java or javascript? You can't use JavaScript code. [code] <% String phone=userInfoObj.getPhoneno(); if(phone==null) phone=""; %> [/code] | |
Re: Create a [b]Parameter[/b] field. | |
Re: >No process is associated with this object.". Please tell me how i fix it. SQLLDR is an executable and it will be your main process. [code] strCmdLine = @"SQLLDR XL/secreat@O11G CONTROL=E:\APT\LoadXL.ctl"; System.Diagnostics.Process.Start(strCmdLine); [/code] | |
Re: I'd suggest you to learn and have expertise in HTML, JavaScript , jQuery and Cascade Style-sheet before you learn any one of them. Now's day I'm developing app using ASP.NET MVC framework but it depends upon the type and nature of application. | |
Re: Great! Help him/her. Poster trying to close an asp.net web application and web browser since Jul 16th, 2008. After all post#2 is your solution. Mark this thread as Solved and create a new Thread in HTML forum. | |
Re: The easiest way to provide communication between systems - programs is a Web Service. | |
Re: >How to move data from sql server to excel sheet. Use [URL="http://www.mssqltips.com/tip.asp?tip=1202"]OPENROWSET[/URL] command (SQL Server 2000 and SQL Server 2005). | |
Re: Have a look at this thread - [URL="http://www.daniweb.com/forums/post1443144.html#post1443144"]Deserializing in a different assembly[/URL] | |
Re: You need to change the [URL="http://www.mssqltips.com/tip.asp?tip=1032"]collation[/URL] at the server. | |
Re: Have a look at [URL="http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/3435b288-a48f-46cc-b247-0f4c3deb5f89/"]this[/URL] thread. | |
Re: SELECT statement with two parameters. [code] sql="select * from tableName where tblDate>=@start_date and tblDate<=@end_date" [/code] | |
Re: Well you need to use [i]status[/i] variable to test whether a checkbox item is checked or not. [code] Dim Lstitems As ListItem Dim IsSelected as Boolean=false For Each Lstitems In CheckBoxList1.Items If Lstitems.Selected Then IsSelected=true Exit For End If End If Not IsSelected Then 'statement End If [/code] | |
Re: @virusisfound You need to be little precise and informative. It is nearly impossible to guess what is your database product (mysql or db2 or something else). If you want to insert [i]N[/i] records into a table then put your [icode]record insert[/icode] code inside the [i]loop[/i]. | |
Re: Out of question - I'd suggest you to use jQuery. | |
Re: Please have a look at [URL="http://forums.iis.net/p/1086489/1913193.aspx"]this[/URL] thread. | |
Re: >How do i make it the way so that it would get updated from any other machine which is connected to it in either LAN or via wi-fi. I'd suggest a web-application. | |
| |
Re: Use GridView control. | |
Re: Yes! we can. Visual Basic.NET runtime has been available for [URL="http://www.mono-project.com/VisualBasic.NET_support"]Mono[/URL]. | |
Re: Have a look at this blog post - [URL="http://blogs.msdn.com/b/markrideout/archive/2006/01/08/510700.aspx"]Customizing the DataGridView to support expanding/collapsing (ala TreeGridView)[/URL] | |
Re: You need to set [i]DisplayMember[/i] and [i]ValueMember[/i] property of comboBox. [code] Me.cmbModel.DataSource = tblModels cmbModel.DisplayMember="name of column whose value will be displayed" cmbModel.ValueMember="name of column whose value will be return when you select an item" [/code] | |
Re: Welcome cma224 You need to create an array of Label and a loop. [code] Label []lab=new Label[5]; //Add the reference of Label1,Label2,....Label5 objects lab[0]=Label1; lab[1]=Label2; ...... int no=32356; int index=0; int rem=0; while(no>0) { rem= no % 10; lab[index].Text = rem.ToString(); no= no /10; } .... [/code] | |
Re: Use parameterized query to avoid datatype mismatch. [code] cmd.CommandText = "UPDATE cursos SET saldo = saldo - @cantidad where [id] = @id"; cmd.Parameters.AddWithValue("@cantidad",cantidad); cmd.Parameters.AddWithValue("@id",vID); [/code] | |
Re: Take a look at log4net. it's easy to use and works very well. | |
Re: Take a look at ScottGu's blog - [URL="http://weblogs.asp.net/scottgu/archive/2006/07/12/Recipe_3A00_-Enabling-Windows-Authentication-within-an-Intranet-ASP.NET-Web-application.aspx"]Recipe: Enabling Windows Authentication within an Intranet ASP.NET Web application.[/URL] Hope it helps you. | |
Re: [icode]Application.StartupPath[/icode] return the location of executables (.exe) so to resolve path of report files, move .rpt files to the [i]Application.StartupPath[/i]. | |
Re: You can use System.Data.OleDb provider classes to store or retrieve data to/from the MS-ACCESS database file. | |
Re: You can use INSERT and SELECT sql statement in one query. | |
Re: Event name it self a reference/delegate type variable and you can assign a reference of method (called event handler) to it using (+=) operator. Please show us your code . | |
Re: Use [i]DISTINCT[/i] clause. [code] str="Select DISTINCT POSITION_C FROM tblLupon_C WHERE ...." [/code] | |
Re: Yes! you can use select statement. Stored procedure to insert a record (Table dept (deptno, deptname)) [code] CREATE PROCEDURE add_dept @deptno int, @deptname varchar(30) AS declare @count int select @count=count(*) from dept where deptno=@deptno if @count=0 begin insert into dept (deptno,deptname) values (@deptno,@deptname) end RETURN [/code] C# code to execute … | |
Re: >I'm doing my final project and I'm thinking about creating an application that is user based.. Well! you need to be more precise and informative. Is this a web or win application? | |
Re: If [i]status[/i] part is [i]fixed[/i] then I'd suggest split a string at [i]status[/i]. | |
Re: Please have a look at this thread - [url]http://www.daniweb.com/forums/thread310434.html[/url] | |
Re: >whenever i try to view the registration page which is meant for data entry. You need to deploy database along with the web-application (MySql,MS-SQL,Oracle). If your application uses MS-Access database then set [i]write[/i] permission for anonymous user. | |
Re: >i need someway to insert selectvalue into my sdsAnswer I presume that table [i]sdsAnswer[/i] has three columns - answer_id, answer_date, and user_answer. Code should be. [code] string sql="insert into sdsAnswer values (?answer_id,?answer_date,?user_answer)"; MySqlConnection conn=new MySqlConnection("your_connection_string"); MySqlCommand cmd = new MySqlCommand(query, conn); cmd.Parameters.Add("?answer_id",TextBox1.Text); cmd.Parameters.Add("?answer_date",DateTime.Now); cmd.Parameters.Add("?user_answer",RadioButtonList1.SelectedValue); conn.Open(); cmd.ExecuteNonQuery(); conn.Close(); [/code] | |
Re: Use [i]HttpContext.Current[/i] property. [code] .. HttpContext.Current.Response.ClearContent(); HttpContext.Current.Response.AddHeader("content-disposition", attachment); .. [/code] | |
Re: [QUOTE=MARKAND911;1473008]i want to know that from which pages my current page has been called in ASP.net As for example I want the track of page named "hero.aspx" and it has been called from "Zero.aspx" and "Zero.aspx" has been called from "one.aspx" So i want output as whole page called hierarchy. … |
The End.