|
|
THANKS
the arical you gave me reference is very helpful and it solved another problem that i was facing
but here my problem is
as i write
func("vaue"); in the cs file the function is called
what i want to achieve is when i write
func("vaue"); in the textbox then on clicking the button the textbox should be executed
|
|
|
|
|
waheed awan wrote: then on clicking the button the textbox should be executed
I don't understand what you are asking for here.
Do you want something like; func("Console.WriteLine("Hello, World");" ) which causes "Hello, World" to be written to a console window?
only two letters away from being an asset
|
|
|
|
|
i want to say
the textbox will be used to write code statements and clicking the button will execute the statement written in the textbox
Example;
if in the textbox i write
MessageBox.Show("Hello");
then clicking the button executes the statement in the textbox in this case display a messagebox
|
|
|
|
|
Then read my previous response about CodeDOM, and the warning that this is VERY dangerous thing, don't do it, think of another way.
only two letters away from being an asset
|
|
|
|
|
THANKS
the arical you gave me reference is very helpful and it solved another problem of adding a class that i was facing
but here my problem is
as i write
func("vaue"); in the cs file the function is called
what i want to achieve is when i write
func("vaue"); in the textbox then on clicking the button the textbox text should be executed
|
|
|
|
|
Im my online photo album i have three tables categories, pictures, and comments
only logged in people can post or edit or leave comments. I also have a chat room that only logged on users can chat on. When you sign up for an account you add name ..password,ect,ect, and an Email address. Now here is my question, I want to have a link or button click that would say leave message..to the person that posted the pic.
What table would the Email go in the pictures or the comments,or would I need a fourth
table?
Any help on this would be greatly appreciated. I seen a working example of this at
Plenty of fish .com you click on a pic after you create an account and you will see the send message button. But you never see the persons email. I would like this but am sure i am not smart enough yet on this matter
Sincerly
Paul quinn
|
|
|
|
|
I'd imagine that the logical thing would be that a users email address is part of the table that stores login information, and the id of the user who sent the photo would be stored in the table with the photos. So, you'd use the Id to look up the email address in the other table.
This is really a SQL question.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I have a development and testing environment. I have set the the following on my web.config file:
authentication mode="Windows"
identity impersonate="true"
And I'm trying to list directories and its subfolders and files from a different file_server/shared on my page.
In my development environment, it is working fine. I was able to see the folders and files, but in the testing it is giving me:
System.UnauthorizedAccessException: Access to the path "file_server/shared" is denied.
On both development and testing IIS, I have the "Integrated Windows authentication" checked only. I granted "Everyone" and "Authenticated Users" read only to the file_server/shared. My codes are exactly the same on both environments. I'm also able to get the "WindowsIdentity.GetCurrent.Name" on both environments.
I'm totally puzzled. Can anyone help me on how to troubleshoot this?
Thank you very much
May
|
|
|
|
|
mayl wrote: I have a development and testing environment.
What is the development environment you meant to say? Is it your machine which you used for development?? Whats is the OS or IIS version used in it?
Whats is the OS or IIS version used in your testing environment?
|
|
|
|
|
Hi,
We have 2 separate servers, one for development and one for testing. The OS is Windows 2000 and IIS version 5.
thank you
|
|
|
|
|
Hi Guy
can i know about your OS and development envoriment?
becuase of if u Vista,little triky...
Cheers
RRave
MCTS,MCPD
|
|
|
|
|
It's not Vista. Both environment are using Windows
thank you
|
|
|
|
|
OK
so can u give a full rights to parent folder. or use ACL in .net
Cheers
RRave
MCTS,MCPD
|
|
|
|
|
I gave full rights but still the same problem. How do you use ACL in .net?
thank you
|
|
|
|
|
|
Hi.
I have an xsl (xml stylesheet) doc with javascript in it. I need to call a c# method (which is located in a class in my project) from within the javascript. Is this possible? If so, what's a good way to do so?
Any help is greatly appreciated.
Thanks.
M
|
|
|
|
|
Have you had a look at the ASP.net AJAX library?
|
|
|
|
|
The cleanest way I know of in terms of data transfer is the XMLHTTPRequest object, which I can't get enough of. It's fairly easy to use once you have a good set of javascript functions. There is a minimal one of these available at Quirksmode[^], which is the best JavaScript tutorial site I've come across.
|
|
|
|
|
Mmm. This is the same as the underlying concepts in the AJAX framework. It just provides a simple way of making callbacks to your codebehind rather than just to web services. All much of a muchness really.
|
|
|
|
|
Yes, the AJAX framework is built on this class.
|
|
|
|
|
Amazing how many times wheels get recreated.
only two letters away from being an asset
|
|
|
|
|
I have an application where I'd like to read a javascript source file and generate a document object tree for the content that I can extract/examine elements from. I started by writing the lexical scanning logic by hand but have run into javascript syntax that breaks my initial scanning logic, so I determined that I really need some sort of parser that can construct a full grammar tree for the source being read.
I've found comments about Bison and CodeCOM that seem to imply this is possible, but I am having difficulty figuring out exactly how to do this or if in fact it will end up being more difficult then to just continue polishing my lexical scanning logic.
Can anyone point me to documentation or examples that discuss or illustrate doing this? My application is being written in C# and running as a local windows client app.
Thanks.
-b
|
|
|
|
|
Neat. I'd go with finding a parser; there are so many special rules, escape characters, etc. etc. etc. that it's a huge project to write your own. Let us know when you're done, though.
|
|
|
|
|
I have a localreport that show/hide columns according to a hidden parameter value which is set during runtime (this works fine). I want to resize the width of the report at the same time. Is this possible?
|
|
|
|