13,153 Topics
![]() | |
Guys i have a textbox where user enters a telephone number , i need to check in the database whether there a same telephone number in the database already , i want this to happen as soon as the textbox looses focus without posting back , is there any way … | |
I am looking to encrypt data (preferably XTEA) on my .Net Micro Framework, send it to a webservice in .Net (Azure) and decrypt it there. I found this [URL="http://www.dmcinfo.com/Blog/articleType/ArticleView/articleId/83/Encryption-Compatibility-Between-NET-Micro-Framework-and-the-Full-NET-Framework.aspx"]blog post[/URL] but I am unable to get it to work. The encryption result on .Net differs from the .NetMF. I hope … | |
hi all I need help plzzzzzzzzzzzzzzzz my project uses asp.net and sql database I use treeview to insert and retrieve hierarchical data from the database I used the following code the problem is when I added the code for the retrieval the insertion has a problem where I can't add … | |
Please help me i do not want to show successfully message in again insertation in page. [CODE] protected void Button1_Click(object sender, EventArgs e) { try { string constr; constr = WebConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; SqlConnection con = new SqlConnection(constr); con.Open(); string str = "insert into Doe_detail values('" + TextBox1.Text + "','" + TextBox2.Text … | |
Hi friends., Actually I use datagrid to show my result from XML file.I load my data from XML file easily.But i need Sorting method for that and i don`t know how to solve it Please give me solution for that My code is [CODE] Imports System.Data Imports System.Xml Imports System.IO.StringReader … | |
Hi, I am studying .net. I need a code to enter data into database from a website... please help... thank you. :) | |
Hi, I am using following code that is working for mostly images but i have some special kinds of images which have italic text and tiff extension. in that case code is not working. Code:: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using … | |
How to make a tabbed web browser that uses Webkit.Net in WPF? And if possible, please include codes. And by the way, is it possible to embed a javascript engine in vb.net? | |
Hi guys need urgent help. I am making a youtube downloader that downloads two or more videos from Youtube at the same time and I don't how to do it using System.Net.Webclient in C#.Net. Please post a code snippet. HELP! | |
hello people, I am working on a asp.net project using c# where i need display 1 or more tabs on a web page based on selection of item from drop down list.I am planning to use multiview menu control to give a feel of tabs on web page. can you … | |
Hi, This code checks the availability of username from the database. | |
Hi, I am working over a ASP .NET application and SQL server database. The databases i m using is huge and takes time while updating or generating report by my ASP .NET application. As the reporting and updating require some calculation, if the user presses ESC button or Back button … | |
Hello all. I am building a webform and need some validation on radiobuttonlists but I am really stuck and struggling. I need to use a customvalidator with some javascript. I've been working on this for some time and can't get it to work. Help! The logic goes like this: * … | |
![]() | Am trying to retrieve the original image from the database on clicking the thumbnail image in the grid view, but the image retrieved is getting displayed in the byte format, Can anyone help me......................... Here is the code <%@ WebHandler Language="C#" Class="FullImage" %> using System; using System.Web; using System.Data.SqlClient; using … |
Hi all I have used chart control in asp .net using datavisualization.dll. I just want to know the possibilities of getting paging in the chart control. Or else is there any other way. Can anyone help me Regards jeyakumar | |
how can I set custom no of records to display in datalist view....tq | |
Hi all, I am trying to get the all the process modules from the Current process using "ProcessModuleCollection" Class. Please see the code i have used to do the above job. Before that I added a .net 2.0 my own dll to the project as reference. I am able to … | |
Guys I am stuck with a problem and want your genuine suggestion.. Actually the problem is that i am trying to send a mail using c#.net.. There is no issues while sending mail but when i try to include an attachment with it is not taking the path of the … | |
I have the following code for connecting to an Oracle DB [code] using Oracle.DataAccess.Client; // C# ODP.NET Oracle managed provider OraDb= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=ORASRVR)(PORT=1521)) ) (CONNECT_DATA= (SERVER=DEDICATED) (SERVICE_NAME=ORCL) ) ) string oradb = "Data Source=//192.168.100.108;User Id=hr;Password=hr;"; // C# string oradb = "Data Source=(DESCRIPTION=" + "(ADDRESS=(PROTOCOL=TCP)(HOST=ORASRVR)(PORT=1521))" + "(CONNECT_DATA=(SERVICE_NAME=ORCL)));" + "User Id=hr;Password=hr;"; … | |
Hi, I am working on a project to manage information of our faculty from ASP.net in C#. There are profiles for lecturer,student and department head. When Admin set privileges to do tasks Eg:edit student details, this should be appear only in the lecturer profile as a links to edit those … | |
[CODE]public Int32 SQL_GetMaxValue(string TableName, string FieldName) { return SQL_GetMaxValue(TableName, FieldName, ""); } public Int32 SQL_GetMaxValue(string TableName, string FieldName, string WhereCondition) { try { string SQLString = "SELECT MAX(" + FieldName + ") FROM " + TableName; if (WhereCondition != "") { SQLString += " WHERE " + WhereCondition; } objCN.Close(); … | |
Hello All, Actually I am facing issue in creating an ASP.net application. I have created a project in VB.net but now my seniors are saying that the code should be in ASP.net and it is taking hell lot of time for code conversion, designing and all other stuff. Actually I … | |
Hi.. I am working on an project(asp.net C#) where i need to implement search within the website where i would like too retrieve the search results based on their links.. Can anyone help me?? | |
I have a DataGridView containing information of cities of the world. User can retreive records and insert record of cities from DataGridView. Since every city is associated with a country, therefore in order to insert a new city user must insert country information too. For this purpose, i have created … | |
stored procedure ALTER PROCEDURE [dbo].[arun] AS BEGIN select 'live the code' END using the sqldatareader string firstName=""; string connectionString = @"Server=AKBT-TM;Database=masterregister;User ID=sa;Password=turner;"; using (SqlConnection conn = new SqlConnection(connectionString)) { using (SqlCommand cmd = new SqlCommand("dbo.arun")) { cmd.CommandType = CommandType.StoredProcedure; //cmd.Parameters.Add(new SqlParameter("@LastName", "Alexander")); conn.Open(); cmd.Connection = conn; using (SqlDataReader rdr = … | |
#region Get Cart if (Session["MyCart"] != null) { if (Session["MyCart"].GetType().Name.StartsWith("List")) { cart = (List<Cart>)Session["MyCart"]; } } city.ShippingCharges = Common.ConvertToDecimal(ordersAddress.ShippingCity); liCity = (from sc in liCity where sc.ShippingCharges.Equals(city.ShippingCharges)select sc).ToList(); //liCity = (from sc in liCity where sc.Name.Equals(ordersAddress.ShippingCity) && sc.StateID.Equals(ordersAddress.ShippingStateID) select sc).ToList(); int TotalItem = 0; foreach (Cart c in cart) { … | |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="modalwindow._Default" %> <!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>arun</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript"></script> </head> <body> <form id="form1" runat="server"> <!-- Begin modal window --> <div class="boxes"> <!-- Container Div --> <div style="height:auto !important;padding-bottom:50px;margin-top:25px" id="test" class="window"> … | |
m receiving the following error while publishing my site on iis. Please help. I have also attached the screenshot Server ErrorInternet Information Services 7.5 Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed … | |
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 17: public partial class home : System.Web.UI.Page Line 18: { Line 19: SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["con"].ConnectionString.ToString()); Line 20: protected void Page_Load(object sender, EventArgs e) Line 21: { Source File: e:\0\2\17\38\2669038\user\2930392\htdocs\home.aspx.cs Line: 19 Stack … |
The End.