Hi I have url "https://login.live.com/login.srf?wa=wsignin1.0&wtrealm=http%3a%2f%2fcorp.sts.microsoft.com&wctx=7b4cd04b-7dc2-4880-9f77-20c8c6ef64c4&wct=2013-03-11T06%3a54%3a42Z&whr=uri%3aWindowsLiveID". I want to get htmlcotent of this webpage asstring. My Code Looks like this...
<pre lang="c#">WebClient wc = new WebClient(); string html = wc.DownloadString("url");
I have three textboxes and one button. In that first text box for find the text and second for replace text and third for multiline text box contain one paragraph. When i click the button the multiline textbox para change according that two textboxes. plz help me to do.. thank you..,,
What have you tried so far? You have to be specific on what is troubling you.
To start with, follow the steps (for client side implementation - my preference):
1. Define a onclick button method A
2. In the method A, get textbox1 & textbox2 text. Now you know what needs to be replaced with what.
3. In the method A, get textbox3 text. You plan to replace textbox1 text to textbox2 text in this.
4. Define another method B, pass 3 parameters to it - fromText, toText, paraText
5. In method B, define a regex to replace in paraText - you got all the things you need
6. Once done, set the new text in the textbox3.
Thanks for replying frnd., for example multiline textbox contain one para and the first textbox for find so i enter "is" and the second textbox for replace so i enter "are". when i click button, in the multiline textbox para has to change "are" wherever the word placed "is". i need coding for this using C#.
I am personally not a developer. However, I am leading an application project from the business user design perspective. As a result, I am not sure which forum or forums this would best to post a question to, and guidance on that is certainly appreciated, but I selected this forum because I know the developer we are considering working with is using ASP.NET along with jQuery and ADO.Net.
Anyway, my question is, we were hoping to developing an input screen for financial statement line items (such as monthly revenue, monthly cash balances, etc.) that would appear as rows, with an input box for the current months data, and then alongside those input boxes would be one or more columns (i.e. by "columns" I mean visually on a grid/matrix chart like a column in an Excel spreadsheet) containing the same monthly data for prior months (and or sums of multiple months) drawn from fields previously input (or calculated) and saved in the database.
The developer we are talking with has come up with a tools that allows a next best solution in which the months appear as rows and the line items like revenue are columns. However, he is not aware of any tools allowing the webpage layout the original way I described which is simply inverted. I believe this developer is highly knowledgeable and experienced, but even people like that do not always know of everything out there, and given that plus my curiosity to learn knew things, enjoyment of research, the challenge, and ultimately the preference for having it set up the way we like, I figured that I would take a shot in the dark and ask if anyone either knows of a potentially suitable tool or solution, or if anyone might be able to point me in the right direction of someone else who might know where I can look.
Thanks in advance for any help and guidance and I appreciate your time in looking over my novice question.
I appreciate the guidance and feedback. I figured it must be possible as you suggest, and I don't view that he was saying it was impossible, but he indicated he really couldn't estimate what it would take. However, he apparently found some previously created tool or template he could use make the grid appear in the opposite direction. We don't have an unlimited budget, so probably a second best option much cheaper makes more sense. It just a little surprising to me more people wouldn't have developed something like that before.
I don't make it a practice to reuse code, unless I know that certain pieces of code will do the trick, because it's the same in functionality.
That's up to the creator, my years of experience says that if it's not the same thing, start from scratch and build it up.
As far as no one writing that, I sure it's been written already, someone doing government work or a corporate programmer writing for in house stuff.
Most people don't share code, except for scripts, which are a dime a dozen.
Based on your feedback, in which he has something that he can tweak, and can't give you a firm price, he must not be the author of the code, and does not fully understand how it works. So he may be easter egg hunting on how to customize it for you.
You really need to look for experience, most times it's cheaper, and you'll get a fine product the first time round.
With great diffculty was able to set up the Website Administration Tool on the web server, with a copy from my laptop running Visual Studio.
I ran the aspnet_regsql.exe, and set up the database to connect. All the tables related to this app was created in this database.
Using IIS 7, was able to change the connection string, to reflect to this database.
Now, when I click on "Security" tab, it comes back with "Object reference not set to an instance of an object." It also states that the role Manager is maybe not enabled. Where do I enable this roleManager?
I am working on a Web project .What Databound Control i have to use for Quick Posts Like We can Do With Facebook. can it be possible with Repeater Control.
for Ex: in Facebook .. Whats on your Mind..? than we insert in text Box and at the same time it appears on the Posts section... Please suggests me..????
Nutshell: ASP.NET does NOT have any inbuilt API support to send out an SMS. You need to go for a third party solution or use something that is found on the Internet. Articles and discussions above should help you out.
Hi all, I want to host my Asp Dot NET web application project in to my client’s server. The web application project should have a License key that will be valid for certain years. After that particular year ends the application should expire if not renewed before the expired date…could you please tell me how to achieve this…I am feared that he may crack the DLL with dot net reflector or any -compiler to find the logic If I have that in CS file. So could you please help me to find the best way to achieve this and how to achieve this in detail?
should have a License key that will be valid for certain years. After that particular year ends the application should expire if not renewed before the expired date
Above two contradict each other.
You need a license key for a desktop application and not a web application. For web application, if you want to have a 'validity' involved, you need to keep track of user's registration data with you. Post a defined period you can disable the user. You host the application on your server and share the url with client. Your application internally talks to a database that tracks the data of registration and other details.
There are license key generators out there if you search, it's basically string manipulation, in which you run a function against a pass phrase like the domain name, to generate a key like the Microsoft one. But now you have to decide what to run the key generator against.
i am having x.aspx radwindow page which contains 5 tabs,
if i click the 5th tab( Delete user), radwindow pop up will be dislayed with option ok and cancel, if i click ok.. i am closing the popup and coming back to the 5th tab(Delete user), if i am using the following code,
I get an IE7 popup dialog, saying
"To display the webpage again, Internet explorer needs to resnd the Information you've previously submitted. If you were making a purchase ...blah blah
with Retry + Cancel buttons
if i use the below instead,
i am not getting an error as explained above but it is navigating into fist tab( Request user)...
Tried all the option like
can u share ur thoughts as soon as possible..... plz...
First thing is to check if it is specific to RadWindow or with normal browser window too? If it is for the third party control, it is always good to look at their support forum and see if something similar is already discussed there.
Never use string concatenation to build a query, not even for a quick sample. Use a parameterized command instead:
using (var connection = new SqlConnection("connection string here"))
using (var command = new SqlCommand("select * from table where age between @startdate and @enddate", connection))
var adapter = new SqlDataAdapter(command);
var table = new DataTable();
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
I am trying to access(Read) the Smart Card within my Asp.net C# web app. This is so the client can use smart card login instead of using a user name and password. All I need is to be able to read the data in the Identity of the smart card, especially the Subject which I parse and compare to the user account on my database. I am having trouble locating the classes and logic for reading this smart card. On one of our other systems, we use CAC login with the Active Card manager and that works correctly, but it will not work with the 90Meter Smart card. If anybody can help with this, I would appreciate it.
Am sending mails to a group in outlook,the group consists of many users and when the user opens the mail i want to know which user is opened that mail and send it as a response. Currently am adding an image in the mail so on load of the image am calling some url where i can know that some user has opened the mail but i need email id as a parameter to the url. Could you please let me know how can we do this in outlook to get the user mail id. do we need to write any macro or anything??
What is the best choice for desktop application development.
Please suggest front-end and back-end list..
I want to develop desktop application, that application may use my client in their own group data transaction in internet.
We already developed our desktop application in oracle and d2k platform...Now we want to change platform.
Windows desktop applications and Web applications are totally different and you cannot mix them together. If you are developing a system that will be used by remote clients then you will need to create a web application: start at the ASP.NET web site for tutorials and samples[^].
Then how is possible to run desktop application in internet ...more than the persons and various location...Please help me ..I want to develop my own desktop application that should be used in internet for my client..They will be used their own data transaction from various location. Please suggestion for that which is the best choice for front-end development and back-end. Pls mention.
Windows Form / Windows Application and Desktop Application are those application which run in windows operating system in desktop mode not in web mode having different structure than web and hence they are run through executable and after publishing your source code you can upload it to live server.
Desktop Application create through File => New project in Visual Studio .net and chose the language in which you want to develop most widely used are C# and VB .
The Best backend database for application is Microsoft SQL Server.But depend on Requirement you use oracle, mysql or attach any other oledb.
Last Visit: 31-Dec-99 18:00 Last Update: 27-Jun-16 0:16