|
|
Hi,
Depending on your Visual Studio settings, when you create a new file/class in App_Code its "Build Action" is set to "Content" so you never get to see any errors in that file. To see any errors (if any!) right-click the file and select "Properties" (or Alt-Enter).
Change your "Build Action" from "Content" to "Complie".
Use the link in the above answer to help with References/Namespaces
GudLucK
|
|
|
|
|
Hi,
I want to replace the wildcard character '&'.
Actually Entering the & as a input in search criteria gives all records.
I want to replace that character so that i won't get any record for that.
I am using Oracle as database.
Thanks,
Umesh Tayade
|
|
|
|
|
oracle syntax replace('My&String', '&', '');
C# syntax string newString = "My&String".Replace("&","");
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.cacttus.com
|
|
|
|
|
Hi,
Thanks for Answering, but replacing it in that way it gives all the records from the database.
I have replaced the & by Ascii value of it(&) and its working.
inputSQL.Replace("&", "&");
Thanks,
Umesh Tayade
|
|
|
|
|
Hi,
I got the Answer. I Replaced & by ascii value of it(&).
Its Working.
|
|
|
|
|
I have a XmlDocumentFragment whose InnerXml is =
<n1:Item xmlns:n1="http://abc.def.sg/XMLSchema/Web/Services/MyWebServiceContracts"><br />
<n1:Text>Level1A_Text</n1:Text><br />
<n1:Value>Level1A_Value</n1:Value><br />
<n1:Items><br />
<n1:Item><br />
<n1:Text>Level_2A_Text</n1:Text><br />
<n1:Value>Level_2A_Value</n1:Value><br />
<n1:Items /><br />
</n1:Item><br />
<n1:Item><br />
<n1:Text>Level2_B_Text</n1:Text><br />
<n1:Value>Level2_B_Value</n1:Value><br />
<n1:Items /><br />
</n1:Item><br />
</n1:Items><br />
</n1:Item>
How do I programmatically bind my drop down list control to this XmlDocumentFragment.InnerXml such that it goes to "Item/Items/Item/" and my ddl gets value from Value and text from Text? Thank you many in advance. ps most examples I have seen are bound @design. The programmatic ones aren't too clear.
----------------------------------------------------------
Lorem ipsum dolor sit amet.
|
|
|
|
|
You can say, something like:
DropDownList1.DataSource = doc.ChildNodes[0].ChildNodes;
DropDownList1.DataTextField = "InnerText";
DropDownList1.DataValueField = "InnerText";
DropDownList1.DataBind();
you ahve break up precisely at required parent.
***** Programme comme si dept soutien technique. est plein de tueurs en série et ils savent adresse de votre domicile. *****
|
|
|
|
|
|
|
As Andy has said this is not the place for this type of question.
The article in question is still in a composing status and has not been published. Also there are comments given that it needs work before it can be approved.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Could still be in adjudication.
Patience friend, you will be notified one way or another.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
I asked the same question about C# and the guys said C# will be around for a long time.
What about ASP.NET? will it be that popular as it's now after 5 years?
|
|
|
|
|
All platforms including .Net have the strengths and weaknesses.
I think, Visual Studio is key to asp.net doing well.
The big-picture advantage of .Net( & ASP.Net) is rapid application development.
Ajax tool kit is cream to it.
It has bright future in near year and far 5-7 years at-least.
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
|
|
|
|
|
You are super natural user. You should already know this
|
|
|
|
|
My abilities are gone
|
|
|
|
|
must be the kryptonite...
|
|
|
|
|
I think Asp.Net is a rapidly growing platform. And Future of it is very bright. I hope in future it will support more languages.
|
|
|
|
|
Are you talking about the .net framework or more specifically the ASP.NET methodology of web site creation.
In my opinion the .net framework is well supported MS and will be with us for a long time still....
As for the ASP.NET methodology for web site creation, well this is still heavily supported by MS however in they own unique style they have come up with other offerings such as MVC (which may not be for everyone) to act as competition. But over all I think it will still be here for a while.
As with your C# question it’s all about support, the MS platform is still the most dominant and as long as MS support the product then it'll be here for some time to come...
|
|
|
|
|
Might be here till Microsoft drops!!
|
|
|
|
|
Undoubtedly.
There is too much invested in the technology to let it die.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
hi
my senario is i have one desktop application and one remote service for server
now if i want to connect then i m using http channel with binary formatter now my problem is by using my code i can open one instance at a time for other it will give me error saying
only port is normally allowed....
i want to run mutliple exe or instance from same machine which will utilize remote services on server
please help me ,,
below is my code.
IDictionary props = new Hashtable();
props["port"] = TechnicalSettings.RemotingServerPort;
props.Add("typeFilterLevel", TypeFilterLevel.Full);
BinaryClientFormatterSinkProvider clientProvider = new BinaryClientFormatterSinkProvider();
channel = new HttpChannel(props, clientProvider, null);
ChannelServices.RegisterChannel(channel, false);
var server = string.Format("http://{0}:{1}/RemoteOperation", TechnicalSettings.RemotingServer,
TechnicalSettings.RemotingServerPort);
_remoteOperation = (IRemoteOperation)Activator.GetObject(typeof(IRemoteOperation), server);
_exist = _remoteOperation.TestRemoting();
Reasons are not Important but Results are Important.
http://www.sql4professional.blogspot.com
Swati Tripathi
|
|
|
|
|
There will be channel setting on remote server as
say eg:
<channels>
<channel ref="http" port="1234">
<serverProviders>
<formatter ref="binary" />
</serverProviders>
</channel>
</channels>
You can specify multiple channels with different port and create/call different instances of required exposed port.
// ♫ 99 little bugs in the code,
// 99 bugs in the code
// We fix a bug, compile it again
// 101 little bugs in the code ♫
|
|
|
|
|
|
thanks for your reply.
can u pls give me any help link for such senario.
because my senario is
i have one server i ll install my remote service and window application over der
now my client(desktop application) will connect to server using one port i.e. 1069
now i want to give mulitple access (RDP) to say 5-10 users now they all will login and will run the same exe but i think its not possible
i m not sure about it
wil u pls give ur glance to such senario and let me know wht can be possible in my senario
y we want to put remote service and desktop application on same machine and then give to rdp because when users are connect from theri own machine then system is not responding as quick as we have too.
Reasons are not Important but Results are Important.
http://www.sql4professional.blogspot.com
Swati Tripathi
|
|
|
|
|
Can a web application run without Web.Config, If Yes then How?
One person's data is another person's program.
--J.Walia
-- Modified Friday, May 13, 2011 11:47 AM
|
|
|
|