5,346 Posted Topics

Member Avatar for manjunath_praj

[b]>Can Anyone help me in creating custom controls to add or remove textboxes dynamically.[/b] Show us your code please. Do you know how to add controls dynamically onto the page?

Member Avatar for Fortinbra
0
143
Member Avatar for GAME
Member Avatar for kishor20

Welcome Kishor20. Before commencing the journey to develop a project you must have a decent understanding of the .net framework, C# language and other technologies. So I'd rather suggest you dig deep into your mind to find concepts/ideas that you really find your natural interest in. There are many open …

Member Avatar for kishor20
0
443
Member Avatar for TechNewbie23

Show us your code work please. Please use BB code tags while posting source program. [noparse] [code] .... [/code] [/noparse] Take a look at forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules.[/URL]

Member Avatar for TechNewbie23
0
242
Member Avatar for Pgmer

[QUOTE]Any one know the root cause for this and sollution?[/QUOTE] Please show us your code so we can help you on that issue.

Member Avatar for Pgmer
0
134
Member Avatar for Delrode

Welcome. Crystal report has not been changed much from VS2005/VS2008. Take a look at this tutorial : 1. [url]http://msdn.microsoft.com/en-us/library/ms227881(v=VS.90).aspx[/url] 2. [url]http://www.techtutorials.net/tutorials/databases/crystal_reports.html[/url]

Member Avatar for kvprajapati
0
152
Member Avatar for jugosoft

Please post exception stack trace or code snippet and have a look at - [URL="http://naudio.codeplex.com/"]NAudio[/URL] API.

Member Avatar for kvprajapati
0
73
Member Avatar for manugm_1987

[QUOTE]Can anyone pls help how to dispose objects by my own. i.e i should not allow the garbage collector to dispose my object automatically when object is out of scope, instead it should leave the job of disposing the object to me whenever i need.[/QUOTE] First of all, your classes …

Member Avatar for Momerath
0
102
Member Avatar for gr8fasushi

>but I'm running into a wall when it comes to having the foreign key from my child table autopopulate the primary key from the parent table. No auto populate! You need to populate it manually. Read "[URL="http://msdn.microsoft.com/en-us/library/ks9f57t0(v=VS.90).aspx"]Retrieving Microsoft Access Autonumber Values[/URL]" - article from MSDN.

Member Avatar for kvprajapati
0
165
Member Avatar for pseudorandom21

[b]How are iterators used in C# ?[/b] Text from MSDN [URL="http://msdn.microsoft.com/en-us/library/dscyy5s0(v=VS.90).aspx#Y600"]article [/URL]:- [QUOTE]An iterator is a method, get accessor, or operator that performs a custom iteration over an array or collection class by using the yield keyword.[/QUOTE] [QUOTE]I understand it's common to use the foreach with C# arrays/containers, but I …

Member Avatar for kvprajapati
0
117
Member Avatar for judithSampathwa

Is this you buddy! - [url]http://www.daniweb.com/forums/thread334504.html[/url] [QUOTE]i have been asking this question every time.[/QUOTE] Asking same question multiple time is against the forum rules. Please tell us how this question is different than previous one.

Member Avatar for kvprajapati
0
111
Member Avatar for kgenn

Try this, [code] <%@ Page Language="VB"%> <%--AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default"--%> <%@ Import Namespace="System.Data.Oledb" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> Private Sub Page_Load() If Not IsPostBack Then BindGrid() End If End Sub Sub BindGrid() Dim connection As OleDbConnection connection = New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;Data Source=C:\Users\emong\Documents\Visual Studio 2008\WebSite3\App_Data/dbLupon.mdb") connection.Open() Dim …

Member Avatar for kgenn
0
134
Member Avatar for virusisfound

Should [URL="http://msdn.microsoft.com/en-us/library/ms190273.aspx"]be[/URL], [code] string q = "ALTER TABLE [abc] add " + textbox1.Text+ " Varchar(20)"; [/code]

Member Avatar for virusisfound
0
137
Member Avatar for Dheerajpro
Member Avatar for murtaza1234
Member Avatar for kvprajapati
-3
151
Member Avatar for music613

Use CheckedItems property. [code] for (int i = 0; i < myCheckedListBox.CheckedItems.Count ; i++) { MessageBox.Show(myCheckedListBox.CheckedItems[i].ToString()); } [/code]

Member Avatar for music613
0
132
Member Avatar for ticktock

Try this, [code] Sub Main() Dim count As Integer = Me.songList.Count Dim lst As New List(Of Integer) For i As Integer = 1 To count lst.Add(i) Next Dim rnd As New Random Dim ind1, ind2, tmp As Integer For i = 1 To count ind1 = rnd.Next(count) ind2 = rnd.Next(count) …

