479 Posted Topics

Member Avatar for witinnovation

Check these links. [URL="http://www.simple-talk.com/dotnet/asp.net/implementing-waiting-pages-in-asp.net/"]Implementing Waiting Pages in ASP.NET[/URL] [URL="http://www.codeproject.com/KB/aspnet/wait_page.aspx"]Building a Better Wait Page[/URL] [URL="http://www.codeproject.com/KB/aspnet/WaitImageBoxWhilePagePost.aspx"]Lock ASP.NET Page and Show Animated Image While Waiting for a Long Post-Back[/URL]

Member Avatar for Sals
0
103
Member Avatar for KingSoso

If you want to use barcode scanner, you need to use a third party activex control which supports it. It will work in IE only. I believe you want to use barcode scanner in WinForms application. Please post the WinForms question in [URL="http://www.daniweb.com/forums/forum61.html"]C#[/URL] Forum in future. you will need different …

Member Avatar for Ramesh S
0
70
Member Avatar for praveenfds

The number of '?' in your DeleteCommand and UpdateCommand does not match with the number of parameters defined in DeleteParameters amd UpdateParameters collection.

Member Avatar for Ramesh S
0
162
Member Avatar for ninjaimp

When you run your application in VS 2008, it will run under your nt login credentials. But when you deploy your application in IIS 5.x in Windows XP, it will run under aspnet account and Network Service account in Windows 2003. Therefore the above accounts may not have access to …

Member Avatar for Ramesh S
0
78
Member Avatar for praveenfds

Try this. [CODE] DateTime startDate = new DateTime( 2004 , 3 , 18 ) ; DateTime endDate = new DateTime( 2004 , 3 , 22 ) ; int countDays = 0; DateTime dateIterator = startDate ; while( dateIterator < endDate.AddDays(1) ) { if( dateIterator.DayOfWeek != DayOfWeek.Saturday && dateIterator.DayOfWeek != DayOfWeek.Sunday …

Member Avatar for praveenfds
0
639
Member Avatar for dskumar_85

Take a look at the following links. [URL="http://terrymorris.net/bestpractices/"]Web Design Best Practices Checklist[/URL] [URL="http://searchenginewatch.com/3631829"]25 Design Best Practices for Your Small Business Web Site[/URL] [URL="http://econsultancy.com/reports/web-design-best-practice-guide"]Web Design Best Practice Guide[/URL] [URL="http://www.smashingmagazine.com/2009/01/12/10-useful-web-application-interface-techniques/"]10 Useful Web Application Interface Techniques[/URL]

Member Avatar for reach_shailshar
0
119
Member Avatar for firingnow

1. Check whether you have selected ASP.NET 2.0 Framework for your web site at IIS. 2. Also browse the site from IIS to check if its working. 3. If still get error, watch the error message displayed in the Event viewer. Post the error message here. It will help to …

Member Avatar for reach_shailshar
0
121
Member Avatar for vikas05nitb

Use Session.Abandon() method in the logout button. Once the Abandon method is called, the current session is no longer valid and a new session can be started. If you do not want to other users access the pages without login to system, you need to check the whether the user …

Member Avatar for Ramesh S
0
109
Member Avatar for carobee

1. Open VS 2008. 2. Click Help->About Microsoft Visual Studio menu You will see something similar to Microsoft Visual Studio 2008 Version 9.0.xxxx SP. Also you can see service pack details under the 'Installed Products' panel in the same dialog box. You can silverlight tools from the following link [URL="http://www.microsoft.com/downloads/details.aspx?familyid=9442B0F2-7465-417A-88F3-5E7B5409E9DD&displaylang=en"]Microsoft® …

Member Avatar for Ramesh S
0
76
Member Avatar for rahultorka

Check these links. [url]http://support.microsoft.com/kb/911716[/url] [url]http://support.microsoft.com/kb/917495[/url]

Member Avatar for Ramesh S
0
213
Member Avatar for jtok

You can declare like this. [CODE] Partial Class YourPage Inherits System.Web.UI.Page Dim txtbox1 As TextBox Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load txtbox1 = Wizard.ContentTemplateContainer.FindControl("textbox1") End Sub Private Sub YourMethod() Dim str1 As String str1 = txtbox1.Text End Sub End Class [/CODE] The variable is …

Member Avatar for jtok
0
128
Member Avatar for RAMAN2233

Hi Raman, Which database do you want to delete duplicate records? I may need to write an article for each database. For SQL Server, you ca find solutions in the following links. [URL="http://support.microsoft.com/kb/139444"]How to remove duplicate rows from a table in SQL Server[/URL] [URL="http://www.sql-server-performance.com/articles/dba/delete_duplicates_p1.aspx"]How to Identify and Delete Duplicate SQL …

Member Avatar for willopt_ric
-1
81
Member Avatar for dpreznik

Do you want to resize the columns of a GridView? ASP.NET GridView does not allow you to resize the columns by default. You need to extend the functionality programatically. Take a look at the following links [URL="http://blog.lavablast.com/post/2007/11/08/ASPNET-GridView-column-resizing.aspx"]ASP.NET GridView column resizing[/URL] [URL="http://mattberseth.com/blog/2007/08/creating_a_gridview_with_resiz.html"]Creating a GridView with Resizable Column Headers[/URL]

Member Avatar for dpreznik
0
942
Member Avatar for MxDev

Hi MxDev, Do you want to highlight mutiple strings in a TextBox controls or you want to highlight strings in multiple textboxes? You can't highlight multiple strings in a TextBox control. RichTextBox control will also not support multiple strings. But you can try your own implementation using RichTextBox.SelectionBackColor property. If …

Member Avatar for MxDev
0
125
Member Avatar for Ana D.

You can try like this. [CODE] protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Cells[2].Font.Bold = true; } } [/CODE]

