5,691 Topics

Member Avatar for
Member Avatar for dinesh.isuranga
Member Avatar for KushMishra

Hello to all, I've written this thread because I want to know the different content types used like................. [CODE] Response.AddHeader("Content-Type", "Application/octet-stream"); [/CODE] It was used for software and It was successful........But what for Music,Pictures and E-Books ??????????? Thanks in advance...........

Member Avatar for dnanetwork
1
108
Member Avatar for paslanmaz

How can I make this code asp.net [CODE] If InStr( Request.ServerVariables("HTTP_REFERER"), "google") > 0 Then KeyURL = Request.ServerVariables("HTTP_REFERER") ' Remove all up to q= KeyLen = Len(KeyURL) kStart = InStr( KeyURL, "q=" ) kStart = kStart + 1 KeyRight = KeyLen - kStart Keyword = Right( keyURL, KeyRight ) ' …

0
67
Member Avatar for KushMishra

Hello guys, I'm a newbie to asp.net....I've recently designed a website in which I've taken a gridview control and added a [B]button in the itemtemplate[/B] field of the gridview........What I want is that if anyone clicks on this button then the data in the particular row of the gridview comes …

Member Avatar for dnanetwork
1
210
Member Avatar for saurabhvaze

Hi, We are using the ReportViewer control to display SSRS reports in our ASP.NET application. On pages where we use the ReportViewer control the session does not time out. The reason for this is the ReportViewer control emits a "setTimeOut" javascript function which reads the Session timeout value from the …

0
53
Member Avatar for ghost_from_sa

Hey guys, Im doing an assignment I want to be able to read a text file (one of 2 choices) that have either the latest entry or all entries based on a drop down menu. can you guys please give me some guidance here. The files are submitted using asp

0
87
Member Avatar for murali krishna.
Member Avatar for kvprajapati
0
28
Member Avatar for rambok4

What is the problem with the following login code? [code] Dim conn As SqlCommand = New SqlCommand("Data Source=RAHUL-034890AF0\SERVER2005;Initial Catalog=user_accounts;Integrated Security=True") conn.Prepare() Dim command As Data.SqlClient.SqlCommand = New Data.SqlClient.SqlCommand("select", conn.Connection) command.Parameters(1).Value = txtusername.Text command.Parameters(2).Value = txtpass.Text Dim i As Integer = command.ExecuteNonQuery conn.BeginExecuteNonQuery() If Page.IsValid Then Response.Redirect("~/salesbill.aspx") Else Lblerror.Text = "Username …

Member Avatar for kvprajapati
0
240
Member Avatar for zilonox

First, let me start off by saying I am using ASP.NET 2.0 with VB as the default language using Visual Studio 2005. I have a form that has an asp:panel on it that is seeded with an iniitial control. Through the use of the form, additional controls may be dynamically …

Member Avatar for zilonox
0
461
Member Avatar for Hammond

I'm having troubles getting a userlogin validation up and running. The login itself works fine, but i need some form of errorhandling on logging in with wrong credentials. My code so far looks like this: [CODE]<%@ Master Language="C#" MasterPageFile="/masterpages/PageWithoutLeftmenu.master" AutoEventWireup="true" %> <%@ Import Namespace="System.ComponentModel" %> <script runat="server"> void OnLoginError(object sender, …

Member Avatar for Hammond
0
299
Member Avatar for AlanWarren

Hello Having, on a local development machine, successfully configured DCOMCNFG to allow an ASP.NET application to launch a Microsoft Word document using COM Interop, I am now experiencing problems with the configuration on a network test server. The problem is that when clicking the “Launch Word Document” button from within …

0
51
Member Avatar for nickbeare

Hi, I am a JSP newb. I have been scratching my head over this for a while. My task: to construct a POST and to read the response that comes back. I have been provided with some kits that illistrate how to do the job in ASP, ASP.NET and PHP, …

Member Avatar for ~s.o.s~
0
149
Member Avatar for kellyburby1
Member Avatar for rpgwebsolutions
Member Avatar for ashu2409

