5,346 Posted Topics

Member Avatar for abdelhakeem

You must have to read this article - [URL="http://www.codeproject.com/KB/mcpp/helloworldmc.aspx"]http://www.codeproject.com/KB/mcpp/helloworldmc.aspx[/URL] SUMMARY - ASP.NET does not support Managed C++ but it does support MSIL compiled assemblies.

Member Avatar for abdelhakeem
0
197
Member Avatar for moyphus

From the java documentation - [URL="http://java.sun.com/javaee/5/docs/api/javax/servlet/http/HttpSessionListener.html"]HttpSessionListener.html[/URL] Implementations of this interface are notified of changes to the list of active sessions in a web application. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application.

Member Avatar for kvprajapati
0
80
Member Avatar for memory100

Take a look at this tutorial - [URL="http://msdn.microsoft.com/en-us/library/336wast5(VS.71).aspx"]http://msdn.microsoft.com/en-us/library/336wast5(VS.71).aspx[/URL].

Member Avatar for Geekitygeek
0
157
Member Avatar for vasunttfshimoga

Provide more memory to your JVM ([URL="http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html"]java switches -Xmx[/URL]) or don't load all the [URL="http://www.daniweb.com/forums/thread30336.html"]data[/URL] into memory. Use [URL="http://en.wikipedia.org/wiki/Divide_and_conquer_algorithm"]Divide and conquer algorithm[/URL]

Member Avatar for kvprajapati
0
56
Member Avatar for Tales

To use CSS files, JavaScript files and images in resource, you must convert all links in HTML file to be the resource numbers. Take a look at this article - [URL="http://www.codeproject.com/KB/MFC/ImgCssJsHtmlDlg.aspx?msg=953524"]http://www.codeproject.com/KB/MFC/ImgCssJsHtmlDlg.aspx?msg=953524[/URL]

Member Avatar for Tales
0
234
Member Avatar for ytregnn

Read PHP manual page - [URL="http://www.php.net/manual/en/image.setup.php"]http://www.php.net/manual/en/image.setup.php[/URL]

Member Avatar for ytregnn
0
61
Member Avatar for SharonSweeting

Use TimeSpan structure. [code] Dim d1 As Date = #12/5/2008# Dim d2 As Date = Now Dim ts As TimeSpan = d2 - d1 Dim dt As Date = Date.MinValue + ts Console.WriteLine("Year : {0} Month : {1} Days : {2}", dt.Year, dt.Month, dt.Day) [/code]

Member Avatar for SharonSweeting
0
260
Member Avatar for mpdillon

Maybe you will get some useful information regarding to your problem from this FAQ - [URL="http://social.msdn.microsoft.com/Forums/en-US/vside2008/thread/9f84bdf7-aace-4a57-a3e4-3863a0efb647"]http://social.msdn.microsoft.com/Forums/en-US/vside2008/thread/9f84bdf7-aace-4a57-a3e4-3863a0efb647[/URL].

Member Avatar for mpdillon
0
151
Member Avatar for shinikat

Add the reference of MsFlexGrid DLL to your project and also read this FAQ - [URL="http://social.msdn.microsoft.com/Forums/en-US/vbinterop/thread/46e102fc-e3de-423e-abab-819be1255384"]http://social.msdn.microsoft.com/Forums/en-US/vbinterop/thread/46e102fc-e3de-423e-abab-819be1255384[/URL]

Member Avatar for kvprajapati
0
138
Member Avatar for kittu_sra

I really don't think there is any reason to encrypt session. Session state enables you to store and retrieve values for a user as the user navigates ASP.NET pages in a Web application. It is not shared by other users. As such, no need to encrypt it since it is …

Member Avatar for kvprajapati
0
61
Member Avatar for raphipps

Use & (string concat) operator to form a query. [code] .... oCom.CommandText = "INSERT INTO Children(First,Middle,Last,Ofsted) VALUES ('" & textbox1.text & "','" & textbox4.text & "','" & textbox2.text & "')" oCom.ExecuteNonQuery() .... [/code] I suggest you to use [URL="http://www.asp.net/Learn/data-access/tutorial-48-vb.aspx"]Parameterized Query[/URL]. [code] Dim oCom As System.Data.SqlClient.SqlCommand Dim oConn As System.Data.SqlClient.SqlConnection Try …