Member Avatar for Sals
0
2K
Member Avatar for deepas

Hi Deepa, Find some sample projects here. [URL="http://www.asp.net/community/projects/"]Starter Kits and Community Projects[/URL] [URL="http://code.msdn.microsoft.com/Project/ProjectDirectory.aspx?TagName=C%23"]MSDN Code Gallery[/URL]

Member Avatar for Sals
0
196
Member Avatar for buffalo0

Pass the value as a query string from asp.net to php. Also refer this link: [URL="http://www.codeproject.com/KB/cs/IntegrationTips.aspx"]Tips to Make ASP.NET Talk to ASP, PHP, RAILS and JAVA (Part 1)[/URL]

Member Avatar for Ramesh S
0
109
Member Avatar for love_dude1984
Member Avatar for love_dude1984
0
91
Member Avatar for RAMAN2233

ASP.NET TextBox control has a built-in Tooltip property which displays the tooltip text when the mouse is over the control. If you want to implement a custom tooltip, refer this link. [URL="http://www.codeproject.com/KB/aspnet/textboxwithtooltipcontrol.aspx"]TextBox With Tool Tip Control Implementation[/URL] You can also try to use [URL="http://boxover.swazz.org/"]BoxOver[/URL]. It is open source tooll that …

Member Avatar for Dani
0
95
Member Avatar for mshravs

Check whether the data source (such as DataTable, DataSet) bound to the GridView has records by putting a break point. If DataTable has no records, then the GridView does not render anything.

Member Avatar for mshravs
0
266
Member Avatar for vuyiswamb

Hi vuyiswamb, Check the account under which the SQL Server instance is running. SQL Server instance is generally running under Local System/Local Servce/Network Service accounts which may not have access rights to the UNC path. Change that account to a domain user account which should have access to the UNC …

Member Avatar for Ramesh S
0
198
Member Avatar for Ana D.

