13,153 Topics

Member Avatar for
Member Avatar for hunfa

[CODE]public partial class Form : System.Web.UI.Page { private void connecttodb() { OracleConnection conn = new OracleConnection(); conn.ConnectionString = "User Id=WLL; Password=wll; Data Source=WLL;"; } protected void Page_Load(object sender, EventArgs e) { if(!Page.IsPostBack) { String CommandText = "Select DepartmentID,Department from its_department;"; OracleDataReader odr = GetDr(CommandText, ConnectionString); DropDownList1.DataSource = odr; DropDownList1.DataTextField ="Department"; …

Member Avatar for Lusiphur
-1
124
Member Avatar for simi pillai

Server Error in '/PrecompiledWeb4' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' …

Member Avatar for Lusiphur
-1
181
Member Avatar for ayeshakhan

how to import data from excel to sql database in temporary table and display it in grid using.net c#

Member Avatar for Lusiphur
0
52
Member Avatar for AngelicOne

I have this [CODE] <div class="registrationfield"> <div> <asp:CheckBox ID="CheckBox1" runat="server" Text="ERS" CssClass="registercb"/> <asp:Label ID="Label31" runat="server" Text="Registry No.-" AssociatedControlID="TextBox1"></asp:Label> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> </div> </div[/CODE] Then the CSS [CODE].registrationfield { float:left; width:419px; } .registercb { float:left; width:7em; } [/CODE] The registration field is beside another box so I floated it left. The …

Member Avatar for AngelicOne
0
60
Member Avatar for Weppies

Hi I have to save data in a TList and then save the setlist in a session and then set the gridview`s datasource to the session value. The problem is that the data is different all the time. I save the data in a sql server table. The data is …

0
60
Member Avatar for sakhi kul

hello everybody, I need a code to export data from Ms-access database to Ms-Excel sheet using VB.NET Thank you in advance:)

Member Avatar for hungk53c
0
181
Member Avatar for greeny_1984

Hi everyone, I have a requirement where I need to generate a pdf doc.I am using itextlibrary for that condition.I am able to generate pdf doc but alignment is not correct.The table is getting divided in to two equal parts in pdf doc for what ever width I specify.How to …

0
56
Member Avatar for readbanana

I have a column in my gridview that loads images from a database. Right now, I have the image in the column and when you have your mouse over the image, a div with a larger image pops up next to it. What I want to do is have an …

Member Avatar for peter_budo
-1
124
Member Avatar for seger
Member Avatar for nehacct
0
88
Member Avatar for simi pillai

i don't know how to set CustomErrors to Off and this is not in the sub directory.

Member Avatar for rohand
0
68
Member Avatar for simi pillai

this application contains 2 folders each of them contains webconfig files and iam using .net2005 the error shows when it runs in mozilla

Member Avatar for rohand
0
87
Member Avatar for simi pillai

Server Error in '/PrecompiledWeb4' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' …

Member Avatar for rohand
0
226
Member Avatar for kalpa23

i have this asp.net web site i made using v.s.2003 and i made a web setup project and made a msi installer but my installer file is not working properly when i execute it preparing to instill massage come an then it disappears and nothing happens after that if any …

Member Avatar for rohand
0
107
Member Avatar for algo_man

Hi everybody, I'm wondering is there a way to check wither a dateTime is selected within particular period. Let me give a e.g: suppose I've date1 = "07/18/2010 08:00" date2 = "07/18/2010 10:30" date1 and date2 represent a period of time from 8 to 10 in 18/07. I want to …

Member Avatar for rohand
0
69
Member Avatar for cmhampton

I am having issues parsing JSON data from a web service. The web service is local on my machine, and I have added it as a Web Reference. Simple data types from the service work perfectly. However, if I call a method that returns a complex structure (such as an …

Member Avatar for cmhampton
0
515
Member Avatar for all4peace

This is painfully annoying! Everytime I make a change to my web application and publish, I have to wait until VS2008 or VS2010 publishes the entire site. I have 2 folders which have ~70 folders [U]each![/U]. But they are static and will not change ever so I want to see …

Member Avatar for all4peace
0
101
Member Avatar for malek.safa

hello i need some help trying to loop on the value of my textbox, i have created a place holder and a textbox where i insert a number, and by clicking on the button submit i will have as much as textbox as indicated in the orignal textbox, i have …

0
37
Member Avatar for srvstv.prnc

How to upload file in sql server through asp.net pages using c# can any one help me i have tried lots of method but not succeed??????????????????

Member Avatar for dnanetwork
0
68
Member Avatar for BMP1980

Hi Can someone plaese tell me what should I study in ASP.net ? what are the syllabus....... please help me

Member Avatar for dnanetwork
0
44
Member Avatar for visweswaran28

Hi, How can I get time of last request Sent in asp.net.. Actually I want to set automatic Idle timeout. So I planned to compare this time with current. Please Help me. Other solutions are also invited.. Thanks in Advance.

Member Avatar for dnanetwork
0
235
Member Avatar for malashukla

i want to apply onclick event on a image in the repeater. i don't know how to do it. anybody having any idea plz guide me. thanks in advance

Member Avatar for malashukla
0
455
Member Avatar for esmail_merchant

I have this code to enter data of checked boxes to be entered in other table of access database. I have taken template field and added a text box in Item Template but how to enter the text box data in a database on a button click. protected void Page_Load(object …

Member Avatar for esmail_merchant
0
100
Member Avatar for kayfar

i'm using C# and MS Access database..i want to search name or serial no using LIKE statement..but i don't know how to do it..and then after i search it will view the match that i search for..let's say i want to search a letter start with 'C', an then it …

Member Avatar for kayfar
0
162
Member Avatar for kayfar

i've a problem here where when i logout i still can click back..can anyone solve my problem?

Member Avatar for kayfar
-1
201
Member Avatar for DarthMambo

I have the the following entry in my web.config in the root of my Asp.net project: [code] <urlMappings enabled="true"> <add url="~/Views/VoiceClip.wav" mappedUrl="~/Views/VoiceClipHandler.ashx"/> </urlMappings> [/code] This works fine when running the site in Visual Studio - I go to VoiceClip.wav and it redirects me to VoiceClipHandler.ashx. However, when I deploy to …

Member Avatar for DarthMambo
0
112
Member Avatar for clausont

Hi, I have a web form in vb that I am writing and I am stuck on getting th evalue of one cell in a row when the checkbox is checked so that I can insert that value into a table in an access database. Can anybody help on this? …

Member Avatar for clausont
0
119
Member Avatar for lupis

Hi, I am new to asp.net and I have subfolder in my rootfolder with files that needs to accessed by username and login from a loginpage. I have currently one default.aspx that I access this way in the root folder. This is a extract from my current webconfig file in …

0
49
Member Avatar for choralqiu

Does anybody know if MS SQL Server has any built in functionality for preventing injection attacks? I remember I saw someone said SQL Server does have it. But I can't find it in a official source. So, If you know anything, please share it. Thank you very much.(an official link …

Member Avatar for choralqiu
0
49
Member Avatar for maydhyam

Hi All, I am new to this particular forum because I will like to start working with ASP.NET (it's required in my job) but I haven't the faintest idea anything pertaining ASP.NET. I hear things like Configuring IIS and Visual Studio...I was told that this is for a web-based application...could …

Member Avatar for dnanetwork
0
185
Member Avatar for lunaluni

i have a random data selected from database to the .aspx form example: 1 Hello 1 2 World 2 Nice 1 3 Meet 2 You 2 and i want to export it to excel using "export to excel" button so that it became like this [URL="http://imgur.com/BDblk.jpg"]http://imgur.com/BDblk.jpg[/URL]

Member Avatar for dnanetwork
0
306
Member Avatar for esia168

Hello, I have tables two tables, the "book" and the "author", a book can have many authors and vice versa, so there is an intermediate table called "book_author" with two columns as foreign key for those two primary keys book_author book_id author_id I'm trying to edit the book details and …

Member Avatar for dnanetwork
0
669
Member Avatar for shweta_online

amespace WebApplication4 { public partial class _Default : System.Web.UI.Page { public static bool UrlIsValid(string url) { bool br = false; try { IPHostEntry ipHost = Dns.Resolve(url); br = true; } catch (SocketException) { br = false; } return br; } private void Page_Load(object sender, EventArgs e) { string url = …

Member Avatar for dnanetwork
0
91
Member Avatar for bhaizlett

Is there a way to be able to create a new database when a company signs up to my site, and be able to use that database when he/she logs in, so for example if company A logs in he uses CompanyA database and if company B logs in he …

Member Avatar for dnanetwork
0
112
Member Avatar for sagarpc2007

I try for uploading file on web server as images of video files with File Uploader Control in asp dot net 2.0. it's ok when we are uploading filea on local machine but on web server it's not work properly. Message thrown Path is Access Denied Please Reply..

Member Avatar for dnanetwork
0
112
Member Avatar for seger

hi, Wen i give the submit button in my aspx page ,the datas is updating in sql,but the page refreshes with the old data,it should be clear in the corresponding fields. pl.guide me.

Member Avatar for dnanetwork
0
124
Member Avatar for srky

Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and …

Member Avatar for srky
0
82
Member Avatar for vignesh86

Hi... Am new to .net here. Hope am posting the question under the right category... My requirement is as follows: I have a gridview which is visible with an empty row on page load. It has four columns of which the first column is a text box item template. The …

Member Avatar for dbeura
0
135
Member Avatar for Weppies

Hi, I would just like to know if an asp.net application automaticaly set multi users active. Meaning if more than one user can activate the application on the web and use the same database without interfering with one another. Regards Weppies

Member Avatar for Weppies
0
219
Member Avatar for visweswaran28

Hi, I want to know, how to close a session when a user is idle (around 'n' time) in asp.net.

Member Avatar for hirenpatel53
0
141
Member Avatar for gabrielmusa

i have a countdown clock i created using the timer function in asp.The problem is that its is not updating every second but it takes sometimes 5 seconds.i have set the timer to 1000.what could be the problem with my countdown clock and if there is the best way of …

Member Avatar for Lusiphur
0
48
Member Avatar for webdev5

Is there a way to provide a different address when browser bookmark button is clicked? I know you can include a button on your page but most users are accustomed to using the browser bookmark button. Our domain may change from time to time and we don't want to frustrate …

Member Avatar for Lusiphur
0
268
Member Avatar for rohitmanhas_12

Hi.. i have to Create a simple data entry Windows Form application with the following requirements.(*Note it should be using ASP.NET 2.0 framework and c#) • Capture customer personal information and employment information. Personal information includes Name, Address, Phone and Date of Birth. Employment information includes Employer Name, Office Address, …

Member Avatar for Lusiphur
0
381
Member Avatar for farooq82

Hello Everyone, I am working on multi language site that will work in English, French. How would I covert master page to in another language.

0
46
Member Avatar for divyasrinivasan

hi ... thanks a lot..i got how to edi,update,n delete..now i want to validate the textbox wen i press update...like i want to ckeck for null vlues entry...only numbers.......i am searching for javascript but no proper result... any links ..pls post....

Member Avatar for cloudlight
0
851
Member Avatar for akil007

I have Two panel One have Login control and in another user control. First user login then usercontrol is open so I am try in Login_loggedin event fire delegate which in parent control of both to visible panel but not shown

Member Avatar for reach_yousuf
0
80
Member Avatar for noktasizvirgul

Today I found 2 distinct program which can takes .exe's and gives sorce code exactly, same method names, same class names, same variables also. I am trying to find a solution which can stop this decompilers. I found solutions but they just make the decompiling job harder. I need to …

Member Avatar for ghimangi
0
140
Member Avatar for kayfar
Member Avatar for AngelicOne

How to do this? Some said I need to use requiredfieldvalidators for this. Will these affect my other validation with no requiredfieldvalidators?

Member Avatar for AngelicOne
0
83
Member Avatar for khaled_jawaher

i am writing an application on my pc considered as client, to insert record on a microsoft access database on another pc that u can consider it as server, that has static ip address remotely.i can ping the remote address of the pc that i want to access without problems.the …

Member Avatar for khaled_jawaher
0
161
Member Avatar for AngelicOne

I am making an enrollment system. My database table for the enrollment has 30 columns. I wonder which datapresentation suits this kind of multiple columns. Do you think gridview is suited for this? If I would have an edit function then do you think it's kinda long? I also made …

Member Avatar for AngelicOne
0
79

The End.