Member Avatar for kvprajapati
0
227
Member Avatar for venkates.99

[URL="http://objectlistview.sourceforge.net/cs/index.html"]ObjectListView[/URL] - It is open source and is a wrapper around a normal .NET ListView.

Member Avatar for venkates.99
0
104
Member Avatar for MxDev

Set [b]False[/b] value to HideSelection property - the selected text in the text box control remains highlighted when the control loses focus.

Member Avatar for MxDev
0
125
Member Avatar for Jarrhed

Take a look at following code, [code] .. var doc = XDocument.Load(@"sample1.xml"); var t = from node in doc.Descendants("installed") select node; var m = from node1 in t.Descendants() where node1.Attribute("title").Value == "sampleapp" select node1; if (m.ToList().Count!=0) { m.Remove(); doc.Save(@"sample1.xml"); } .. [/code]

Member Avatar for kvprajapati
0
84
Member Avatar for Ambarish N R

I suggest you to use [URL="http://msdn.microsoft.com/en-us/sqlserver/bb671393.aspx"]Microsoft SQL Server 2005 Integration Services (SSIS)[/URL]. - It is a platform for building high performance data integration solutions, including the extraction, transformation, and loading (ETL) of packages for data warehousing. Take a look at - [URL="http://msdn.microsoft.com/en-us/library/ms140052.aspx"]How to: Run the SQL Server Import and Export …

Member Avatar for kvprajapati
0
90
Member Avatar for deepas

Take a look at [URL="http://www.asp.net/"]http://www.asp.net/[/URL] - Microsoft portal site for the ASP.NET development community.

Member Avatar for Sals
0
196
Member Avatar for vbcoder100

Argument type mismatch Now.Add(age). Take a look at following code snippet. [code] Dim age As DateTime = #12/5/2008# Dim ageTime As TimeSpan ageTime = Now - age Dim diff As Date = Date.MinValue + ageTime [/code]

Member Avatar for kvprajapati
0
77
Member Avatar for murid

Take a look at MSDN article - [URL="http://msdn.microsoft.com/en-us/library/bb690938.aspx"]PrintForm Component[/URL].

Member Avatar for kvprajapati
0
106
Member Avatar for RgCz

Try this code, [code] .... If ListBox1.SelectedIndex <> -1 Then ListBox1.Items.RemoveAt(ListBox1.SelectedIndex) System.IO.File.WriteAllLines("file.txt", ListBox1.Items.Cast(Of String)().ToArray()) End If .... [/code]

Member Avatar for kvprajapati
0
118
Member Avatar for botaxsmaniz

Your question is bit unclear to me. I think you want to add a record into the database along with datatable. Isn't it?

Member Avatar for botaxsmaniz
0
125
Member Avatar for brando|away

Take a look at this thread - [URL="http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/97e55815-d73c-48c3-9a60-1ca617218bd2"]http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/97e55815-d73c-48c3-9a60-1ca617218bd2[/URL]

Member Avatar for donaldw
0
256
Member Avatar for vinodxx

The assignment to a variable of a value type creates a copy of the assigned value, while the assignment to a variable of a reference type create a copy of the reference but not of the referenced object.

Member Avatar for kvprajapati
0
132
Member Avatar for 15389049

You have to configure ItemTemplate and other templates of [URL="http://www.w3schools.com/ASPNET/aspnet_datalist.asp"]DataList [/URL]. Take a look at tutorial - [URL="http://www.asp.net/Learn/data-access/tutorial-29-vb.aspx"]http://www.asp.net/Learn/data-access/tutorial-29-vb.aspx[/URL]

Member Avatar for 15389049
0
593
Member Avatar for 21KristianN

>I have found a mdf file which i have tryed to connect to through excel but this data is not the same as in my application. You wouldn't normally deploy sql server with an application, you normally have sql server running on a dedicated windows server on the network and …

Member Avatar for 21KristianN
1
204
Member Avatar for coollife

