in a web page i can fill a form and after submit a was redirected to a confirmation page and there, i must confim and then it's submited.
i'm creating a bot for filling the form but i idn't know how to do it in just one step. this means to send information and confirm withoud waiting for loading confirmation form and then confirm that.
Ranking of CONTAINSTABLE StatisticalWeight = Log2( ( 2 + IndexDocumentCount ) / KeyDocumentCount ) Rank = min( MaxQueryRank, HitCount * 16 * StatisticalWeight / MaxOccurrence ) can anyone explain this algorithm, more importantly i want to know about these variables used in this algorithm, whats their purpose?it would be more useful for me?
Well i am just trying to test interoperability between ASP.net And Java web services, wanted to know what are the INTEROPERABILITY issues concering DATA TYPES that are there between the 2?
I have a thread running in the background that will sleep and pull data from the database when something wakes it up. I am sending the emails using google apps using SmtpClient (code below).
I wanted to know if there is anything i be aware of? I plan to send only one email at a time (a registration or forgot password email). I am a little worried something can happen like an invalid email locking up the thread because i didnt set a timeout or maybe google apps happen to be done and causing the app to blow up. What should i be aware off? I should ask how i should test as well?
I am making an online form (literal form) that needs to have a certain function: when the user enters a 5-digit number, the form should automatically query the MS SQL DB and retrieve information associated to that number and populate other form elements (text boxes, etc.) accordingly.
So say the # was 12345 and in the DB, the record matching 12345 has name=Fred. So, when I enter 12345 into the form textbox, the name text box should be automatically populated with Fred in it.
If this is not easily achievable, I guess a submit button beside the 5-digit number text box can do.
I am still learning my way around ASP.NET and Visual Studio 2005, however I have ample experience with HTML, CSS, JavaScript, C/C++. The ASP.NET app is to be written in C#.
what is MVC , what is the use of mvc and what i need to learn the MVC, what are the initial requirements for the Learning and MVC is a three tier architecture or not.
I am new to ASP.NET. Presently I have also been reading Object Oriented Programming(OOP).Could someone give me some simple examples how OOP are used in asp.net
Currently I'm using asp.net 2.0 for my current project. I want to have complete log information like insert,inserted by, updated , updated by, what are the things being inserted or updated and person who making all these changes, every thing i want to keep information..
The above url contain several information .From this url i just want to get bellow information.How to?
Price Earning Ratio : at a glance on Aug 2, 2010 at 11:28:00
I want to know how to get url information into a variable or some storage container in C#.Specific i need above information ,i don't need rest of information. I use the bellow syntax:
WebClient objWebClient = new WebClient();
aRequestHTML = objWebClient.DownloadData("http://www.dsebd.org/latest_PE.php");//http://www.dsebd.org/latest_PE_all2_08.php UTF8Encoding utf8 = new UTF8Encoding(); myString = utf8.GetString(aRequestHTML); HtmlDocument htmlDoc = new HtmlDocument(); htmlDoc.LoadHtml(myString);
After that what to do?i don't guess any thing.Plz show some syntax
foreach (HtmlNode node in doc.DocumentNode.SelectNodes(@"//td"))//td[text()="Price Earning Ratio : at a glance" { if (node.InnerHtml.Contains("Price Earning Ratio")) { //I get the td value } //[text()=Price Earning Ratio : at a glance // do stuff with node //@"//td[text()=Price Earning Ratio : at a glance" }
After add the above syntax i get the bellow out put
<br> <font color="#FFFFFF" size="3" face="Arial"><b>Price Earning Ratio : at a glance <b> </b></b></font><br> <font color="#FFFFFF" size="2" face="Arial"><b> on Aug 2, 2010 at 17:04:00<b></b></b></font> <br>
From this i just want to get the Date part .HOw to ?With out this date i don't need any thing.Each day this date will change,It's dynamical date,so i can not inline this date.From above out put how i get the date .
i have id as TCS ,IBM in my db.When i m giving in drop down text as tcs and values as tcs i need to show in view as tcs (tata consultancy services) like this i want to give some description for the in drop down list box..how can i add this information.
Now this code does run through all the images, but i need to alter the querystring and make it change to match the ID of the photo displayed. I tried adding QueryStringField="String" but this was hopeless.
I have a querystring like so:-
Quote:
[URL]
When i click on next image i need it to change to something like:-
Quote:
[URL]
See the PhotoID has changed. But it currently does not do this. When i arrive on the page the PhotoID stays the same. I have been trying for a while and im starting to give up!
I have a page on which I generate a load of html which is used in a html email.
Here is a bit of the code ...
Code:
[code]....
Because of the problems getting the email to look the same in various email clients, I need to convert that chunk of html to a pdf - so I can create the pdf on the fly, save it and attach it to the email.
Can anyone suggest a simple pdf generator that will just take a chunk of html and create a pdf from it? The ones I have looked at so far have what looks like a steep learning curve with hundreds of features I don't need.
I know that in a web site project VWD will cram all the files into 1 specified folder which holds all the peices of your site together in a nice little container.
However, in a web based application (rather than web site) you have a similar folder but it contains a solution file; people often say this has more advantages, but from my early days of learning what would those advantages be?
I need to know Is any tool available for Asp.net ?
My running website is sometimes getting too slow, So that I want to know where it happen. Also My Higher person asking Profiler report. Can anyone tell me how it looks?
I need to know is there any way to separate the classes automatically created by Entity framework. I can not use POCO template. because I have restriction to use framework 4.0 for time being.
var idObjects = Spring.Context.Support.ContextRegistry.GetContext() .GetObjectsOfType(typeof (ICustomInterfaceThatDoesSomething)); foreach (ICustomInterfaceThatDoesSomething icitds in idObjects.Values) icitds.DoSomething();
Is there a way i can avoid this by having spring.net automatically inject the singletons to a property i declare, like an array of ICustomInterfaceThatDoesSomething?
The only reason i want something like this is because i want to kill the .dll dependency on the project and this is the single point of usage.