Parameterized query with WHERE .. IN.. function

589 byte By ask4help at 2007-11-25 6:07:55
Hi all,I encountered a problem when selecting using WHERE ... IN ... function.The sql statement is as below:"select * from table where id in (@id)"id column is of integer data typeI passed in a string "1,2,3" into parameter @id, and I get an error saying "Convertion failed when converting nvarchar v...

TemplateColumn column of datagrid

1002 byte By meenakshi_joshi09 at 2007-11-25 6:08:06
Hi to all,I have a datagrid control in my asp.net application. There are two TemplateColumn in my datgrid first is having textbox control and second is having a button control.Now I want that data retrived from the database should be displayed in textbox and on clicking that button control record of...

TemplateColumn column of datagrid

1029 byte By meenakshi_joshi09 at 2007-11-25 6:08:07
Hi to all,I have a datagrid control in my asp.net application. There are two TemplateColumn in my datgrid first is having textbox control and second is having a button control.Now I want that data retrived from the database should be displayed in textbox and on clicking that button control record of...

Pls Help With Login Code

1632 byte By sumithsumith at 2007-11-25 6:08:39
Hi Friends, I am very new to .net field.now i am working with c#.net 1.1 and sql server.I want to check whether the user is genuine or not..he/she must be restricted to enter the wrong username/password for more than three times.how to do this?/\I have written the code like this,to check for the...

How To Play Audio In C#.net

182 byte By sumithsumith at 2007-11-25 6:08:40
Friends,<br/> i am working with c#.net 1.1 and sqlserver.<br/>i want to play a midi file,when i select one songname from a datagrid.how to do this??<br/>can anyone help me??

Web service optimization

545 byte By Vinod S at 2007-11-25 6:09:06
Hi all , we are developing a hopital management system in ASP.net 2005 using atlas technology. Here we have writen major part of business functions in web services so as to call them from client using script callback.but i hered from some one that using web service will take more server memmory and...

Exception Handling using Enterprise Library

574 byte By lukevprem at 2007-11-25 6:09:12
Hi,I want to use Microsoft's Enterprise Library for handling exceptions. After throwing exceptions, in the UI the exception is handled using the function ExceptionPolicies.HandleException(Exception, <Policy Name>).In my web application, if I want to show the error message in an errorpage....

how to display images in one form using asp.net

646 byte By eteq at 2007-11-25 6:10:36
hav a prob here.explanation below...now i developing a website to book house maid using asp.net . 1) in one form, i hav a click for more button. once user click the button, it will display many pictures of maid and also their name...the problem is until now i still cant display all the pictures.i ju...

Scan and Ocr Document

339 byte By nidhiparikh at 2007-11-25 6:10:58
Hi , i am working on asp.net , i want my user can scan and ocr their document from our website. i can scan document and save it as bmp or tiff format. But i dont know how to ocr that document. Help me if you know somthing about how to access an ocr software from asp.net project. or some code for O...

Image Upload & download from ASP Pages

824 byte By hussein2000 at 2007-11-25 6:11:00
hello friends,i develop a web site using ASP AND ORACLE as Database.in one page the user can insert his name and tel other information andhis image (photo) from the same page by browse file field. by useing sql insert statement .so this user photo should be insert into folder and the path of this...

Enable/Disable textbox when checkbox in a grid is checked

586 byte By gvi at 2007-11-25 6:11:50
Hi,I am not sure if this was answered already, if yes pls. direct me to that thread/post. This is in asp 1.1I have a datagrid which has 1 label,2 textboxes and 1 checkbox. If the checkbox is checked I would like to disable the 2nd textbox in the datagrid.I have following questions abt this:1. Is it...

Server Application Unavailable?

1254 byte By mjnicky at 2007-11-25 6:12:13
I am new to ASP.NET and I've created a website using Asp.net 2.0 & C#.When I preview my web pages in Visual Studio 2005 everything is ok, but when I published my website to a folder and expected to run it on a IIS server(My WinXP sp2 + IIS Laptop and another Win2003 + IIS server) ,I get the err...

Web client for work items as ASP.NET web part possible?