Read this FAQ - [URL="http://social.msdn.microsoft.com/Forums/en-US/clr/thread/ce6a8a5b-cee8-4d1b-b6de-77627256197e"]http://social.msdn.microsoft.com/Forums/en-US/clr/thread/ce6a8a5b-cee8-4d1b-b6de-77627256197e[/URL]

Member Avatar for kvprajapati
0
85
Member Avatar for kz07

Try it, [code] ..... case 'I': case 'i': if(roman.at(i+1)=='V' || roman.at(i+1)=='X') decimal-=1; else decimal += 1; .... [/code]

Member Avatar for Nick Evan
0
100
Member Avatar for Jehutiy

Take a look at this thread - [URL="http://www.daniweb.com/forums/thread183072.html"]http://www.daniweb.com/forums/thread183072.html[/URL]

Member Avatar for kvprajapati
0
101
Member Avatar for RAMAN2233

Try out, [code] .... for(int i=0;i<ListBox1.Items.Count;) { if (ListBox1.Items[i].Selected) { CheckBoxList1.Items.Add(ListBox1.Items[i]); ListBox1.Items.RemoveAt(i); } else i++; } ... [/code]

Member Avatar for RAMAN2233
0
60
Member Avatar for milhero

Use MailMessage.Bcc collection - It is used to add a BCC recipient to an e-mail message, create a MailAddress for the recipient's address, and then add that object to the collection returned by the Bcc property.

Member Avatar for milhero
0
1K
Member Avatar for kerek2

Take a look at this article - [URL="http://www.codeproject.com/KB/vb/NetRemoteTOD.aspx"]http://www.codeproject.com/KB/vb/NetRemoteTOD.aspx[/URL].

Member Avatar for kvprajapati
0
75
Member Avatar for mystic2230

Use ASP.NET [URL="http://msdn.microsoft.com/en-us/library/ecs0x9w5.aspx"]Menu[/URL] control. To change the Menu orientation you can set the Orientation property as follows: [code] Menu1.Orientation = Orientation.Vertical; [/code]

Member Avatar for chandru7
0
119
Member Avatar for love_dude1984

Yes you can change the order of rows using [b]Linq Dataset[/b], [code] DataTable dt = new DataTable("Test"); dt.Columns.Add("No", typeof(int)); dt.Columns.Add("Name"); dt.Rows.Add(1, "R"); dt.Rows.Add(5, "A"); dt.Rows.Add(4, "W"); dt.Rows.Add(2, "C"); dt.AcceptChanges(); var t = (from rec in dt.AsEnumerable() select rec).Reverse(); dt = t.CopyToDataTable(); GridView1.DataSource = dt; GridView1.DataBind(); [/code]

Member Avatar for love_dude1984
0
118
Member Avatar for botaxsmaniz

Set DataMember property with a name of table, [code] DG1.DataSource=ds; DG1.DataSource="Material"; [/code] or You may use, [code] DG1.DataSource=ds.Tables[0]; [/code]

Member Avatar for DdoubleD
0
934
Member Avatar for Blake98

Welcome, Use classes from [URL="http://msdn.microsoft.com/en-us/library/h43ks021(VS.71).aspx"]ADO.NET[/URL] to execute stored-procedures. Take at look at this link - [URL="http://www.c-sharpcorner.com/UploadFile/gtomar/storedprocedure12052007003126AM/storedprocedure.aspx"]http://www.c-sharpcorner.com/UploadFile/gtomar/storedprocedure12052007003126AM/storedprocedure.aspx[/URL]

Member Avatar for kvprajapati
0
94
Member Avatar for mshravs

print function of JavaScript is needed to print a web page. [code] .. <script type="text/javascript"> function doit(){ print(); } </script> .. [/code]

Member Avatar for Kusno
0
113
Member Avatar for Rishi_Hamza

Change an expression: i<=myInbox.Items.Count; with, [code] for (int i = 0; i<myInbox.Items.Count; i++) { .... } [/code]

Member Avatar for kvprajapati
0
278
Member Avatar for applebiz89

Take a look at [URL="http://php.net/manual/en/features.file-upload.php"]http://php.net/manual/en/features.file-upload.php[/URL].

Member Avatar for network18
0
85
Member Avatar for Apeksha82

