|
Mark Nischalke wrote: You didn't even know what a PageMethod was an hour ago, why would anyone take advise from you on this subject. The OP knew more than you.
Yes, i wasn't aware with this 1 hour before. but in this 1 hour a fast learner can learnt upto any level.
and if anyone don't wanna follow anyone's suggestions than its one's own decision. noone can do anything in this.
Mark Nischalke wrote: Give the OP some credit (until proven wrong) he could do a Google search as well.
have u opened that link once? i have included the link with it coz it telling us how to call the page method and the way was quite different than he is calling.
|
|
|
|
|
Nisha Agrawal wrote: in this 1 hour a fast learner can learnt upto any level.
Since this is a public site let me phrase it this why, you're full of excrement!!
only two letters away from being an asset
|
|
|
|
|
Mark Nischalke wrote: Since this is a public site let me phrase it this why, you're full of excrement!!
I wanted to say same thing. It's a public n technical forum where u are using so abusive language now.
|
|
|
|
|
hi sir
please help me.
sir i have a crystal report for my web application.the problem is that it varify login and password of database before show the report.but i want report should not ask for login password.the application is in asp.net.
|
|
|
|
|
Then delete the code that does it, duh!
What a useless question...
var question = (_2b || !(_2b));
|
|
|
|
|
Tht Not His Question?
Its Will ask hte username and password of Database .
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
I stand corrected.
Your reply was even more useless.
var question = (_2b || !(_2b));
|
|
|
|
|
Check The Crystal Report Render Username and Password
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Hi All
My requirement is like codeProject...
when I search my forum caption in google...it gets listed in the top.
My requirement is we have a news section, when the user search the caption tile in the google ..related news should display in the google..
Please help me with this..
Thanks in Advance
Ramkumar
|
|
|
|
|
|
Hi All,
I'm working on a online survey. What I have accomplished is reading the table A (contain Question) and table B (contain Answer). I used Response.write() to format it to look like
Section 1
-------------
Question 1 | Answer 1 | Answer 2 | Answer 3 | Answer 4 | Answer 5
Response.Write("<input id='" & "rad" & radIDCount & "' name='" & subDataReader("QUESTION_ID") & "' type='radio' value='" & subDataReader("ANSWER_ID") & "' runat='server'/>")
How do I loop thru all the radio button and submit the answer to the oracle database? I tried the FindControl but i get no luck. Someone guide me to the right direction?
thanks
|
|
|
|
|
STI06 wrote: How do I loop thru all the radio button and submit the answer to the oracle database?
Given that you don't create any sort of server controls at all, your only chance is if you look at the form variables and can find the one for your radio button by name in there.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi,
can u explain briefly? which datacontrol used to bind the value?
|
|
|
|
|
thanks for reply. I have add the placeholder at Page_load and now I'm able to the find control. How do I check the value of the radio button in the FindControl?
Dim radValue As New RadioButton<br />
<br />
radValue = phControl.FindControl("rad1")<br />
<br />
If radValue.Checked = True Then<br />
Response.Write("I'm selected")<br />
End If
Now I want to find the value of the radio button. any help?
|
|
|
|
|
Hello Every One
I want to upload my Applcation On Net for that i wrote a connection string in
Web.config file like:
<add name="ConnectionString" connectionString="Provider = Microsoft.Jet.OLEDB.4.0; Data Source =ftp://174.143.263.188/db/ConReg.mdb;Initial Catalog=Cong.mdb; User id=Admin; Password=Admin;Integrated Security=True"/>
but the problem is my Default.aspx page is displayed on browser correctly now i wrote method to fill combobox on page load event but i think due to error in this string the combobox is not filled..
This applications runs correctly on my remote computer but shows problem described above when i upload it on FTP after Publishing my website...
Please Suggest what shall i do..
Thank You.
|
|
|
|
|
I can tell you for sure that I cannot FTP to that IP address from my machine here. I guess that perhaps your web host cannot, either. Why are you not hosting your database on your web host ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
nazimghori wrote: Data Source =ftp://174.143.263.188/db/ConReg.mdb
Not sure this would be a valid way. JET driver can manage the local file systems but I don't think it can do a FTP handshake each time you request a database operation.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Why do you require FTP location to point your database.
FTP is a protocol used to pass commands which can download or upload some files to a specific location. There will not be any direct connection to an FTP file. You only can buffer a portion of a file using FTP file commands.
So in your case there is no way to handle ftp data source. Try downloading the file ConReg.mdb to your current location or use Unc path to point the mdb file.
|
|
|
|
|
Hi i am facing a error on live server when i try to to fetch RssFeed from third party url...
it working fine on local and testing server..
Error is...
System.Net.WebException: Unable to connect to the remote server
|
|
|
|
|
It means what it says. So, work out why.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Here is a function which are we using for importing rss feed.....
public void getRss()
{
WebRequest rssReq = WebRequest.Create("http://www.morningstaradvisor.com/rssdata/xml/getrssdata.xml");
WebProxy ps = new WebProxy("http://www.morningstaradvisor.com/rssdata/xml/getrssdata.xml", true);
rssReq.Proxy = ps;
rssReq.Timeout = 50000;
try
{
WebResponse rep = rssReq.GetResponse();
XmlTextReader xtr = new XmlTextReader(rep.GetResponseStream());
DataSet ds = new DataSet();
rep.Close();
ds.ReadXml(xtr);
rssRepeater.DataSource = ds.Tables[3];
rssRepeater.DataBind();
}
catch (Exception ex)
{
throw ex;
}
it gives error.....
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 216.228.228.150:80 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at _Default.getRss() at _Default.Page_Load(Object sender, EventArgs e)
|
|
|
|
|
|
Hi Sashidhar..
Here is a function which are we using for importing rss feed.....
public void getRss()
{
WebRequest rssReq = WebRequest.Create("http://www.morningstaradvisor.com/rssdata/xml/getrssdata.xml");
WebProxy ps = new WebProxy("http://www.morningstaradvisor.com/rssdata/xml/getrssdata.xml", true);
rssReq.Proxy = ps;
rssReq.Timeout = 50000;
try
{
WebResponse rep = rssReq.GetResponse();
XmlTextReader xtr = new XmlTextReader(rep.GetResponseStream());
DataSet ds = new DataSet();
rep.Close();
ds.ReadXml(xtr);
rssRepeater.DataSource = ds.Tables[3];
rssRepeater.DataBind();
}
catch (Exception ex)
{
throw ex;
}
it gives error.....
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 216.228.228.150:80 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at _Default.getRss() at _Default.Page_Load(Object sender, EventArgs e)
|
|
|
|
|
Did you test whether you are able to access those URLs using the Internet Explorer of your web server?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
No it gives me Error...
The page can not be displayed
.
.
.
.
where as other are opening easily ..
|
|
|
|