13,153 Topics

Member Avatar for
Member Avatar for pritaeas

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 …

Member Avatar for pritaeas
0
201
Member Avatar for UndoRejected

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 …

0
189
Member Avatar for goltu

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 …

Member Avatar for sufyan2011
0
86
Member Avatar for mani-hellboy

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 …

Member Avatar for mani-hellboy
-1
122
Member Avatar for aruabc

Hi, I am studying .net. I need a code to enter data into database from a website... please help... thank you. :)

Member Avatar for aruabc
0
103
Member Avatar for Pankaj18

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 …

0
57
Member Avatar for earlybirdsean

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?

0
80
Member Avatar for earlybirdsean

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!

Member Avatar for earlybirdsean
-2
123
Member Avatar for shireesha1

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 …

Member Avatar for partha.asp
0
1K
Member Avatar for pinkygirl
Member Avatar for EBS.VivekGupta

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 …

Member Avatar for EBS.VivekGupta
0
171
Member Avatar for rosiedoon

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: * …

0
88
Member Avatar for Dharshika

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 …

0
52
Member Avatar for Balasubramaniam
Member Avatar for kgkamaraj21

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

0
55
Member Avatar for arifwahab
Member Avatar for sudheer2250

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 …

Member Avatar for sudheer2250
0
362
Member Avatar for geniusvishal

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 …

Member Avatar for kamilacbe
0
441
Member Avatar for jmapepa

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;"; …

Member Avatar for kamilacbe
0
230
Member Avatar for pimzy

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 …

Member Avatar for pimzy
0
139
Member Avatar for mastanasp

[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(); …

Member Avatar for mani-hellboy
-1
90
Member Avatar for poojavb

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 …

Member Avatar for poojavb
0
213
Member Avatar for bhagyap

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??

Member Avatar for mani-hellboy
0
172
Member Avatar for nomee919

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 …

0
92
Member Avatar for weblion

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 = …

-2
50
Member Avatar for yatin chauhan

#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) { …

Member Avatar for mani-hellboy
0
222
Member Avatar for weblion

<%@ 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"> …

-3
58
Member Avatar for Shillz

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 …

Member Avatar for Shillz
0
604
Member Avatar for id786

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 …

Member Avatar for kamilacbe
0
118
Member Avatar for geniusvishal

Guys this thread is basically for the beginners who want to learn ASP.NET from the very beginning.. Plz give your valuable suggestions and kindly provide appropriate answers for the queries...

Member Avatar for mani-hellboy
0
348

The End.