Take a look at [URL="http://msdn.microsoft.com/en-us/library/aa480498.aspx"]The Power of XmlElement Parameters in ASP.NET Web Methods[/URL].

Member Avatar for kvprajapati
0
62
Member Avatar for Soileau

Flexible array members are a C feature introduced in C99 whereby one can declare the last element to be an array of unspecified size.

Member Avatar for Mathura
1
169
Member Avatar for soeb

Take a look at this article - [URL="http://www.devarticles.com/c/a/HTML/The-power-of-DIV-with-IFRAME/"]http://www.devarticles.com/c/a/HTML/The-power-of-DIV-with-IFRAME/[/URL]

Member Avatar for kvprajapati
0
28
Member Avatar for get2tk

To develop website/webapp using asp.net, you must have know-how of .net framework, C# or VB.NET language, and html/css/javascript. Take a look at - [URL="http://msdn.microsoft.com/hi-in/asp.net/default.aspx"]http://msdn.microsoft.com/hi-in/asp.net/default.aspx[/URL]

Member Avatar for jbennet
0
160
Member Avatar for scott6480

As the error says, the name getch() is deprecated, and [URL="http://msdn.microsoft.com/en-us/library/ms235446(VS.80).aspx"]_getch()[/URL] is recommended instead.

Member Avatar for kvprajapati
0
573
Member Avatar for ddanbe

Hi danny. You have to handle formclosing event along with [URL="http://hashfactor.wordpress.com/2009/03/31/c-winforms-create-a-single-instance-form/"]singleton[/URL] - single instance of Form.

Member Avatar for mjean
1
138
Member Avatar for eddy_boy

>What benefits will WPF give me, the developer, and the users of the app? Of course, The developer. I have two links of article - [URL="http://windowsclient.net/wpf/white-papers/when-to-adopt-wpf.aspx"]Deciding when to adport WPF[/URL] and [URL="http://en.wikipedia.org/wiki/Windows_Presentation_Foundation"]http://en.wikipedia.org/wiki/Windows_Presentation_Foundation[/URL]

Member Avatar for eddy_boy
0
136
Member Avatar for aman rathi

Read this FAQ - [URL="http://c-faq.com/ptrs/goodfor.html"]What are pointers really good for, anyway?[/URL]

Member Avatar for jbennet
2
118
Member Avatar for love_dude1984

Take a look at wiki - [URL="http://en.wikipedia.org/wiki/Microsoft_SharePoint"]Microsoft SharePoint[/URL]. SUMMARY: SharePoint can be used to host web sites that access shared workspaces, information stores and documents, as well as host defined applications such as wikis and blogs. All users can manipulate proprietary controls called [b]web parts[/b] or interact with pieces of …

Member Avatar for kvprajapati
0
63
Member Avatar for srinivas.g

Use [URL="http://technet.microsoft.com/en-us/library/ms171908(SQL.90).aspx"]Ms-Sql[/URL] server [URL="http://blogs.msdn.com/sqlservercompact/"]compact[/URL] edition.

Member Avatar for kvprajapati
0
47
Member Avatar for blackcorner

Read this article - [URL="http://www.hanselman.com/blog/HowToSetAnIISApplicationOrAppPoolToUseASPNET35RatherThan20.aspx"]http://www.hanselman.com/blog/HowToSetAnIISApplicationOrAppPoolToUseASPNET35RatherThan20.aspx[/URL]

Member Avatar for kvprajapati
0
68
Member Avatar for UmeshDK

ASP.NET 2.0 GridView HtmlEncode property of Bound Columns is set to true for security reasons (to prevent xss attacks). I think you are working with 1.1 version. Take a look at this MSDN article - [URL="http://msdn.microsoft.com/en-us/library/ms972969.aspx#securitybarriers_topic7"]Take Advantage of ASP.NET Built-in Features to Fend Off Web Attacks[/URL]

Member Avatar for kvprajapati
0
95
Member Avatar for xtremebeauty

You need to create an instance of that class. Write following code in button's click handler. [code] ClassName var=new ClassName(); [/code] In case you are using namespace then use, [code] namespace_Name.ClassName var=new namespace_Name.ClassName(); [/code]

Member Avatar for xtremebeauty
-6
106

The End.