Posts
 
Reputation
Joined
Last Seen
Ranked #246
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
88% Quality Score
Upvotes Received
58
Posts with Upvotes
52
Upvoting Members
32
Downvotes Received
8
Posts with Downvotes
7
Downvoting Members
5
27 Commented Posts
~110.80K People Reached
Favorite Tags
Member Avatar for siddhesh123

Refer these links. [URL="http://msdn.microsoft.com/en-us/library/system.net.networkinformation.physicaladdress.aspx"]PhysicalAddress Class[/URL] [URL="http://social.msdn.microsoft.com/Forums/en-US/netfxnetcom/thread/1344dad4-dffe-486c-bf30-1b75d21fc9ba"]Get MAC address of client machine using C#[/URL] Also try this code snippet. [CODE] using System; using System.Windows.Forms; using System.Management; . . . private void button1_Click(object sender, EventArgs e) { ManagementObjectSearcher objQuery = null; ManagementObjectCollection queryCollection = null; try { objQuery = new ManagementObjectSearcher("SELECT * …

Member Avatar for JamesCherrill
0
2K
Member Avatar for santhanalakshmi

You can use a RegularExpression validation for this purpose. [code] <asp:TextBox ID="TextBox1" runat="server" /> <asp:RegularExpressionValidator ID="regExTextBox1" runat="server" ControlToValidate="TextBox1" ErrorMessage="Minimum password length is 10" ValidationExpression=".{10}.*" /> [/code]

Member Avatar for Sagar_7
0
2K
Member Avatar for mania_comp

Try this [URL="http://www.a2zdotnet.com/View.aspx?id=50"]link[/URL]. It describes how to send email using yahoo business account.

Member Avatar for Sree_1
0
1K
Member Avatar for MaheshChaterjee