Use this sample code [ICODE] using System; using System.Data; public partial class DemoCheckBoxList : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { //Bind CheckBoxList on page load if (!IsPostBack) BindCheckBoxList(); } private void BindCheckBoxList() { //You can load the following DataTable from a database DataTable dtBooks = new DataTable(); …

Member Avatar for alexymasilamani
0
772
Member Avatar for RAMAN2233

Do you mean ASP.NET Panel control or UpdatePanel? If ASP.NET Panel, it is rendered as DIV at run time. Apart from that there won't be any issues when displaying a CheckBoxList inside a Panel or without Panel. Check this code. .aspx code [CODE] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="DemoPage38.aspx.cs" Inherits="DemoPage38" %> …

Member Avatar for Ramesh S
0
106
Member Avatar for SAINTJAB

Try this. [CODE] using System; using System.Drawing; using System.Windows.Forms; using MySql.Data.MySqlClient; namespace MySqlDemo { /// <summary> /// Description of Form1. /// </summary> public class Form1 : System.Windows.Forms.Form { void btnCreateDB(object sender, System.EventArgs e) { MySqlConnection conn = new MySqlConnection("Data Source=localhost;Persist Security Info=yes;UserId=root; PWD=YourPassword;"); MySqlCommand cmd = new MySqlCommand("CREATE DATABASE YourDBName;", …

Member Avatar for Geekitygeek
0
514
Member Avatar for sandeepani
Re: GIS

ArcGIS is a suite consisting of a group of geographic information system (GIS) software products produced by Environmental Systems Research Institute (ESRI). ArcGIS provides the foundation for Microsoft .NET developers to rapidly build GIS applications for desktop, mobile, and Web and access GIS Web services on the Microsoft .NET platform. …

Member Avatar for Ramesh S
0
131
Member Avatar for dskumar_85

There are some free javascript plugins available over web. Try jQuery [URL="http://plugins.jquery.com/project/jquerylightbox_bal"]Lightbox Plugin[/URL] . Take a look at the demo site [url]http://www.balupton.com/sandbox/jquery_lightbox/[/url]

Member Avatar for Ramesh S
0
84
Member Avatar for ricksvoid

Try like this. [CODE] protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { SqlDataSource1.SelectCommand = "SELECT customerID, lname, fname, dateNow FROM dbo.customers ORDER BY lname ASC"; } } protected void SqlDataSource1_Init(object sender, EventArgs e) { SqlDataSource1.SelectCommand = String.Empty; } protected void Button1_Click(object sender, EventArgs e) { SqlDataSource1.SelectCommand = "SELECT …

Member Avatar for Ramesh S
0
236
Member Avatar for fawadkhalil

Visit this link-> [URL="http://www.xdevsoftware.com/blog/post/Hit-Counter-for-ASPNET.aspx"]Hit Counter for ASP.NET[/URL]

Member Avatar for fawadkhalil
0
100
Member Avatar for love_dude1984

Read this [URL="http://www.dotnetspider.com/resources/28002-Encryption-Decryption-using.aspx"]article[/URL].

Member Avatar for Ramesh S
-1
134
Member Avatar for michelle2025

I assume that you had created a WinForms application using VB.NET. ASP.NET is a platform for developing web sites using .NET. WinForms and ASP.NET differs in many things such as Architecture, Object model, Deployment etc. HTML page is basically used to display static information to the end users over web. …

Member Avatar for kvprajapati
0
835
Member Avatar for Ishbir

[QUOTE=Ishbir;1036725] In PHP, the equivalent would be- [code=PHP] $class->$member = "Blah, blah"; [/code] I can't figure out how this would be done in C#.[/QUOTE] Hi Ishbir, .NET have this feature. It is called [URL="https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=11&checkda=1&ct=1257401994&rver=6.0.5276.0&wp=MCLBI&wlcxt=msdn%24msdn%24msdn&wreply=http:%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Ff7ykdhsy%2528VS.71%2529.aspx&lc=1033&id=254354"]Reflection[/URL] in .NET. You can use reflection to dynamically create an instance of a type(class), bind the …

Member Avatar for sknake
0
161
Member Avatar for shine_jose

Try this. [CODE] ReportDocument cryRpt = new ReportDocument(); TableLogOnInfos crtableLogoninfos = new TableLogOnInfos(); TableLogOnInfo crtableLogoninfo = new TableLogOnInfo(); ConnectionInfo crConnectionInfo = new ConnectionInfo(); Tables CrTables ; cryRpt.Load("PUT CRYSTAL REPORT PATH HERE\CrystalReport1.rpt"); crConnectionInfo.ServerName = "YOUR SERVER NAME"; crConnectionInfo.DatabaseName = "YOUR DATABASE NAME"; crConnectionInfo.UserID = "YOUR DATABASE USERNAME"; crConnectionInfo.Password = "YOUR DATABASE …

Member Avatar for Ramesh S
0
466
Member Avatar for Moody1

Hi Moody, Post WinForms related questions [URL="http://www.daniweb.com/forums/forum61.html"]here [/URL] in future. Hope these links will help you. [URL="http://www.c-sharpcorner.com/UploadFile/scottlysle/PassData01142007013005AM/PassData.aspx"]Passing Data between Windows Forms - C# Corner[/URL] [URL="http://www.codeproject.com/KB/cs/pass_data_between_forms.aspx"]Passing Data Between Forms - CodeProject[/URL] [URL="http://shop-for-lexmark-printer.blogspot.com/2009/10/c-information-between-winforms.html"]C# Information Between WinForms[/URL]

Member Avatar for mailme.vibin
0
98
Member Avatar for capiono

You need to to get the Request.UrlReferrer if(!IsPostBack) in the Page_Load event and store it in the viewstate if your page perform postbacks. Sometimes the Request.UrlReferrer is null if you are using AJAX to call Response.Redirect. The UrlReferrer is based on the value of HTTP_REFERER header that a browser should …

Member Avatar for Ramesh S
0
125
Member Avatar for sakhi kul

[QUOTE=sakhi kul;1033356]Hi to all, I am using dataset to retrieve value from dataset but I can't do it, control automatically goes to next sentence without retrieving any value.. [code] Dim scd As Integer = ds.Tables("collage_detail").Rows(x)("sc") Dim cd As Integer = ds.Tables("collage_detail").Rows(x)("c_id") [/code] collage_detail is my table name .[/QUOTE] How do …

Member Avatar for Ramesh S
0
62
Member Avatar for love_dude1984

Try this. [CODE] Session.Abandon(); Response.Cookies.Add(new HttpCookie("ASP.NET_SessionId", "")); [/CODE]

Member Avatar for Ramesh S
0
163
Member Avatar for buddylee17

Can you please post your connection string? SQL Server standard edition does not support 'User Instance' clause in the connection string which is only supported in SQL Server Express Edition. Also do not attach *.mdffile to SQL Server database each time when your code is to connected. Refer this [URL="http://www.eggheadcafe.com/software/aspnet/30238042/appdataaspnetdbmdf-mss.aspx"]link[/URL].

Member Avatar for Ramesh S
0
369
Member Avatar for mshravs

The values for date_of_visit and floor columns are specified in wrong order in the VALUES clause. Also value is not specified for time_out column.

Member Avatar for mail2saion
0
129
Member Avatar for fawadkhalil

[QUOTE=fawadkhalil;1031277]Hello guys I have datagridview with each record containing a checkbox. I need to loop through the grid rows and get checkboxes that is being checked and also row numbers. There is also a delete button outside gridview.The above process should got executed on delete button click. Please provide some …

Member Avatar for fawadkhalil
0
439
Member Avatar for dfs3000my

You cannot assigne multiple data sources such as DataTables, SqlDataSources to the bound columns in a GridView. The data source should come from a single object. If your want to retrieve records from different database tables which reside in different servers, you need to write some logic to fetach data …

Member Avatar for Ramesh S
0
101
Member Avatar for rutaba

Try this code. [CODE] using System; public class Calculator { public static void Main() { int num1; int num2; string operand; float answer; Console.Write("Please enter the first integer: "); num1 = Convert.ToInt32(Console.ReadLine()); Console.Write("Please enter an operand (+, -, /, *): "); operand = Console.ReadLine(); Console.Write("Please enter the second integer: "); …

Member Avatar for Ramesh S
0
240
Member Avatar for akil007

Hi Akil, Read this article. [URL="http://www.devx.com/wireless/Article/38030/1954"]Windows Mobile: Communicating with the Outside World[/URL] Also refer this [URL="http://blogs.msdn.com/akhune/archive/2005/11/16/493329.aspx"]link[/URL] to deploy and test this application using emultor.

Member Avatar for Ramesh S
0
76
Member Avatar for love_dude1984

You can split a string into array of sub strings based on delimiter character such as space, comma. [code] string str = TextBox1.Text.Trim(); string[] temp = str.Split(' '); for (int j = 0; j < temp.Length; j++) { Response.Write(" This is index " + j.ToString()); Response.Write(" This is the string …

Member Avatar for carobee
0
167
Member Avatar for imughal

If you want to execute code such as opening a window at specified intervals, use [URL="http://www.asp.net/ajax/documentation/live/tutorials/IntroToTimerControl.aspx"]Ajax Timer[/URL] control.

Member Avatar for carobee
0
103
Member Avatar for xcorpionxting

[QUOTE=xcorpionxting;1026967]I am having a small problem... I can connect to a local MySql Database using: [CODE]SQLConn.ConnectionString = "Data Source=servername;" & _ "Initial Catalog=databasename;" & _ "User ID=username;" & _ "Password=userpassword;" [/CODE] Where servername is "localhost". I need to make a connection to an online database (same data structure). What should …

Member Avatar for xcorpionxting
0
95
Member Avatar for santhya123

Do you mean you want to retrieve the name of a column in a DataTable? If yes, DataTable.Columns[ColumnIndex].ColumnName return the name of the column specified by 'ColumnIndex'. For example, to retrieve the name of the 4th column from the DataTable object 'dtEmp', [CODE] String colName = dtBooks.Columns[3].ColumnName ; [/CODE] Note …

Member Avatar for sknake
0
120
Member Avatar for ricksvoid

Your dropdownlist bound to datasource for every submit. It should not be. You need to check IsPostBack property on load event before binding the DropDownList. Change your code as below [CODE] Protected Sub fillDropList(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not IsPostBack Then DropList1.DataSource = Membership.GetAllUsers() …

Member Avatar for ricksvoid
0
834
Member Avatar for culebrin

Refer this link: [URL="http://www.w3counter.com/globalstats.php"]Global Web Stats[/URL] You can also view the statistics for past period through "View archived reports" dropdownlist in that site. Refer this link also. [URL="http://en.wikipedia.org/wiki/Usage_share_of_web_browsers"]Usage share of web browsers[/URL]

Member Avatar for culebrin
0
173
Member Avatar for Anusha Rose

You can use Page.ClientScript.RegisterStartupScript to open a popup window from ASP.NET code behind. For example [CODE] protected void LinkButton1_Click(object sender, EventArgs e) { //Write some code here string url = "TestPage2.aspx"; ClientScript.RegisterStartupScript(this.GetType(), "newWindow", String.Format("<script>window.open('{0}');</script>", url)); } [/CODE]

Member Avatar for carobee
0
77
Member Avatar for Ramesh S

Hi Guys, I am searching for Open Source Finance scripts such as Account Payable, Account Receivable, General Ledget etc in PHP. But I could n't find a good one. Is there any such open source scripts in PHP available over the web for download? If so, could you please give …

Member Avatar for iloveoct
0
181

The End.