761 byte By lagu2653 at 2007-11-25 6:12:35
In the VS2005 SDK there's an example project for a web client work item browser application. Would it be possible to create such a web client as an ASP.NET web part? How would you do that? I've made an application that enters work items into TFS but when I put the same code into the web pa...

Regarding caching

1226 byte By tanaya80 at 2007-11-25 6:13:01
Hi friendspleasure mailing u today.. i am using the page caching using the <%@ OutputCache Duration="60" VarayByParam="none"%> tag. There are some parts of the page which need not be cached. known as Donut Caching. I know its possible using the <asp:substitution> control, but it retu...

Calendar doesnt display correct month

323 byte By sford at 2007-11-25 6:13:14
I am using a calendar control where I set the "selected" date based on user selections of other controls. In some cases the "selected" date is not on the current month. I would like to force the calandar to display whatever month is the month of the "selected" date. How can I change the month tha...

[RESOLVED] Page_Load Question (VB)

734 byte By stin at 2007-11-25 6:13:21
For some reason my Page_Load seems to not be executing.I'm using Visual Web Developer Express for this test project.I've search the forum a bit and found some solutions for C#, but nothing for VB. Here is my code<script runat="server"> Sub Page_Load() lbl1.Text = "The date...

[RESOLVED] disable RequiredFieldValidator depending on button click

762 byte By Visslan at 2007-11-25 6:14:24
I'm wondering if you can disable the RequiredFieldValidator when a certain button is clicked and be enabled when another button is clicked? I tried with enable = false and true but it didn't work because the onclick event isn't triggered before the right value has been writen.public v...

objectdatasource formview change textbox value

356 byte By dave2k at 2007-11-25 6:14:52
i have a formview bound to an object data source. a textbox in the formview represents a cell in the database. the cell can be either numeric or null. if there is nothing in the textfield, i would like to change the object data source so it inserts null into the data adapter. how can i intercept the...

Classes and modules

323 byte By bsaucer at 2007-11-25 6:14:57
I recently wrote a class and a module (in separate VB files) and used them in a VB project. Now I am writing an ASP.Net application, and would like to include the class and module files in the ASP.Net application. However, the main code can't recognize the class or the module. Is there somethin...

Access to the path \\192.168.0.54\series is denied.

574 byte By LyNdA^ at 2007-11-25 6:15:57
Dear all Gurus,string[] StrDirectories = Directory.GetDirectories("\\\\10.8.0.80\\series");a very simple code that always return Access to the path '\\192.168.0.54\series' is deniedi have put "<identity impersonate="true" />" in the web.config file... but somehow the error always aro...

dynamic values in datagrid header

288 byte By rahulvasanth at 2007-11-25 6:17:04
Hi<br/>In my asp.net application, I want to display dynamic values in the datgrid header. i.e, I want to retrieve the values from the DB and display those values as the header for the datagrid.<br/>Can anyone guide me on how this could be achieved ?<br/>Thanking in advance

Web.Config problem - Asp.net version problem

1112 byte By Ishaibin at 2007-11-25 6:17:28
Hi ! I have built my web site in asp.net 2 and published it to the web.When trying to view it using rather firefox or internet explorer i get this error page : Configuration ErrorDescription: An error occurred during the processing of a configuration file required to service this request. Please re...

Remember me is not working

386 byte By subhasam at 2007-11-25 6:17:35
Hi all,Iam using form authentication in sp.net 1.1Iam setting the persistent cookie to true in the following code.FormsAuthentication.SetAuthCookie(Id.ToString(),chkremember.Checked);But then too remember me is not working.If i open the application again then the startup login page is opened.Can any...

Ajax Help

418 byte By binilprasad at 2007-11-25 6:17:59
I am using asp.net 2003 and am using ajax in my application.currentlywhat am doing is that in my project i have another aspx page named ajaxEngine where all the server processes are done.After that i call a response.write() to send the xml file to my client side aspx page.My doubt is that can'...

Objects between postbacks

