473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to Take a Response From Class Library?

Hi to All, I have One C-sharp ClassLibrary for DataAccess from DataBase. i dont know how to Pass a DataReader Response From Class Library to Aspx Page CodeBehind File(C-Sharp).(The Problem is--- When the DropDownList box SelectedIndexChanged it sends a Index Value to the Library File for making a manipulation on the DataBase through DataReader, but i dont know how to redirect their Response to the Aspx codebehind page.)
Jul 14 '09 #1
1 2479
Bassem
344 100+
If your problem is that you can't response from a class which not the code behind of the requested aspx page. See this scenario:
1. An event occurs on your aspx page, a request is sent.
2. a method in the class library is invoked to do a certain function (Now you want to response), this method returns a string to your aspx page.
3. Your aspx page responses with this string.
Jul 15 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Matthew | last post by:
Hello, I am using Visual C# .net Standard and want to create a Class Library. However I am having some difficulty. I am following the directions to do so from Deitel's "C# How to Program" in...
5
by: jason | last post by:
i have a c# class library that is being compiled with the "Register for COM Interop" flag set to "True." it compiles just fine. however, when i go into the Component Services administrative tool...
1
by: Chris | last post by:
As I understand it, I could create a class library, and then have some of my ASPX pages inherit from classes in the class library (the web application would have a reference to the class library...
2
by: Fred Nelson | last post by:
Hi: I'm developing a C# web application. I would like to create a class library that can access cookies directly. Every time that I put a "Response.Cookies" or a "Request.Cookies" in my class...
8
by: John | last post by:
We are looking to converting our old vb 6.0 apps to vb.net. In vb6 you could create a standard set of forms or modules that you could share with each application. As a result, lets say you...
7
by: SevDer | last post by:
Hi I have a class library that needs to download the HTML in a specific page of ours with provided querystring. When I open this URL with any browser, it loads fine. When I do WebRequest from Web...
3
by: Martyn Fewtrell | last post by:
Hi there. First of all let me apologise for this is a somewhat general question to which I would be interested in any opinions. As far as I can see when I create a web application the...
2
by: Maxwell2006 | last post by:
Hi, As far as I know, a class library project cannot have any app.config dedicated to itself and it always depends on the main application to provide the .config settings. Based on above, I...
4
by: stroudg2 | last post by:
Situation: I have been tasked to provide a non-intrusive solution to allow .NET web services to grab an incoming SOAP header and process the credentials stored within in such a way that a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.