|
i have an application developed in VS 2005.while running in Mozilla fire fox it is showing Server connection error. but in IE,it is running fine.
that is,i cant connect to local server when i am using mozilla fire fox.
i think i set fire fox as default browaser while installing..how to rectify this problem? how can i set IE as default browser again??
"I am burning...the only thing rest in me is you..."
|
|
|
|
|
accessred wrote: while running in Mozilla fire fox it is showing Server connection error.
It's strange. Can you show us the code that you wrote for connecting the database?
accessred wrote: how can i set IE as default browser again??
If you are using IE7, there is an option that you can set the IE as the default browser in Internet Option.
OR
Go to "Set Program Access and Defaults" and there is an option for that. You will know what to do if you are in that panel..
|
|
|
|
|
no database..even a simple default.aspx is not running bcos of this problm..it showing the error "cannot connect wth the local server"..
u mentioned:Go to "Set Program Access and Defaults" --where is it? in control panel?i tried wth the specified option in IE and mosilla..but no use.
"I am burning...the only thing rest in me is you..."
|
|
|
|
|
accessred wrote: "cannot connect wth the local server"..
Looks like something broken with firefox. Are you using Sharepoint ? I have heard such an issue with sharepoint applications.
|
|
|
|
|
i am not using sharepoint..i ve uninstalled mozilla also..but still the problm is there..may be that is prblm wth my frame work or iis..
"I am burning...the only thing rest in me is you..."
|
|
|
|
|
It's strange. Do you have any special entry came in the event viewer ? That might help to find the problem.
|
|
|
|
|
I am new at the .net thing but I have worked a lot with access SQL. I understand the basics of getting to the data ie dropdownlist, gridview, detailview and formview. My problem is How do I get this statement in asp ( my value = forms(x).theitemIwant. I would like to pull an item from a gridview say a specific product id or product name. I appologise if this is too easy but I am pulling my hair out here. HELP!
|
|
|
|
|
You have to loop the Gridview row by row. .
|
|
|
|
|
|
SreejithAchutan wrote: sqlstatement &= "AND ((UserDtl.FName LIKE '%" & membername & "%')OR(UserDtl.FName " & "'" & Replace(Trim(membername), "'", "''") & "'" & ") OR (UserDtl.LName LIKE '%" & membername & "%') OR (UserDtl.MName LIKE '%" & membername & "%'))
You need to replace ' with '' (double "'").
For example.
<br />
membername = Replace(membername, "'", "''")<br />
<br />
sqlstatement &= "AND ((UserDtl.FName LIKE '%" & membername & "%')OR(UserDtl.FName " & "'" & Replace(Trim(membername), "'", "''") & "'" & ") OR (UserDtl.LName LIKE '%" & membername & "%') OR (UserDtl.MName LIKE '%" & membername & "%'))"
Hope it helps.
|
|
|
|
|
I want to include like statement also in search condietion.Please change the code i had given and send to me.
|
|
|
|
|
SreejithAchutan wrote: I want to include like statement also in search condietion.Please change the code i had given and send to me.
I already gave you the code.. Just the line that I make it bold before your statement..
|
|
|
|
|
Along with the like statement we can include the replace statement or use it as in the code .
|
|
|
|
|
Just copy this code. Okay?
sqlstatement &= "AND ((UserDtl.FName LIKE '%" & Replace(Trim(membername), "'", "''")& "%')OR(UserDtl.FName " & "'" & Replace(Trim(membername), "'", "''") & "'" & ") OR (UserDtl.LName LIKE '%" & Replace(Trim(membername), "'", "''") & "%') OR (UserDtl.MName LIKE '%" & Replace(Trim(membername), "'", "''") & "%'))"
|
|
|
|
|
I given like that but again an error occurs that Incorrect synatx near souza.
The code will be attached below plz check it and help me...
sqlstatement &= "AND ((UserDtl.FName ='" & Replace(Trim(membername), "'", "''") & "') OR (UserDtl.LName LIKE '%" & membername & "%') OR (UserDtl.MName LIKE '%" & membername & "%'))"
|
|
|
|
|
|
SELECT *
FROM dbo.a
WHERE (a LIKE '%d''%')
this will match
sfvvsf d'souza
svd'a
d'e
d'r
etc
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Thanks For your kind reply i Got it what i need.
|
|
|
|
|
I am having a grid view with check boxes assigned to each row.when i check them and click a button print i should dynamically take the grid views assigned to them and print pages accordingly.
|
|
|
|
|
use GridViewRow class from selected index for gridview and print it in predefine format !!!
|
|
|
|
|
how to add the wc report grid view contol in asp.net which was given in the article http://www.codeproject.com/KB/custom-controls/GridViewPrinting.aspx
|
|
|
|
|
Have you asked the author? Have you done even a cursorary search of how to use web controls?
only two letters away from being an asset
|
|
|
|
|
I am working on a ASP.net 2.0 website. I've set up a virtual directory thru iis on my machine and the site is functioning properly. Now, I copied all the aspx pages with the access database using my ftp login. I am recieving the following error:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: The format of the file 'Microsoft.VisualStudio.DebuggerVisualizers' is invalid.
Also, at end of the error message it says this:
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
I believe it should say 2.0. What am I doing wrong? How to correct this?
|
|
|
|
|
Civic06 wrote: I copied all the aspx pages with the access database using my ftp login. I am recieving the following error:
From where are you copying the file ?
|
|
|
|
|
The database is placed in the App_Data folder. The entire folder which contains all the .aspx, .cs, .mdb files are moved using the FTP login onto appsitehosting.com.
|
|
|
|