Hi, Please provide more details about your requirements/issues in asp.net mvc. Also refer the following links if helpful. [Treatment of spaces-only input in ASP.NET MVC](http://www.yumasoft.com/node/152) http://stackoverflow.com/questions/4282572/asp-net-mvc-razor-extra-space

Member Avatar for Ramesh S
0
63
Member Avatar for Maideen

Hi, Put a breakpoint and step into the class in Visual Studio and try to find which line throws the error. Also check the field names enclosed in double quotes between lines 16 and 22 in your code.

Member Avatar for ashishggits
0
651
Member Avatar for akella2k9

The default features of asp.net server controls does not provide the functionalities which you speficied in your question. you need to put a lot of efforts to achieve what you want. Instead, you can look into the following third party components. [URL="http://www.infragistics.com/dotnet/netadvantage/aspnet.aspx#Overview"]Infragistics[/URL] [URL="http://www.telerik.com/products/aspnet-ajax.aspx"]Telerik[/URL] [URL="http://www.componentart.com/"]ComponentArt[/URL]

Member Avatar for vijayesh21
0
1K
Member Avatar for samcaleb05

Try the solution given in the following link. [URL="http://forums.asp.net/t/1356425.aspx"]Convert Viedo to .Flv Using c#.net on Web[/URL] Also refer this link. [URL="http://successontheweb.blogspot.com/2008/10/using-aspnet-to-convert-wmv-to-flv.html"]Using ASP.Net To Convert WMV To FLV Using FFMPEG [/URL]

Member Avatar for asp.c#
0
984
Member Avatar for mandar2886

Are you using older version of MS Access? If yes, check this link: [url]http://support.microsoft.com/default.aspx?scid=kb;EN-US;283881[/url]

Member Avatar for dilaram khan
0
236
Member Avatar for elpitiya

Hi, I Would suggest to use Entity Framework as it has many new features over ADO.NET. 1. In EF, objects are mapped with database tables. So you don't need to write stored procedures, queries in SQL to fetch data. You can use Linq queies against objects in C# which will …

Member Avatar for Ramesh S
0
207
Member Avatar for nitin.chambhare

Hi, Try to use satellite assemblies to implement this. Using satellite assemblies, you can place the resources for difference languages in different assemblies, and the correct assembly is loaded into memory only if the user elects to view that application in that language. [URL="http://msdn.microsoft.com/en-us/library/21a15yht%28VS.71%29.aspx"]Creating Satellite Assemblies[/URL] [URL="http://www.asp.net/(S(ywiyuluxr3qb2dfva1z5lgeg))/learn/videos/video-40.aspx"]Create a Multi-Lingual Site …

Member Avatar for sehhorng
0
463
Member Avatar for anuj_sharma

If you want to add Master Page to your existing web pages, the do the following things: 1. set the MasterPageFile property to your .master file name. 2. Remove the form tage from the child page if the master page already has the form tag. 3. Wrap controls in the …

Member Avatar for ShivaSaurabh
0
481
Member Avatar for pradeep.singh28

Setting the z-index property (HTML) using CSS can address this problem. The CSS class would look something like this: [code=css].adjustedZIndex { z-index: 1; }[/code] And the Menu should look like as below [code]<asp:Menu ID="Menu1" runat="server"> <DynamicMenuStyle CssClass="adjustedZIndex" /> </asp:Menu>[/code] The z-index has to be something higher. Some fixes have been …

Member Avatar for doctor_nasir_c
0
474
Member Avatar for darrinkeller

Hi, Hope the following links will help you. [URL="http://stackoverflow.com/questions/543179/how-do-i-use-htaccess-to-redirect-an-aspx-page-to-a-php-page"]How do I use .htaccess to redirect an aspx page to a php page?[/URL] [URL="http://stackoverflow.com/questions/4661591/redirect-any-page-that-has-an-aspx-ending-to-a-new-url"]Redirect any page that has an .aspx ending to a new url.[/URL]

Member Avatar for JorgeM
0
515
Member Avatar for f_atencia

Hi, Does this error occur in IIS or Visual Studio? If IIS, which version are you using? or are you opening a web site from IIS in Visual Studio? Please provide more details. This will happen if you run the web application from IIS and the application pool is set …

Member Avatar for JorgeM
0
124
Member Avatar for rubenrav

Hi, If you just want to show different light color based on the information logged into database by the device, you can just try to use <img> html tag with images for each color. Try the following steps: 1. Display an image in <img> tag in an asp.net page. Have …

Member Avatar for Ramesh S
0
601
Member Avatar for mancode1007

The error could be occured in the following line. `Dim gender As Integer = Convert.ToInt32(e.Row.Cells(5).Text*)` Put a breakpoint and see if the value of **e.Row.Cells(5).Text** is a number or empty string. It seems the index of the data cells(GridView column) may not be 5 or returns a non numeric value …

Member Avatar for Ramesh S
0
207
Member Avatar for minbor

Try this code. .aspx code [CODE] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="DemoPage32.aspx.cs" Inherits="DemoPage32" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> Quantity : &nbsp;&nbsp;&nbsp; <asp:TextBox ID="txtQuantity" runat="server"></asp:TextBox><br /> Date : &nbsp;&nbsp;&nbsp; <asp:TextBox ID="txtDate" runat="server"></asp:TextBox> <asp:CustomValidator ID="cvValidateDate" runat="server" ErrorMessage="Date must …

Member Avatar for absb
0
143
Member Avatar for yash777

Check these links: [url]http://archive.devnewz.com/2004/0127.html[/url] [url]http://www.codeproject.com/KB/custom-controls/ewcounter.aspx[/url]

Member Avatar for mirzamujib
0
167
Member Avatar for shailaja mohite

Hi, Hope the solution given in the following link will help you. [URL="http://stackoverflow.com/questions/5018044/asyncfileupload-postback-causes-double-upload"]AsyncFileUpload postback causes double upload[/URL] Someone has reported the same issue in CodePlex site [URL="http://ajaxcontroltoolkit.codeplex.com/workitem/26889"]here[/URL]. But it is closed as the issue cannot be reproduced.

Member Avatar for crishlay
0
265
Member Avatar for gnl74

Hi, Check if the web.config file has references to both 10.0.0.0 and 9.0.0.0 versions of ReportViewer control. If it contains, remove the unwanted version details and try again. Create a new website/web application, add reference to the appropriate version of ReportViewer control and take a look at the entries that …

Member Avatar for gnl74
0
433
Member Avatar for denmarkstan

Hi, You can try to use GridView to display records in tabular format and on clicking a link in the GridView, Use a FormView to display the details of the row clicked. Please look at the following links. [URL="http://www.codeproject.com/KB/aspnet/GridViewFormView.aspx"]GridView-FormView (Master/Detail) Control[/URL] [URL="http://www.asp.net/general/videos/lesson-8-working-with-the-gridview-and-formview"]Working with the GridView and FormView[/URL]

Member Avatar for Ramesh S
0
77
Member Avatar for fawadkhalil

Hi, Set the defaultbutton property in the <form> tag to the ID of button that should get fired when user press enter key to submit the form. For example, [CODE] <form id="form1" runat="server" defaultbutton="btnLogin"> [/CODE]

Member Avatar for Ramesh S
0
137
Member Avatar for Muhammad Nauman

Hi, If you are using third party components such as [URL="http://cutesoft.net/asp.net+chat/"]CuteChat[/URL] they will offer the API to maintain and display the list of users entered the chat room. If you build your own chat application, you need to maintain the user list in Session or Database or XML file. Check …

Member Avatar for Ramesh S
0
153
Member Avatar for karthik.net87

Hi, Please refer the following link. [URL="http://www.codeproject.com/KB/webforms/MultiFeatureGridView.aspx"]GridView with an AJAX rating control, DropDownLists, JavaScript to enable/disable rows - an exercise[/URL] Also 'Urgent' is not a meaningful title for a thread. Please keep the thread title brief and descriptive.

Member Avatar for Ramesh S
-1
92
Member Avatar for johny2011

Hi, No web.config is found in the sample project downloaded from the above link. You need to add a web.config and add connection string as below: [CODE] <connectionStrings> <add name="NorthwindConnectionString" connectionString="Data Source=serverName;Initial Catalog=Northwind;User ID=userName;Password=password" providerName="System.Data.SqlClient"/> </connectionStrings> [/CODE] You need to specify the correct server name, database, user id and password …

Member Avatar for johny2011
0
205
Member Avatar for shailaja mohite

Hi, You are creating the <tr> within the for loop. Thus it creating multiple table rows. Try to put it before the for loops.

Member Avatar for dnanetwork
0
358
Member Avatar for vishalrane

Hi, 1. On page load, Fill a DataTable with records retrieved from Database. 2. Store the DataTable in Session. Also bind the DataTable to the GridView. 3. In the Edit/Update events, Get the DatatTable from Session, Update/Edit the appropriate record in the DataTable, Store it in Session again, Re-bind the …

Member Avatar for dnanetwork
0
110
Member Avatar for Lemorlenny

Hi, Declare the Connection object myConn before the try clause and initialize it within the try. I suggest to change your code as follows: [CODE] protected void Names() { OleDbConnection myConn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=e:\\project\\Db.mdb"); OleDbDataReader myReader = null; string strQuery = "SELECT TOP 1 Name FROM Names"; try …

Member Avatar for Lemorlenny
0
96
Member Avatar for Johan Schmidt

Hi, Perform the following steps and try again. 1. Login to the system using local administrator account. 2. Add your site to the 'Trusted sites' list. IE->Tools menu->Internet Options->Security tab. 3. Enable UAC at the default level. 4. Reboot if required.

Member Avatar for Ramesh S
0
113
Member Avatar for Sinha's

Hi, I don't think that the issue occurs due to the server setup and hosting. Because you are saying that the chain commission calculation is skipped only for few cases. The code may not be handling all the scenarios to perform the calculation. Where do you handle the calculation? In …

Member Avatar for Ramesh S
0
188