Add an image control to your aspx file that points to another aspx file with whatever parameters you need to find the images. In this other file, pull the data out the database, use something in System.Drawing (I can't be more specific than that, sorry!) to merge the images together and then push them down the response stream after setting the content type to whatever image type your serving.
Or an easier way might be to simply put two images on the page styled in such a way as they appear as one (therefor skipping the image mergin bit)
:(I'm having problems with my resource manager in ASP.NET 2.0 after conversion
from ASP.NET 1.1.
Here is a background:
In ASP.NET 1.1
All my user controls and aspx pages inherit from base classes. A base class
includes this property (among others...):
Private m_rscResources As System.Resources.ResourceManager
Public ReadOnly Property rscResource() As System.Resources.ResourceManager
If m_rscResources Is Nothing Then
m_rscResources = New
In my application root folder I have two files. One strings.resx and one
strings.sv.resx. When I call the rscResource.GetString method I simply use
the tag name to get the translation.
Label1.Text = rscResource.GetString("First name")
In 1.1 this works absolutely fine. However, In 2.0 (after conversion), it's
not working. The error message I get from .NET is:
System.Resources.MissingManifestResourceException was unhandled by user code
Message="Could not find any resources appropriate for the specified
culture or the neutral culture. Make sure
"MyPortalNamespace.Strings.resources" was correctly embedded or linked into
assembly "App_Code.lkep0udn" at compile time, or that all the satellite
assemblies required are loadable and fully signed."
I've tried to dynamically get the current executing assembly name like this:
m_rscResources = New
& ".Strings", System.Reflection.Assembly.GetExecutingAssembly)
Same error message (but 'MyPortalNamespace' is replaced).
I've tried a number of things to work around this, but I still get this
error message. I've tried placing the resource files into different
directories including App_Code, App_GlobalResources, application root etc.
None is making it better.
So, here I stand...
I want to clarify that I know how you can use resources in 2.0, but that's
from scratch. I have hundreds and hundreds of places where I use
rscResource.GetString("MyKey") and I really don't feel I want to change all
that now. p
please suggest me how to make it possible
New to devlopment with VS.net, I created a very basic page that should query a database and return some data. It works fine on the development station but when I run it on the server it does not appear to work. The screen appears to refresh but nothing else happens. In my feeble attempt to degug I added a simple button and added the following code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click<br />
lblNotes.Text = "Test"<br />
This also appears to work on the workstation, but not on the server.
How can I chase this down? I know this may be a simple question but I am self teaching myself and little things like this appear to be my biggest challenge....
I have a problem, i am programming a datagrid in asp.net under webmatrix, only is a connection to access database and show this query in a datagrid, every very good exception for the query pagination.
How i can allow what, if the user press a number of page from query, then the asp change the query result to the number page?, attach the code because not work this section, thanks very mucho for you help.
Private connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data Source=C:\lo que se va a estar respaldando\mio\my_access_db.mdb"
Private dbConnection As System.Data.IDbConnection = New System.Data.OleDb.OleDbConnection(connectionString)
Private dbCommand As System.Data.IDbCommand = New System.Data.OleDb.OleDbCommand
private dataAdapter As System.Data.IDbDataAdapter = New System.Data.OleDb.OleDbDataAdapter
private dataSet As System.Data.DataSet = New System.Data.DataSet
Sub cmdQuery_Click(sender As Object, e As EventArgs)
If Len(Trim(txtSQLQUery.Text)) > 0 Then
MsgBox("No SQL Query string ingresed!", vbCritical, "Error")
i am using Visual Web Development 2005.hav created an apps using vb.
i hav used a login control and password recovery control.how to send e-mail regarding the password to the user? i hav configured my smtp connection even
i get the following error,
An established connection was aborted by the software in your host machine
I don't want to print the array, I just want to create options of a combo at runtime. Can you please How I can I follow your suggession?? "You could just turn it into a CSV format (by using the "foreach" function but that is it" Can you give me some exampl??
Last Visit: 31-Dec-99 19:00 Last Update: 2-Mar-24 20:45