Member Avatar for ticktock
0
183
Member Avatar for Bandit390
Member Avatar for Mr.BunyRabit

Use [b]return[/b] statement. [code] public void test() { //code if(test_your_condition) { return; } //code } [/code]

Member Avatar for Mr.BunyRabit
0
147
Member Avatar for stelman

>The method returns only the first argument which is the path of the application. Of course the first argument will be a path and next will be a name of asso file. Please show us signature of Main() method.

Member Avatar for stelman
0
236
Member Avatar for SBA-CDeCinko

[QUOTE]Is there an easy way to display an MHT file in a .NET/C# web page?[/QUOTE] Have a look at [URL="http://stackoverflow.com/questions/4705139/how-to-load-mht-from-stream-string-into-a-webbrowser-control"]this[/URL] thread.

Member Avatar for kvprajapati
0
82
Member Avatar for Kath_Fish

[code] System. System.Text.StringBuilder sb = new System.Text.StringBuilder(); for (int i = 1; i <= 10; i++) { sb.AppendLine(string.Format("Value : {0}", i)); } MessageBox.Show(sb.ToString()); [/code]

Member Avatar for alc6379
0
200
Member Avatar for kiranbvsn

You just have to select domain name, and hosting plan (according to your webapp).

Member Avatar for Fortinbra
0
195
Member Avatar for Rpower

Session will allow us to store values into server location (memory) per user and programmable web-pages get or set these values. You can't use session with html web-pages. To set value, [code] Session("key1")=1000 Session("name")="Mr. A" [/code] To get value, [code] if Not IsNothing(Session("key1")) Then dim no as integer = Session("key1") …

Member Avatar for Fortinbra
0
110
Member Avatar for soft_coder

>But I am unable to do so. So you have a problem on adding reference of external component (dll). Isn't it? Just copy that .dll file into [b]Bin[/b] under the root of your web-app.

Member Avatar for Fortinbra
0
211
Member Avatar for jlivvers

Have a look at this [URL="http://stackoverflow.com/questions/1304536/settings-settings-connectionstring-in-development-vs-production"]thread.[/URL]

Member Avatar for kvprajapati
0
139
Member Avatar for manugm_1987

[CODE]how to create an exe of a windows project tat contains database and runs well when installed on target or client machine which contains no sql server installed...... [/CODE] Articles: 1. [URL="http://msdn.microsoft.com/en-us/library/aa983326(v=VS.90).aspx"]How to: Deploy a SQL Server Compact 3.5 Database with an Application[/URL] 2. [URL="http://msdn.microsoft.com/en-us/library/bb264562(SQL.90).aspx"]Embedding SQL Server Express into Custom …

Member Avatar for kvprajapati
0
165
Member Avatar for hjbavaliya

Please have a look at scottgu's blog - [URL="http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx"]Tip/Trick: Url Rewriting with ASP.NET[/URL]

Member Avatar for kvprajapati
0
90
Member Avatar for MrCapuchino

I'd suggest ErrorProvider control. [code] ... if (GetCompareResult()) { errorProvider1.Icon = new Icon(@"C:\path\correct.ico"); } else { errorProvider1.Icon = new Icon(@"C:\path\incorrect.ico"); } errorProvider1.SetError(button1 , string.Empty); ... [/code]

Member Avatar for MrCapuchino
0
690
Member Avatar for Jinspire

Try this, [code] <asp:RegularExpressionValidator ID="revTime" runat="server" ControlToValidate="txtTime" ErrorMessage="Time interval must be between 00:00 and 23:59" ValidationExpression="^(?:0?[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$" Display="Dynamic" /> [/code]

Member Avatar for Jinspire
0
105
Member Avatar for JayWeb

Try this, [code] public partial class Form1 : Form { public Form1() { InitializeComponent(); } private const int WM_NCHITTEST = 0x84; private const int HTCLIENT = 0x1; private const int HTCAPTION = 0x2; protected override void WndProc(ref Message message) { base.WndProc(ref message); if (message.Msg == WM_NCHITTEST && (int)message.Result == HTCLIENT) …

Member Avatar for kvprajapati
0
169
Member Avatar for purell

C# syntax: [code] if(Session["login name"]!=null) { string name=Session["login_name"].ToString(); if(name=='put_text_here') { } } [/code]

Member Avatar for kvprajapati
1
270
Member Avatar for barriegrant1

Have a look at codeproject [URL="http://www.codeproject.com/KB/menus/PopulatingMenuControlASP2.aspx"]article[/URL], hope it helps you.

Member Avatar for barriegrant1
0
295
Member Avatar for ryathegr8
Member Avatar for BillWebber

>I have a brain injury which causes memory problems and makes it very difficult for me to program Dear jasper54321, I'm so sorry to hear that. I am sending you healing energies (Faith) and trust that you will be well and cured. ;) >The plan is to make a small …

Member Avatar for BillWebber
1
126
Member Avatar for kieky

@royspiegel Asking help via email is against forum rule. Please read the rules before posting again, in particular the 'keep it organized' one - '[B]Do not ask anyone (member or moderator) for help by email or PM[/B]'. If you hit 10 infraction points your account gets an automatic ban, so …

Member Avatar for kvprajapati
-1
126
Member Avatar for register86

Take a look at this thread to [URL="http://stackoverflow.com/questions/354664/executing-a-jar-on-vista-with-a-double-click"]fix[/URL] the [URL="http://stackoverflow.com/questions/394616/running-jar-file-in-windows"]file[/URL] association.

Member Avatar for kvprajapati
0
270
Member Avatar for mayank.dyl

Have a look at Eclipse documentation - [URL="http://help.eclipse.org/helios/topic/org.eclipse.wst.doc.user/topics/overview.html"]Web Tools Platform User Guide[/URL]

Member Avatar for kvprajapati
0
82
Member Avatar for nidhinpjustine

No worries! Steps: 1. Open VS2005/2008/2010 + Create New + WebSite 2. F5 or Debug Menu to run your dynamic web-pages (.aspx is dynamic webpage)

Member Avatar for kvprajapati
0
53
Member Avatar for mubin_attar

>What I want is that I want to copy that tables records in to excel sheet. Using VB.net or ASP .Net or VBA. Of course. You can use [URL="http://htmlagilitypack.codeplex.com/"]html agility pack[/URL] to parse html page.

Member Avatar for kvprajapati
0
101
Member Avatar for acehats

[QUOTE=acehats;1451804]hi can you help me? i need a code or the syntax on how to connect parallel port to vb.net please reply as possible, i need it badly. thanks'[/QUOTE] Take a look at - [url]http://www.codeproject.com/KB/vb/Inpout32_read.aspx[/url]

Member Avatar for kvprajapati
0
34
Member Avatar for simpleonline123

>My needs are that I need to access my website and log in to my account to check my stats. Classes of System.Net (WebClient, WebRequest and many more) are very handy to handle web request and responses but I'd suggest [URL="http://en.wikipedia.org/wiki/Web_service"]web-service[/URL] method. You may write some web-service methods and use …

Member Avatar for kvprajapati
0
124
Member Avatar for diagramatic
Member Avatar for rapaneda01
Member Avatar for omar isaid
0
164
Member Avatar for lanzslumber

Welcome to the Daniweb. Please use BB code tags while posting source program. Use (cast) operator. `Console.WriteLine("High = {0} {1}", myDiff, (int)myDiff ); `

Member Avatar for ddanbe
0
248
Member Avatar for emko

Try this, [code] fileName = "test.jpg" newFileName = "test.ico" Dim bmp as System.Drawing.Bitmap= System.Drawing.Image.FromFile(fileName, true) Dim ico as System.Drawing.Icon = System.Drawing.Icon.FromHandle(bmp.GetHicon()) Dim icofs as Stream = File.Create(newFileName) ico.Save(icofs) icofs.Close() [/code]

Member Avatar for emko
0
4K
Member Avatar for coroll

>Embedded statement cannot be a declaration or labeled statement Error says that embedded statement must be enclosed by {}. [code] foreach (Form form in Application.OpenForms) { if (form is productResults) { productResults pr =(productResults)form; } } [/code]

Member Avatar for kvprajapati
0
974
Member Avatar for NitendraTRIC

[QUOTE=NitendraTRIC;1450211]i m creating one project in vb.net i m taking database msaccess. i m able to insert update delete when i m taking single table.but i m facing problem with multiple tables which is related to each other how to define the relationship between tables in dataset and how to …

Member Avatar for prvnkmr194
0
185
Member Avatar for Ketsuekiame

Maybe you are looking for this - [url]http://msdn.microsoft.com/en-us/magazine/cc188710.aspx[/url] or [URL="http://code.google.com/p/elmah/"]this[/URL] for web-app.

Member Avatar for Ketsuekiame
0
103
Member Avatar for bhagawatshinde

@bhagvatshindhe ;-( What do you want from me? Do you really want to be ban? Please read the rules before posting again, in particular the 'keep it clear'. If you hit 10 infraction points your account gets an automatic ban, so it is worth obeying the rules if you want …

Member Avatar for bhagawatshinde
0
400

The End.