Hi, I wanted to build a browser add-on (like Java Applet) in a web app that can read data from USB, is there such thing in .NET world where I can use c# as the programming language?
Thanks in advance!
Hi, I have a table A with one decimal-typed column Score. Now I want to create a view with A.Score and an additional bit-type column as follows:
1 - if the score is ranked as top 20% high score;
0 - otherwise.
I tried to create a view as: select A.score, IsTop20Perc(A.score) from A;
with...
I was trying to convert a <table> to <div> but I met a problem that the 3rd column (<div>) didn't expand to full height. Could you please help?
Here's the table:
<table cellpadding=0 cellspacing=0 width="800px">
<tr>
<td style="background:url(images/mid_left.png)...
These two IE7 versions seem to render button & select tags differently (just like different themes). I get the info from this link (http://support.microsoft.com/kb/969393/) that IC stands for Internet Content Provider. But im confused at what is the possible thing that leads to the IC version to...
I have a page displaying fine in IE7 but not in IE8. It seems that "height:100%" isn't working. Does anyone know about this?
#Content
{
clear:both; height:100%;
background-color:#10509E; margin:0; padding:0; border:0px;
}
Thanks!!
I have a asp:wizard control (3 steps) which will be used for 2 different web app. In App1, I want to show step 1 and step 3 (hide step 2); In App2, I want to show all the steps.
Now I wrote the code in wizard_load event to control the show/hide of steps. But the problem is that when I hide...
I'm build a .aspx page which has a textbox and a button on it. When I click the button, I want to open a new window with the text in the textbox as parameter(query string). What I did is RegisterJavaScipt() in the Page_Load, and add a OnTextChanged of the textbox as follows:
protected void...
Hi, I was reading some VB code in a .asp file.
Here's the code"
SQL = "SELECT somedata as somedata FROM XTab ORDER BY somedata ASC"
set rs = OBJdbConnection.execute(SQL)
if rs.eof then
' do something
else
xxx = rs("somedata")
Can anybody tell me what is the xxx value? Is it a int...
I have a page with 3-layers of menu: Main, Sub, and SubSub.
When a menu is clicked, the page will be redirected to something like ...somepage.aspx?mid=1&sid=2&ssid=3. Now the problem is: when a sub-sub menu is clicked, I need to change the 'CssClass' property of the LinkButton inside.(according...
I noticed that Safari will render <input type="submit"/> into MAC style, even i put 'class' property inside it.
How to aviod this prob? Thanks in advance.
I was asked to build two right-click menus on one page. That is if the left portion of the page (say width=100) is right-clicked, it shows one menu; and if the rest portion of the page is right-clicked, it shows another menu. How should I do it?
The page is full of DIVs so i cannot get any ID...
I found Safari browser would turn all my asp:button into its mac style. Can anyone tell me how to fix it so the web interface will look exactly the same in IE and Safari?
Does anyone know how to build browser-save website? What kind of controls are save when rended by different browsers? Any...
I wrote a class representing Product Model <ProductInfo.cs>, in which it contains this line in the constructor:
...
this._unitPrice = (values[6]==DBNull.Value)?0:(float)values[6]; // ***
...
Then, i wrote this piece of code:
Product bll = new Product(); // get the Business Logic Layer...
Dear all,
I'm using Fop-0.20.5 to generate pdf here. Inside Fop, it calls some methods defined in jai_core.jar and jai_codec.jar. At first, the application gave me NOClassDefFoundError. It was located at org.apache.fop.image.JAIImage.loadImage(JAIImage.java:97). So I added jai_core.jar and...
Hi,
I'm using Fop-0.20.5 to generate pdf here. Inside Fop, it calls some methods defined in jai_core.jar and jai_codec.jar. At first, the application gave me NOClassDefFoundError. It was located at org.apache.fop.image.JAIImage.loadImage(JAIImage.java:97). So I added jai_core.jar and...
Hi all,
I'm trying to use a servlet to generate a dynamic image and am seeing the following error:
[ERROR] Error while creating area : No ImageReader for this type of image (http://dappsn01.asianconnect.com/tnltptca/cmm/ImgServlet)
The relevant FO source is:
<fo:external-graphic...
The only solution I can find is to define an "Constants Interface" like this:
interface Constants
{
static final public int SUCCESS=1;
static final public int FIAL=0;
... ...
}
Then, every class in the package using these constants has to implement this
interface.
An...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.