Hi, I am trying to upload a large xml file (around 500 MB) on ftp location,but i am getting this error--- it works fine upto 250 MB file The underlying connection was closed: An unexpected error occurred on a receive. i am getting the error on this line:- `" Stream …

Member Avatar for dnanetwork
0
172
Member Avatar for jamshed ahmed

[CODE] here is java script code function ShowMsg() { if(document.getElementById("txtVerifierName").value=="") { alert("PLEASE ENTER VERIFIER NAME.."); return false; } <asp:Button ID="btnAdd" runat="server" Text="ADD" OnClientClick="ShowMsg()" onclick="btnAdd_Click" /> [/CODE] NOW THE PROBLEM IS THAT WHEN I CLICK THE BUTTON, IT SHOWS THE MESSAGE THAT PLEASE ENTER VERIFIER NAME BUT EXECUTION DOESN'T STOP THERE, …

Member Avatar for jamshed ahmed
0
223
Member Avatar for renu_kj

Hi I'm accessing a webservice from my website which returns results thru an XML file which works fine on IE. But Firefox doesn't allow CROSS DOMAIN XmlHttpRequests. so i googled to find a solution to make it work on Firefox and got this url which seems to be a good …

0
77
Member Avatar for bhaskarbabar51

I want this code to work as if [flag==0] then set seatcount to 1 else provide me a message that seat is booked but it does not give me proper response it works for seatcount==1 & shows meassage that its booked but for seatcount==0 then also it provide same message …

Member Avatar for dnanetwork
0
150
Member Avatar for Vampdee

I have an ASP application that we ported from one Webhosting company to another. The application was written several years ago by developers that are long out of reach and it formerly used ASPMail version 4.x for its sendmail routine. The new hosting company has persits libraries instead and I …

0
51
Member Avatar for jenroar

Hello! I have been regularly updating a website for a client, but I really only work in HTML or Flash. The client has a problem with the ASP side of their site, and has asked me for help. I don't really know anything about databases or query languages, and I'm …

Member Avatar for bhartman21
0
231
Member Avatar for jarceri

ASP.NET Web Project... "Not Web Application", though it might not matter. Normal MasterPage - > Site.Master Forms Authentication Enabled in the Web.Config file [CODE] <authentication mode="Forms"> <forms loginUrl="/Account/Login.aspx" name="aspNetForm" cookieless="UseCookies" domain="www.localitgeeks.com" path="/" defaultUrl="Default.aspx" slidingExpiration="true" timeout="30"/> </authentication> <authorization> <allow users="*"/> </authorization> [/CODE] Ok so that is the Web.config goo for ya. …

Member Avatar for jarceri
0
131
Member Avatar for Agent Cosmic

What I want to know is the difference between the development, scalability and cost of ASP.NET(C#) and Java. I know that in most cases Java is slower than C#. But how much slower? I also know that to run .NET we need Windows(excluding Mono). Will the cost of the license …

Member Avatar for kvprajapati
0
143
Member Avatar for coollife

i want to convert HTML page into asp.net , i tried changing the extension and saving it as .aspx . It worked but most of the options didnt work apart from images like submenus, links and other things so i want to know how to fully convert an html page …

Member Avatar for kvprajapati
0
241
Member Avatar for Shanny Chong

can anyone tell me how to print out datagrid to paper using web control? i am using asp.net in vb.net.... is it need to use javascript to write at the html part? can someone kindly teach me pls? i need to know the print function....thanks...

Member Avatar for arrowgunz
0
89
Member Avatar for farsen

Hi. I have this UpdatePanel with som boundfield content. In this panel, there is an edit link, which will edit the content. It works fine. Now I want to make all the boundfields clickable as a link, so they act as the edit button. In that way, I dont have …

Member Avatar for dnanetwork
0
2K
Member Avatar for murugavel84

Hi friends, I am facing this problem while adding a panel to another panel. Please give me the solution. I have put my code below. [CODE] Dim pan As Panel = DirectCast(UserControlTest1.FindControl("Pan_ItemBind"), Panel) pan.Controls.Add(Panel1)[/CODE] Thanks in advence...

Member Avatar for jarceri
0
172
Member Avatar for cryptics

I've got a form prepopulated from a row in a database (grabs the querystring from the URL to determine the row) and this works fine. I'm using the pageload function on the code-behind file to do this. The button onclick has a function that is supposed to take the data …

Member Avatar for cryptics
0
71
Member Avatar for ameyanatu

Hi Folks can any one give me simple file upload then retrieve code?? and is there any solution to SQL injection?????

0
47
Member Avatar for cjmartin

I have two ASP pages. First one is a basic input form. The second one is just vbscript that I use to process the data. It is an INCLUDE file on the first page. What I need to do is once the second asp page is done processing or an …

0
77
Member Avatar for Moemasri

Dear all am new in programmimg this is my next year at the university the tutor asked us to make an asp.net project about e-learning, he wants toopen a web page and a must play showing a video, i searched on the net and i downloaded a flash control.dll file …

Member Avatar for dnanetwork
0
97
Member Avatar for Slade

This article will inform you more about forms Authentication using ASP .NET and Visual Basic .net (VB .NET). Before I continue I must stress that the web.config is xml and must be used with extreme sensitivity in mind. All tags must be closed etc. or else you will end up …

Member Avatar for kvprajapati
0
3K
Member Avatar for nike123

what exactly do i need a webhosting company for, is it just simply to run my asp pages, if am unable to do so from my computer?

Member Avatar for btesfaamlak
0
158
Member Avatar for questionary

Hi, how can I display on a single page(View) data from two tables in my db? In my project the model is *.edmx file. i have two table one with categories, and the second one with products. All I want to do is to display on home page(view) in left …

0
57
Member Avatar for abhay1234

heres the code [code] <%@ Page AspCompat ="true" %> <html xmlns="http://www.w3.org/1999/xhtml" > <body> <% dim adoconn Dim rsnikhil dim ssql%> <%adoconn = Server.CreateObject("ADODB.Connection")%> <%adoconn.Open("Provider=Microsoft.Jet.OLEDB.4.0;DataSource=c:\nikhil.mdb;")%> <% rsnikhil = Server.CreateObject("ADODB.Recordset")%> <%ssql = "SELECT * FROM kulkarni" rsnikhil.open(ssql, adoconn) %> <% Do While not rsnikhil.EOF Response.Write(rsnikhil("name")) Response.Write(rsnikhil("comments")) rsnikhil.MoveNext loop %> <% rsnikhil.close() rsnikhil …

0
56
Member Avatar for am_dumb

hi all,... iam newbie here. i want to make video conference using ASP.NET & C#. my application is web based. its possible....??? please, if you have know article or anything its help to me... thanx friends..... :mrgreen:

Member Avatar for kvprajapati
1
179
Member Avatar for ans2007kumar

I want to declare a integer variable in global scope but do not want to that its value become 0 every time the page is post-back [CODE]using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; …

Member Avatar for rohand
0
135
Member Avatar for sufax

I am trying to build a web application where users can review new projects each week. I have built an asp page with a table that is filled with summary information from a database about each project. I have included an onclick event in each cell that opens a detail …

Member Avatar for sufax
0
87
Member Avatar for ndhamecha

hi would you please help me in retrieving values related to user select a country then its automatically shows the states name of that country in next dropdownlist and after that it will automatically display the city names respected to that country.. please do the needful.its really very urgent thank …

Member Avatar for Ramesh S
0
96
Member Avatar for Trogan

Hi, I need to create a data-driven log-in form with different permission levels using classic ASP and MS Access. It is intended for a HR Company. What I'm trying to achieve is something like the following: [QUOTE]Manager - all access/permission Staff 1 | Staff 2 | create, edit and delete …

Member Avatar for WebspoonUK
0
111
Member Avatar for mikehaddad

hi i'm new to asp.net and i have create a simple asp.net pages loging page and registration page with simple access database. and i have HTML page that has left frame where the links in it are one will open the loging page and the other one will open the …

Member Avatar for kvprajapati
0
118
Member Avatar for sseo

I'm relatively new to programming. Problem: I'm creating an ASP.NET app the needs to read a CSV file and filter the data. I searched the net and only found classic ASP examples or all DB driven examples. Does anyone have sample code. Or is there any other suggestions on how …

Member Avatar for kvprajapati
0
1K
Member Avatar for kau14

Plz Help Me In This Regard Am useing Ajax Control 1)ToolkitScriptManager1 2)AutoCompleteExtender i created web service as Follows Imports System.Web Imports System.Web.Services Imports System.Web.Services.Protocols Imports AjaxControlToolkit Imports System.Data.SqlClient <System.Web.Script.Services.ScriptService()> _ <WebService(Namespace:="http://tempuri.org/")> _ <WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _ <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Public Class AutoComplete Inherits System.Web.Services.WebService Private ReadOnly Property ConnectionString() As String Get Return "Server=.\SQLEXPRESS;Database=testproj;Trusted_Connection=True" …

0
99
Member Avatar for rohitmanhas_12

hi, i had to make a asp.net form in which i had three columns ... 1:- for Date of registeration 2:- Date of birth 3:- Time of Birth.... and using c# insert these values into microsoft SQl database... cud anyone give me the code,to do it.....

Member Avatar for kvprajapati
0
198
Member Avatar for Vampdee

I have a client whose hosting provider dissappeared. He has an old ASP (read: Pre-.net) site and I need to get the site online at a new provider. TO start, I am trying to run it internally to make sure I know how to make it work. I have a …

Member Avatar for WebspoonUK
0
138
Member Avatar for davidcrossan

hi there i am building a one page website that i need query data from an access database (visual studio 2008 c# xml). I need to do a sql query displaying customers with possible bookings if any. I have been able to display all customers details but i am finding …

Member Avatar for Mohtshm
0
156
Member Avatar for php_noob

is there a script or maybe you have resources for a ASP.NET MAILER like PHPMAILER. Thanks!

0
91
Member Avatar for nirveshverma

hi I am facing problem in connection of sql server in asp.net pages Actually there is error when i importing namespace [B]System.Data.Sqlclient[/B] [B] Error is:[/B] The type or namespace name 'sqlclient' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) now i don't idea that what …

Member Avatar for nirveshverma
0
233
Member Avatar for Sparky89

Hy everyone, I got a problem with doin a sum of a column where are only "int" datas, I get those data from Sql Db with a Sql Data Source and use that sds with a nested gridview. I tried with select sum() but it for each employer i get …

Member Avatar for Sparky89
0
205
Member Avatar for dhanamsara
Member Avatar for khan17

hi, i want to programmatically click a link on a asp.net web site. first i ve navigated to that website and i ve got a code from some other website [CODE]For i As Integer = 0 To Me.WebBrowser1.Document.Links.Count - 1 If Me.WebBrowser1.Document.Links(i).InnerHtml.StartsWith("Learn HTML") Then Me.WebBrowser1.Document.Links(i).InvokeMember("Click") End If Next[/CODE] but i …

Member Avatar for khan17
0
518

The End.