2067 byte By Dmitry Perets at 2007-11-25 6:18:19
Hello,Help me please with something that I think is very basic...1. Suppose I have a class called MyClass. It is placed in App_Code folder of my web-application:public class MyClass{ private IView view; private DateTime time; public MyClass(IView view) { this.view = view;...

TaxtBox Focus

279 byte By P_N_Data_System at 2007-11-25 6:18:23
I am using VisualBasic.net to create ASP web applicaiton form. please tell me how i can put my cursor in the TextBox1 when first my web page loads in browser.<br/>Kindly tell me if you have any link for free step by step beginer e-book for ASP and VB.net<br/>Thank you.

XpathDocument to XmlDataSource to <asp:menu>

1067 byte By cykophysh at 2007-11-25 6:18:59
Hi,I'm trying to bind the XMLDatasource to a XPATHDocument that I have retrieved from the database.Does anybody know how to do this? I have tried everything but can't seem to get it right?I am trying the asp:menu control to an xml that I am pulling straight from the DB<asp:Menu ID="mnIt...

Login failed for user NT AUTHORITY\NETWORK SERVICE

1010 byte By ask4help at 2007-11-25 6:19:43
Hi all,I have bumped into huge problem here. I developed a website using asp.net 2.0 and sql server 2005 express. The website works fine when tested on my local PC running on windows xp. However, when I upload it to my vps server, running on windows server 2003. I hit an error:"Login failed for user...

Evaluate Exception when updating datagrid

699 byte By dummyagain at 2007-11-25 6:19:51
I am using VS2003 and SQL 2000. I got a datagrid and when i click the 'update' link, it gives an error page of "Cannot find the column [Box].System.Data.EvaluateException: Cannot find the column [Box]The indicated error line is DataRow[] rowsBar = ds.Tables[this.colBarcodeTable].Select("co...

how to remove the box around radiobutton?

351 byte By mrxrsd at 2007-11-25 6:20:29
I dont know why this border is here...it isn the border property, i try everything...borderstyle notset, borderwidth 0px, transparent color...and if i set borderwidth 1px and choose any color i can see another box around the radio...so this box isnt the border...i dont know what to do. http://img.pho...

problem with templateColumn of datagrid

952 byte By meenakshi_joshi09 at 2007-11-25 6:21:15
HiI have a datagrid control with one Template Column, one select button column and one delete button column in my asp.net application. In template column I have a textBox. Can I format that textbox present in Template Column dynamically in codebehind such as change the backcolour, Text, height , tex...

How to create grid and connect it to database

214 byte By rahulsri19 at 2007-11-25 6:22:16
Hello all,<br/> I am developing 1 application in asp.net using visual studio 2003, in which i have to create a grid. The data should come from sql server 2000 in grid. So how to do this...?<br/>Please help...

Make data in gridview to linkbutton

248 byte By csanhow at 2007-11-25 6:23:12
Good Morning<br/>Does anyone know how to change the data of a column in the Gridview Control to a link button? For example, the first column is ProductID and i want every ID to be a link button. Is is possible to do that?<br/>Many thanks.

asp question

565 byte By chrisolds at 2007-11-25 6:23:14
I have a simple .asp scripting issue on a server I'm managing.the script is getting this errorcount: 91238Server object error 'ASP 0177 : 800401f3'Server.CreateObject Failed/testdbase/atecfirst.asp, line 377800401f3I'm interested in just paying someone for an hour or so of their...

scripts support

102 byte By k.shivkumar at 2007-11-25 6:23:34
what are scrippting languages asp.net support, which one is easy to use and understand for beginners?

about checked checkbox

392 byte By chandra_yvr at 2007-11-25 6:23:41
HI , I am chandra.My problem is in one page there is a " type" fileld is there.In this user enters the data dynamically.In another page "eligibilty" and "type" fields are there.If the user enters the eligibility then automatically "type" field will displays a checked checkbox which contains t...

contacting parent Thread [cjard: VBN -> ASPN]

1120 byte By Bill Crawley at 2007-11-25 6:23:42
Hi All,(sorry guys half asleep this should be in the ASP.NET thread) the problem is with Re-rendering the page to update the Label control.I have this piece of code that kicks off a Thread. The Thread seems to run however I have an issue.In my code I have declared clsDTS with events so the event get...

Paging problem

576 byte By Martinez at 2007-11-25 6:23:47
I`m using a GridView on my page with paging allowed. I also have some filters outside it (textboxes, etc). Now suppose:1. I load the page - all rows are displayed (suppose its number is 47). If the page size is 10, then I got 5 pages.2. I define some filters3. There is no row that matches the searc...

[RESOLVED] RangeValidator and Attribute: Type

939 byte By Visslan at 2007-11-25 6:24:08
I want to use RangeValidator to validate a textbox so that the entry is a Date. My code looks like:<td width="50%"><asp:Label ID="lStartDate" text="Startdatum *:" Runat="server" /></td> <td width="50%"><asp:TextBox ID="tbStartDate" TabIndex="25" Runat="server" /></td...

NEED HELP in CHECK BOXES

205 byte By chandra_yvr at 2007-11-25 6:25:39
HI,<br/> I am beginner in .net.I have small problem. i.e How should I implement by selecting one checkbox then remaining checkboxes also should be selected and deselected also.<br/>Please help me

access cell in forview

64 byte By dave2k at 2007-11-25 6:26:09
how can i access the second cell in the fifth row of a formview?

File Upload...

395 byte By alwaysnaga at 2007-11-25 6:26:49
Hi,I am using asp.net file upload control to upload file from the client to the server... all are working fine...I just want to get the percentage of uploading and I want to show the percentage of uploading file in the website... just like a progress in percentage...Any idea how to get that?plz help...

Unable to Load DLL Error (calling Fortran DLL from aspx page)

826 byte By chza727 at 2007-11-25 6:27:05
I call five Fortran DLLs through VB.net from an ASPX page over the internet. The first three DLLs I call run fine; however, the last two do not work. After running "net stop iisadmin /y" and then running "net start w3svc", I can then call three more of the DLLs (randomly selected), but the two remai...

Unable to start debugging on the Web Server....

479 byte By Nasty2 at 2007-11-25 6:27:14
Hi everyone,I am trying to run a Web Application on my notebook but keep receiving an error.I looked all over the net, including the IIS and MICROSOFT forums but whatever I tried did not help.Machine is running Windows XP Pro, with Visual Studio .NET 2005.I have attached a screenshot of the error.Ho...

C++ DLL called from ASP.NET & C#

368 byte By itomatik at 2007-11-25 6:27:36
I've such problem. I'm calling one C++ DLL from my ASP.NET web-app. The DLL is located within the folder of my web-app. However, the DLL requires to read some additional files. The path to that files DLL obtains from windows registry key. Does somebody knows whether the DLL has access to w...

http://localhost/reports

245 byte By huihaisang at 2007-11-25 6:28:15
Dear all:<br/>I typed the http://localhost/reports to see my rdl files. But, when I try to open the file. It asks me to input the username and password. Does anyone know where I can make the login message disappear? thanks<br/>shawn

How to connect to sql server after configuring web.config

524 byte By Graceson at 2007-11-25 6:28:29
Dear all,I am a beginner in Asp.Net.I have connected Asp.net to Sql server databse using oledbconnection and Oledb Adapter,but it was through the coding in .aspx file.Now I configured the Sql server in web.config file .(in applicationsetting).Ok,now tell me how I should work in aspx file.I want to...

Cant start the Web Site Administration Tool

463 byte By sumwun at 2007-11-25 6:28:45
I have never been able to start up the Web Site Administration Tool from Visual Studio 2005 by clicking on Website->ASP.NET Configuration. Doing so always creates a browser window with this message: "An error was encountered. Please return to the previous page and try again." This happens eve...

Search and Find Code HELP

814 byte By damianej at 2007-11-25 6:29:40
Hello, I am a novice at this whole process but I have an idea of what I want on my web site but do not know what direction to turn.I am creating a directory within my website and have set up a form for prospective companies to fill out to be included in my directory, one of the major stipulations is...

How to pass parameters in stored procedure using asp.net

177 byte By rahulsri19 at 2007-11-25 6:31:44
Hello all,<br/> I want to pass few parameters in stored procedure which is in sql server 2000. There are 5 parameters which i have to pass.<br/> Please solve my problem...