|
Dude, your script makes very little sense, calling functions that we can't see, using variables that we don't know how they are initialised. What do you actually need? A SQL script that selects from a table based on a date?
SELECT * FROM ATable WHERE ADate = GetDate()
Would work in SQL Server...
|
|
|
|
|
what is the server side code and client side code where it has to use
sanjeev
|
|
|
|
|
|
Hi everyone!
Currently I am investigating the potentials of browser plugins, at which I realized (beneath several other things) that the usage of webservices is very different among all available plugins. Maybe you can reassure that things related to Silverlight are as I think they are.
In case of of Silverlight 1.0 there seems to be no possibility to contact some WSDL-based webservice without some kind of a local proxy on the site where the silverlight content came from. (Typical 4-tier architecture)
For Silverlight 2.0 it says that there is planned to allow cross-domain connections (does anybody know if this will be allowed in general, or e.g. only as done by flash with some additional mechanism to define secure domains? Was there already some official statement?) and to support WS* (since I found only blogs and no official statement going into details: Does that include WS-Secure for sure?)
I am grateful for all comments, and I am open-minded about discussion!
Roland
|
|
|
|
|
Hi,
i write code in web.config like this:-
appSettings
remove key="LocalOledbServer"/>
add key="LocalOledbServer" value="Provider=Microsoft.Jet.OLEDB.4.0;data source=D:\projects\CL_London\CL_London.mdb"
in .aspx.cs
i write code like this
OleDbConnection Myconn = new OleDbConnection();
Myconn =ConfigurationSettings.AppSettings["LocalOledbServer"];
error occur like this : u can'nt implicity convert string;
pls give some idea or code for create to connection string
|
|
|
|
|
kiranmaggam wrote: error occur like this : u can'nt implicity convert string;
You cannot cast a string into a OleDbConnection object.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
kiranmaggam wrote: Myconn =ConfigurationSettings.AppSettings["LocalOledbServer"];
Did you try missing out .ConnectionString property? Try this:
Myconn.ConnectionString =ConfigurationSettings.AppSettings["LocalOledbServer"];
Also, it is customary to have the connectionstring passed as an argument to OleDbConnection() .
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hello everybody,
I want to set a div in the vartical and horizantal center of an div.
how can i set? There is a property for text-align and vartical-align but these are for text not for any element.
please help me.
Thank you.
Dipak
|
|
|
|
|
For horizontal centering you need to set the style "text-align:center;" on the outer DIV and then "margin-left:auto;margin-right:auto;" on the inner DIV. This should work for all elements in Firefox as well as Internet Explorer.
|
|
|
|
|
You are right...
You can also centralize as follow:
margin: 0 auto;
Cheers!
<div class="ForumMod">modified on Monday, January 21, 2008 5:30:29 AM</div>
|
|
|
|
|
Hi
im writing a website for an organisation which has a facebook group and to keep the facebook photo sync'ed with the websites one i have decided to use the photos off of facebook
but i have hit a glitch there is no method to support this and looking through how facebook do the photo search they use a parameter oid which is lost on me
anyway i knew if anyone has done this or would know how to i basically need to get the src locations of the photos for all the photos in the group.
using FQL i have tried many various ways and most return either errors or
and the obvious return a cannot use pid or aid without a valid uid (code 600 unknow expection)
SELECT pid FROM photo WHERE aid=mygroupid
thanks in advance for any help
|
|
|
|
|
hi all --
I'd like to have a real time visualization of all the visitors on my
website. That is, a list of all the people currently on each page,
updated in real time.
Does anyone have an approach they could share? I'm curious what
technologies people find useful for this kind of thing.
Also, if you don't mind, if you were to code something like this, how
many hours do you think it would take?
Regards
|
|
|
|
|
|
hey Johnny, thanks for the pointer. This is the type of stuff I'm interested in, but crazyegg is commercial and likely uses proprietary technology. I'm more interested if anyone knows a good way to implement this type of thing without spending a lot of money, or time.
|
|
|
|
|
There is ClickHeat. It's not as good, but it's free
|
|
|
|
|
Dear all,
i'm looking for a hosting provider and there is a huge number but i'm confused picking up one. I visited the hosting reviews for some of the hosting providers and there is a contradiction between opinions, you see a go for it somewhere and on another site some1 says no way for it!
I guess that my friends here in codeproject can help me because we are the developers and we have tried much.
So is there any recommended hostng provider for ASP.net 2.0 and SQL server 2005?
I would really appreciate quick response because I just wanna be out of this mess...
Best Regards
3ala2
|
|
|
|
|
tophosts.ca
I'm finding the only constant in software development is change it self.
|
|
|
|
|
If you are from India, check this out
http://www.squarebrothers.com/ [^]
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
I'm not from india
So is it restricted to people in india?
Best Regards
3ala2
|
|
|
|
|
just3ala2 wrote: So is it restricted to people in india?
No.
But a quick and good set of users that signup feel it is a good low cost web hosting.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
hi,
I'm workin on a web form in asp .net 2.0 and I wrote a little bit of JS in it. at first I checked it on FireFox and it was working fine but once I shifted to IE 7 (THE MASTER PIECE OF Microsoft!) it started giving errors. I've made lots of changes to chk whats going on but to no avail, now I'm offering u the code. plz have a look at it and do tell me if u have some sort of solution
this code is in a GridView's templatefield
]]>'>
Select an Option
Send to Mobile
Email it
Map it
]]>",<%#Eval("id") %>)' />
That's the JS function
function CheckMoreOptions(vid,var2)
{
var ddl = document.getElementById(vid.toString());
if(ddl.value == "Email it")
{
window.open("SendEmail.aspx?id="+var2.toString(),"411BusCar.com","status=0,toolbar=0,location=0, menubar=0, resizable=0, width=400, height=600");
}
else if (ddl.value == "Send to Mobile")
{
window.open("SendSMS.aspx?id="+var2.toString(),"411BusCar.com","status=0,toolbar=0,location=0, menubar=0, resizable=0, width=250, height=320");
}
else
{
}
}
Rocky
Success is a ladder which you can't climb with your hands in your pockets.
|
|
|
|
|
|
Doesn't the browser already report that progress to the user in the form of a progress bar?
led mike
|
|
|
|
|
|
MayyMagdy wrote: yeah, but the user will never know when it'll finish.
I don't understand. If the browser reports progress why won't the user know when it's finished uploading the file?
led mike
|
|
|
|