|
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 ..
|
|
|
|
|
Member 3169981 wrote: XmlTextReader xtr = new XmlTextReader(rep.GetResponseStream());
DataSet ds = new DataSet();
rep.Close();
ds.ReadXml(xtr);
Its Because You r closing the response before reading.
Try to do linke this
ds.ReadXml(xtr);
rep.Close();
Why Do People Forget To Mark If it Helps
If It Helps Click It as Answer
|
|
|
|
|
hi actully i remove it..but problem is still same...
Is it because of feed url
http://www.morningstaradvisor.com/rssdata/xml/getrssdata.xml
is not opening on live server browser but when I try it with IP Address then it's opening without problem..
|
|
|
|
|
The Request Is Coming Blank .There is no Request coming from the site and the other problem in ..!It Is not in the format of XML.I am Going May the Group Hels You
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Member 3169981 wrote: http://www.morningstaradvisor.com/rssdata/xml/getrssdata.xml
This link works fine for me from the UK, using FireFox 3.5. and IE8.
|
|
|
|
|
Hi,
I have made a class of CompositeControl and when I use AjaxControlToolkit.FilteredTextBoxExtender on it, it gives the following error:
<br />
'AjaxControlToolkit.FilteredTextBoxExtender' cannot extend controls of type MyClassName<br />
I have also tried to implement AjaxControlToolkit.IControlResolver on my class but didnt work.
Please help.
|
|
|
|
|
hi sir,
i have a problem while i am trying to open my crystal report for web application on another system.i have all the dll's for crystal report in web application folder during making setup for this.but now when i am trying to open report on another system it gives me error.actually i have found following error message.
*************************************
An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.
*********************************************
please give me proper guideline
|
|
|
|
|
vikas shukla wrote: i have all the dll's for crystal report in web application folder during making setup for this
This won't be sufficient. The error message says you need to install Crystal Reports redistributable.
|
|
|
|
|
sorry sir,but i am unable to understand you.
but thanks for your suggestions.
my problem has solved.
|
|
|
|
|
Hello Vikas,
Can you tell me how you solved that Crystal Report problem?
I am also facing same problem after server is changed to 64 Bit processor and OS.
Regards,
Girish
|
|
|
|
|
Hi
can any one healp me
In my custom server controls library, I would like to include an aspx page I created that to get some data from user and sage to database
I was hoping I could embed it as a resource. The property page allows me to set the build action to "Embedded Resource" and it compiles it into the .dll just fine. However, when adding the WebResource assembly attribute to the AssemblyInfo.cs file, I don't know what content-type to use. I also thought I would need to set PerformSubstitution to true.
However, after some reading, it appears that this won't work as .net will not actually parse/compile/execute the resource as a .net page.
<Assembly: WebResource("Name", "Content Type", PerformSubstitution:=True)>
Can you please give me content type for aspx page
The Value Has Its Value Only Its Value Is Valied
|
|
|
|
|
I think it would be text/html
|
|
|
|