|
I think you'll find few people who are going to read through the entire code of your page. Which bit in particular isn't working...?
|
|
|
|
|
It functions, but its not display accurate counts of my data in my tables. Is there a better way to do this?
|
|
|
|
|
In what way inaccurate, and is there a particular bit of the code that you are getting problems with?
|
|
|
|
|
It's not counting my actual voted fields.
All the counts end up as the total number of records in the db. Or some other crazy number.
|
|
|
|
|
How a person can identify where you are wrong from such a lengthy code ?
|
|
|
|
|
More looking at getting some comments on a better way to do counting for certain critera, so I posted my whole code so everyone could see how I was doing it.
|
|
|
|
|
No-one is going to read all this, and without your DB, they cannot use it to try and reproduce the issue.
Go into SQL Server and play with SQL until you find something that accurately counts your values. Then use that.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Well, it truly does prove how much better it is to just have someone elses eyes on your code, I sent it to a friend and fellow programmer, and as he was reviewing it, I found my TYPO's. Fixed and counts were correct.
|
|
|
|
|
hi
following problem please help
Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.
-- modified at 7:20 Friday 18th May, 2007
|
|
|
|
|
did you install aspajaxextsetup for ajax web extension
|
|
|
|
|
hi
yes i have installed ajax web extension
Regards,
Srinandna
|
|
|
|
|
did you install aspajaxEXTSetup, if so then try reinstalling it.
|
|
|
|
|
Will you kindly help me with a search code using Asp.net and SQL 2000 coz I an designing a program that can search Client Name in the Sql. ROMEO
Romeo
|
|
|
|
|
SELECT * FROM ATable WHERE CLIENTNAME LIKE '%searchtext%'
|
|
|
|
|
Sorry, i don't quite get you. Do you want to search a dataset?
|
|
|
|
|
hi all,
I have a Dropdown box(Active/Inactive) in Asp updateform.If the user selects Inactive and updates the form,then SP gives an output message that Inactive is selected.
Here i need to keep an confirm box using java script.This should be called only when Inactive is selected.
So i wrote code like this
<br />
protected void FormView1_ItemUpdating(object sender, FormViewUpdateEventArgs e)<br />
{<br />
if (myCommand_update.Parameters["@out_Message"].Value != DBNull.Value)<br />
{<br />
Status_Msg.Text = Convert.ToString(myCommand_update.Parameters["@out_Message"].Value);<br />
update_btn.Attributes.Add("onclick","return confirm_update();") <br />
<br />
<br />
}<br />
}<br />
function confirm_update()<br />
{<br />
if (confirm("Would you like to Inactive the same?")==true)<br />
return true;<br />
else<br />
return false;<br />
}<br />
<br />
<br />
but it is not working.
If active is selected there will be no ouput meaasge.
Plz help me to find the solution
Thanks in advance,
cheers
sangeet
|
|
|
|
|
try running your code like this first,
function confirm_update()
{
alert('hello');
}
in this way you can be sure that your function is being called or not. if you see pop up saying 'hello' then there would be something wrong with your code which this,
function confirm_update()
{
if (confirm("Would you like to Inactive the same?")==true)
return true;
else
return false;
}
|
|
|
|
|
Hi all,
I have a web site where i have a login section that uses password written(encrypted) in an sql server.
I want to add financial part to my web site, where only authorized people can buy or whatever.
My question is about the best way to secure my users and their info presenting while doing their inquiries.
Thanks.
|
|
|
|
|
Hi All...
My friend has Visual Studio 2003 and also Visual Studio 2005 installed in her system.
Whenever she has to work with VS-2003, she will change the IIS to point the .Net framework 1.1 version and switches to .Net 2.0 when she works with VS-2005 and also she is telling that she has both the framework.
What I thought was, to work with both VS-2003 and 2005, it is enough to have .Net framework 2.0 and this 2.0 will have all the features supported by 1.0 and 1.1. We dont install .Net 2.0 as seperate one and only upgrade 1.1 to 2.0. So no need to change the framework.
I dont understand why she changes her IIS every time.
But I dont change IIS. I just work with both VS-2003 and VS-2005 at a same time.
How is it possible?
Wht is the concept behind this .Net Framework different versions?
Am I making sense?
Hope I narrated in a way you can understand.
Expecting your explanations for this dbt.
Thank You,
Saran
|
|
|
|
|
Saranya B wrote: What I thought was, to work with both VS-2003 and 2005, it is enough to have .Net framework 2.0 and this 2.0 will have all the features supported by 1.0 and 1.1. We dont install .Net 2.0 as seperate one and only upgrade 1.1 to 2.0. So no need to change the framework.
Yes you are correct.
Saranya B wrote: I dont understand why she changes her IIS every time.
She don't have any other work to do
Saranya B wrote: But I dont change IIS. I just work with both VS-2003 and VS-2005 at a same time.
How is it possible?
Because framework 2.0 can support all the libraries available in 1.1. Updating a version means, they won't remove the previous classes. 2.0 is having much more classes than 1.0. Now 3.0 is there. That can support all the classes available in 1.1 as well as 2.0. Hope you understood
|
|
|
|
|
|
DooDooo wrote: Saranya B wrote:
What I thought was, to work with both VS-2003 and 2005, it is enough to have .Net framework 2.0 and this 2.0 will have all the features supported by 1.0 and 1.1. We dont install .Net 2.0 as seperate one and only upgrade 1.1 to 2.0. So no need to change the framework.
Yes you are correct.
DooDooo wrote: Because framework 2.0 can support all the libraries available in 1.1. Updating a version means, they won't remove the previous classes. 2.0 is having much more classes than 1.0. Now 3.0 is there. That can support all the classes available in 1.1 as well as 2.0. Hope you understood
Close, but not quite - there are some pretty major differences between the versions, as my boss would tell you if he were here - he spent an age porting our app to 2.0 hehe
"Knock me down, I'll get straight back up again, I'll come back stronger than a powered up pacman"
(Lilly Allen / Kaiser Chiefs)
|
|
|
|
|
VS 2005 has a built in stand-alone web server, so it doesn't need IIS. You can use IIS for 1.1 applications and the stand-alone server for 2.0 applications.
Saranya B wrote: We dont install .Net 2.0 as seperate one and only upgrade 1.1 to 2.0.
There is no "upgrade" from 1.1 to 2.0. When you install 2.0 on a system that already has 1.1, they will both be available side byte side.
Saranya B wrote: I dont understand why she changes her IIS every time.
Me neither.
Saranya B wrote: But I dont change IIS. I just work with both VS-2003 and VS-2005 at a same time.
How is it possible?
My guess is that you are using the stand-alone server in VS 2005.
---
single minded; short sighted; long gone;
|
|
|
|
|
Thanks for you explanation!!!
Guffa wrote: There is no "upgrade" from 1.1 to 2.0. When you install 2.0 on a system that already has 1.1, they will both be available side byte side.
So, do you mean when we install .net framework 2.0, there will be 2 instances. One with 1.1(which exist already) and another instance with 2.0 version?
Can I take your explanation in this way?
|
|
|
|
|