|
can you use css?
float:left;
width:200px;
|
|
|
|
|
I have tried simple stored procedures to return recordset
like : Select * From
It is running good, giving proper out put.
But If I am making it bit complicated then recordset is returning -1 recordcount
e.g. : Select Count(bId) as cntBid from bTable
This stored procedure is running well in SQL Server 2005, but if I am caling them in ASP pages it is returning me -1 recordcount.
Please Help me
Kiran Sajanikar
|
|
|
|
|
you seem to be asking the same question multiple times.
show us all the necessary code as to how you are calling your priocedure and what your procedure looks like.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
This is stored procedure
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
ALTER PROCEDURE [dbo].[test1]
AS
--Select * From blog
Select Max(blogID) as cntId from blog
ASP code to call Stored procedure
Code 1:
dim rsTemp, strSql strSql = "Exec test1"
set rsTemp = Server.CreateObject("ADODB.Recordset")
rsTemp.Open strSql, con, 1, 3
Response.Write rsTemp.RecordCount
Code 2:
------------
dim cmd, rsTemp, strSql
set rsWork = Server.CreateObject("ADODB.Recordset")
set cmd = Server.CreateObject("ADODB.Command")
cmd.ActiveConnection = con
cmd.CommandText = "test1"
set rsTemp = cmd.Execute
Response.Write rsTemp.RecordCount
Kiran Sajanikar
|
|
|
|
|
It's returning -1 due to the type of cursor the recordset is using. Google recordset cursors - you need one that's dynamic.
Make a program idiot proof and a better idiot will come along.
|
|
|
|
|
Hi all
I have a form. In this form, there's a text box and a submit button.
The problem is that I have to check what user puts to the text box before he can submit form. If the text box is blank I want to alert a error message(not a alert message) to the form.
I intend to use a <span> tag to block a error message. The code as bellow:
<script language="javascript">
function f_check()
{
//how to change the attribute <b>display:none</b> to <b>display:block</b> to show the message
}
</script>
<input type="text" id="txt_id">
<span id="span_id" style="color: Red; display:none;">Required Information</span>
<input type="submit" id="btn_id" onclick="return f_check();"></input></input>
Thanks in advanced
[N][Q][H]
|
|
|
|
|
This should get you started. You need to clean up the code, for instance the toggle_visibility is not what you need.
function f_check()
{
var str = document.getElementById('txt_id').value;
if(str.length == 0)
toggle_visibility('span_id');
}
function toggle_visibility(id)
{
var e = document.getElementById(id);
if(e.style.display == 'block')
e.style.display = 'none';
else
e.style.display = 'block';
}
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Please Help I want Create Job Portal Like(www.Rozee.pk)
IF any One Have Idea or Documantion or Screenshots or Templete About Job Portal Then tell me
I am Thank Full for this Act.
|
|
|
|
|
|
I doubt that you want to create such a portal from scratch, as it's a lot of work. Especially since there's a starter-kit[^] from Microsoft. These starter-kits are an excellent point to start of your journey.
Good luck
I are troll
|
|
|
|
|
Hello
I want to install visual studio 2003 on vista home premium but I can not select web development option. I have chedked IIS and FPSE and about IIS is there but I dont know about FPSE. But I can install without web development but want web developent feature.
so could you please help me how to install visual studio 2003 with web development on vista home premium
I have install .net framework 1.1 with SP1
Enable IIS 6.0 compatibility
I Make sure IIS permits running ASP.NET. in ISAPI and CGI Restrictions
but still same
waiting for your kind help
thank you
|
|
|
|
|
Visdta Home Premium has some known issues for VS Installation. But anyway, you can use the following link and I hope it helps you:
http://blogs.iis.net/brian-murphy-booth/archive/2007/03/09/how-to-setup-asp-net-v1-1-visual-studio-net-2003-projects-on-iis7-vista.aspx
Either you love IT or leave IT...
|
|
|
|
|
using reflection's type.getmethods(), i was able to get MethodInfo of a class.
How do i use MethodInfo.Invoke() to execute a non static method present in a class?
How do i create a instance of the class?
|
|
|
|
|
|
Does anyone know of (or have) information regarding the behaviour of CSS within framesets?
and related ... how to trap an onload in a single frame (not all of them) from the window(_top??)
Background - my employer is using a 3rd party that uses frames, but need to perform actions when frame documents change (adding Javascript event handlers, and the css styling and some behaviours need to be cascaded AFTER the 3rd party css is processed on a page load) all without a long, complex and expensive custom coding by the 3rd party. .
Nothing is impossible, we just don't know the way of it yet.
|
|
|
|
|
Hi guys,
I was after a bit of advise/a point in the right direction for the dynamic placement of images in a body of text. Basically I have a page of text, split up into paragraphs which has been created through the use of a WYSIWYG editor so therefore includes various kinds of formatting.
What I need to be able to do is add images in various places. So if I click in the middle of the second paragraph (on my "add images to text page") I can place a div of a specified size at the cursor and then go through the adding of the image process. Its this dynamic div placement that Im having trouble with!
So, if anyone has any ideas on how I achieve this I would be very grateful.
I hope this makes sense......
Cheers y'all
|
|
|
|
|
Hi,
how to clear the cookies and need to call ajax at every time..
Actually im using ajax for calendar display .. previously the programs are in asp...if any server side change it get the responce from server side immediately..
currently we converted asp to aspx..and in aspx get some cookie problem something ..so if it any server side change the page wont change the url and wont get the server side response immediately ...
can any one please give some suggestion for this..
need immediate response....
Thanks
AR
|
|
|
|
|
Hi,
I'm using mailto anchor function for mail link which navigates to outlook.
onclick of the mail link get object reference not set an instance error ..
but it happend in only IE6 with outlook 2007
IE6 with outlook 2003 is working fine and IE7 with any outlook is working fine
can any one please give some suggestion for this..
Thanks
AR
|
|
|
|
|
Hi,
I have a html page where i have a link and 2 radio buttons and when i click the link i need to run cmd (with selected radio button as parameter to cmd) in the background ...
Please help regarding the same...(i need to use vbscript..)
|
|
|
|
|
I think you need some server-side scripting host. Like ASP.NET...
With ASP.NET you can use the System.Diagnostics.Process class to execute cmd.
Regards
Sebastian
|
|
|
|
|
Hi...
I have uploaded an asp.net 2.0 website and which has one crystal report.
When i browse the website i get following error..
"Could not load file or assembly 'CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified."
Please help me out of this problem..
see u
Hemant Thaker
By:
Hemant Thaker
|
|
|
|
|
Hi,
The server where you have uploaded the website, does not have crystal reports installed.
Ask host to install the crystal 10.2.
Regards
Aman Bhullar
ShubhRishtey.com[^]
|
|
|
|
|
use this command in your computer
start->run->C:\Windows\Assembly\gac_msil
you will find all needed DLL!
|
|
|
|
|
Actullay I m Developing a search engine in ASP. some one tell me how I can search only image by enter keyword.
it should search only image related to that keyword which i had written in input box.
Manoj Kumar
|
|
|
|
|
Images are normally used with "tags". These tags say something about the image (what can be seen at this picture etc.). So you have to store tags with your image in a database. Then write a query that can search through these tags.
Regards
Sebastian
|
|
|
|