|
My assumption is that for opening the aspx or asmx files in Visual Studio, you need to have either the .sln file or .csproj (or.vbproj) required. Since both of them are not available, you try to open from VSS and build it again which will create the solution and project files , I mean adding all the files manually and all the corresponding references.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Thank for the reply,
but this is exactly what I want to avoid, I mean manually defining the project, adding references, resolving dependences... It's a hell.
A.
|
|
|
|
|
Ok. just try as below:
Open a blank solution from the New Project Types from Visual Studio templates. If it creates a new project solution file, then you can copy all the relevant files required to this folder and open it again.
I am not sure whether this will work or not, but give a try.
Thanks
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Can you open the folder as a website?
Open VS:
File -> Open -> Web Site
|
|
|
|
|
Hi all,
I have to import a xml file containing huge amount of data to be imported but before import I have to validate all data according to our system, if any tag has invalid value I have to show error message along with tag name and line number. for this I have used XmlDocument class of microsoft and validating each node through this class but I am unable to get line number of each node.
Can anybody suggest me how to get line number of node being processed using XmlDocument class ? or is there any other way to show line number ?
Thanks
Rohit
|
|
|
|
|
With XmlDocument you never get line number of file.
For that you need to use some different way, like StreamReader.
HTH
Jinal Desai - LIVE
Experience is mother of sage....
|
|
|
|
|
What is hook to ajax ?
Is it possible to call a client script after execution of a ajax function ? if yes, how to achieve it, guide me a bit ?
thanks
|
|
|
|
|
This website is not a school. If you're new to 'something' you google it and try to figure out how it works. Then if you still can't get it to work, you post a specific question about your problem. Posting 'Is this possible and please write some code for me' won't give a response.
|
|
|
|
|
I just want a guidance, not a lesson.....okkkkk.
|
|
|
|
|
|
|
Hi ,
iam using asp.net2.0 with c# with backend sql server 2000.
in my database some user dosent have password (null)
and some user having password .when iam checking the user it is giving message invalid user or password.
can you correct my querry which helps me
SqlCommand cmd = new SqlCommand("select * from Usersprogrammer where UserName='" + txtusername.Text + "' and OrPassword='"+txtpassword.Text+"'", con);
|
|
|
|
|
This should do the trick if I understand your question correctly
string sQuery = "SELECT * FROM Usersprogrammer where ((UserName = '" + txtusername.Text + "') and ((OrPassword is null) or (OrPassword = '" + txtpassword.Text + "')))"
|
|
|
|
|
thanks for code project team ......
this logic helps me
|
|
|
|
|
|
Hi All ,
i am using freetextbox editor in my portal to give online editor. but i want to enable toolbar always but based on some i want readonly field in content .
thanks ,
amit
|
|
|
|
|
Firstly, your question is not terribly clear - please try to clarify what it is you are attempting to do.
Secondly, have you asked the creators of the FreeTextBox? Have you posed your question on the FreeTextBox forums[^]?
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Hello all
I am new to programming. I need your help. Here is the problem-
Suppose i have a tic tac toe game and a webpage, the webpage have a link, the thing i want is When user click that link, the tic tac toe game should run?
Please help me out
Thanks
|
|
|
|
|
This is not a good approach to load a windows application from web; there are several security constraints in this. If possible you can create the game in Silverlight or Flash and host it to your webpage.
WWW, WCF, WWF, WPF, WFC .... WTF
|
|
|
|
|
Thanks Prakash for replying.
and as i said that i am new to this. So i dont know how to use flash or silverlight.
isnt there anyother way or isnt that possible they way i wanted in first post?
|
|
|
|
|
Accessing Window Application in the website is highly a security risks. You need to remove almost all the securities of IIS to do that which is like a website with free invitation for Hackers. I would suggest you to drop that thought.
Though, you can use ActiveX in your page. ActiveX is almost Window Application (actually Windows Custom/UserControl). Try writing a ActiveX in VC++ or VB6.0 as writing ActiveX in .NET is not easy.
You need to note, ActiveX will work only in Internet Explorer but not sure about IE 9.0 .
You can write an Applet using Java and embed it in the weboage which would work in most of the browser.
|
|
|
|
|
Hi All,
I have a checkboxlist(created from db) on form where user can selected multiple items when click on update button the form send the data to sql server database. This work fine, the problem I have when the user open the form for the same record number and want change the checkboxlist items. How do I go about doing this ?
For example: first time around user selected item 1,3,7,9 and 10
Second time around user selected item 2,3,5,7,9 and 10.
Any assistance is greatly apprecaited. please provide codes example.
Thanks
DocHoliday.
my code for the inserting to the db, the field that get insert are Application_id, Item# and Module (primary Key in db).
Protected Sub GetCheckedModule()
Dim MyItem As ListItem
mstrSelectedColumns = ""
For Each MyItem In chkbModule.Items
If MyItem.Selected = True Then
Session("Module") = MyItem.Value
Insert_SelectedModule()
End If
Next
End Sub
|
|
|
|
|
One, learn to format any code snippets you post here.
Bind the checklistbox to the datasource
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
DocHoliday66 wrote: when the user open the form for the same record number and want change the checkboxlist items. How do I go about doing this
You need to do the following:
1. Check the details about that 'record' number already exists or not.
2. If you find that there are items selected and saved in DB then retrieve that data using a Select query.
3. Once you have the data retrieved, go in a loop and explicitly select those items in the checkboxlist.
|
|
|
|
|
HI all friends i m stuck in my project badly i hav desind a page which should hav circle like shape of content place holder ....
will it be possible in asp.net to shape content place holder in custom as i wish
Thanx in advance friends
|
|
|
|