5,346 Posted Topics

Member Avatar for robertmacedonia

>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.

Member Avatar for robertmacedonia
0
851
Member Avatar for adrianSigamoney

>MouseClick cannot be found error is generated. You have to use JavaScript code to handle those events (Keys, Mouse etc).

Member Avatar for adrianSigamoney
0
195
Member Avatar for paresh_thummar

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]

Member Avatar for jomgrg
0
141
Member Avatar for mkh110110

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].

Member Avatar for kvprajapati
0
85
Member Avatar for anirudhrudr

[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]

Member Avatar for tim.newport
0
8K
Member Avatar for markdean.expres
Member Avatar for aniperiye

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 …

Member Avatar for aniperiye
0
2K
Member Avatar for khan43

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.

Member Avatar for khan43
0
108
Member Avatar for EricIskhakov
Member Avatar for UberJoker

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 …

Member Avatar for UberJoker
0
179
Member Avatar for brynFlew

>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.

Member Avatar for brynFlew
1
1K
Member Avatar for maria_megha

>can you suggest by using java or javascript? You can't use JavaScript code. [code] <% String phone=userInfoObj.getPhoneno(); if(phone==null) phone=""; %> [/code]

Member Avatar for maria_megha
0
184
Member Avatar for nkps
Member Avatar for hery

>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]

Member Avatar for kvprajapati
0
1K
Member Avatar for loganwasif005

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.

Member Avatar for kvprajapati
0
51
Member Avatar for Blaine Tuisee

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.

Member Avatar for RogR
0
4K
Member Avatar for terdie

The easiest way to provide communication between systems - programs is a Web Service.

Member Avatar for ddanbe
0
263
Member Avatar for nayansaurabh

>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).

Member Avatar for nayansaurabh
0
127
Member Avatar for jlivvers

Have a look at this thread - [URL="http://www.daniweb.com/forums/post1443144.html#post1443144"]Deserializing in a different assembly[/URL]

Member Avatar for kvprajapati
0
128
Member Avatar for bettybarnes

You need to change the [URL="http://www.mssqltips.com/tip.asp?tip=1032"]collation[/URL] at the server.

Member Avatar for bLuEmEzzy
0
114
Member Avatar for saurabhtiwari

Have a look at [URL="http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/3435b288-a48f-46cc-b247-0f4c3deb5f89/"]this[/URL] thread.

Member Avatar for kvprajapati
0
85
Member Avatar for vijeevvv

SELECT statement with two parameters. [code] sql="select * from tableName where tblDate>=@start_date and tblDate<=@end_date" [/code]

Member Avatar for kvprajapati
0
55
Member Avatar for 123mehran

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]

Member Avatar for MamathaS
0
158
Member Avatar for virusisfound

@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].

Member Avatar for prvnkmr194
0
148
Member Avatar for ecrockers
Member Avatar for Netcode
Re: IIS

Please have a look at [URL="http://forums.iis.net/p/1086489/1913193.aspx"]this[/URL] thread.

Member Avatar for Netcode
-1
93
Member Avatar for ajinkya112

>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.

Member Avatar for ajinkya112
0
99
Member Avatar for jotae
Member Avatar for Setu1205
Member Avatar for anoopkh

Yes! we can. Visual Basic.NET runtime has been available for [URL="http://www.mono-project.com/VisualBasic.NET_support"]Mono[/URL].

Member Avatar for anoopkh
0
96
Member Avatar for lianpiau

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]

Member Avatar for lianpiau
0
1K
Member Avatar for bklynman01

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]

Member Avatar for kvprajapati
0
114
Member Avatar for cma224

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]

Member Avatar for kvprajapati
0
106
Member Avatar for jotae

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]

Member Avatar for kvprajapati
0
108
Member Avatar for hitro456
Member Avatar for N4JRY

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.

Member Avatar for N4JRY
0
230
Member Avatar for bestex

[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].

Member Avatar for kvprajapati
0
99
Member Avatar for anucom

You can use System.Data.OleDb provider classes to store or retrieve data to/from the MS-ACCESS database file.

Member Avatar for kvprajapati
0
71
Member Avatar for bettybarnes
Member Avatar for ajinkya112

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 .

Member Avatar for Momerath
0
187
Member Avatar for kgenn

Use [i]DISTINCT[/i] clause. [code] str="Select DISTINCT POSITION_C FROM tblLupon_C WHERE ...." [/code]

Member Avatar for kvprajapati
0
96
Member Avatar for AngelicOne

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 …

Member Avatar for AngelicOne
0
216
Member Avatar for Phil++

>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?

Member Avatar for Mitja Bonca
0
114
Member Avatar for Diamonddrake

If [i]status[/i] part is [i]fixed[/i] then I'd suggest split a string at [i]status[/i].

Member Avatar for Diamonddrake
0
120
Member Avatar for ajinkya112

Please have a look at this thread - [url]http://www.daniweb.com/forums/thread310434.html[/url]

Member Avatar for crazyvonzipper
0
2K
Member Avatar for Netcode

>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.

Member Avatar for Internetfirm
0
75
Member Avatar for shakeit13aby

>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]

Member Avatar for kvprajapati
0
114
Member Avatar for nice_candy

Use [i]HttpContext.Current[/i] property. [code] .. HttpContext.Current.Response.ClearContent(); HttpContext.Current.Response.AddHeader("content-disposition", attachment); .. [/code]

Member Avatar for kvprajapati
0
96
Member Avatar for MARKAND911

[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. …

Member Avatar for kvprajapati
0
139

The End.