getting values from a web form to windows form
Hot Requirement .....
Is there any possible of getting values from a web form to windows form ?????
One way i to use the WebRequest and WebResponse classes of the System.Net namespace.
WebRequest request = WebRequest.Create("URL of the web page);
WebResponse response = request.GetResponse();
StreamReader reader = new StreamReader(response.GetResponseStream());
string content = reader.ReadLine();
Reza Nassabehwww.professionalcsharp.comDon't forget to click "Mark as Answer" on the post that helped you. That way fut...Passing Values from a Web Form to Another Web Form
I am trying to pass values from one web form to another web form. I know that there are 3 ways of doing this: queryString, Server.Transfer and Session. I am using the Server.Transfer method. But I am not able to create, in my 2nd web form, an instance of my 1st web form. My 1st Web form is named CallTrack.aspx and my 2nd is named Export.aspx.
What I mean is something like this: Public value as CallTrack. I can't create it in my 2nd web form because when the intellisense is displayed, there's no CallTrack in the options.
How about using cross-...VB .net Web Form will not get contents of Text Box
I have created a web form with text boxes that are bound to a DataSet/DataView. I have created button to navigate up and down the recordset. That all works fine.
I need to have the ability to edit/add text in any of the boxes and then when clicking "Save" button, it would build an UPDATE query to send to the database.
When the Save button is clicked, I have coded to DIM a string var (strSQL) to use to build the SQL command. For some reason, it will only get the text from a text box if the data was pulled the database. If I add/edit data, then the SQL command will ha...Implementing .Net Form into an APS.net web form, can this be done
I am new here, but have been searching for a while, and may not have the correct lingo to find what I am looking for.
I am tasked with implementing a .exe application that was writen vb6 then converted to .net into a new website my team is developing. The idea is to put each of the 3 different forms in this .exe application of 3 different .aspx pages. I have attempted multiple things to get this into the page and even started to just rewrite it as an ASP.net web form, but even then I can't reuse any of the code since the System.Web.UI.Page doesn't inherit the sa...Request.Form does not get form values
Hi guys, I am new in ASP.NET 2.0 I am stuck with request.form problem I have simple asp:textbox and asp:button nested in the form with runat=server property, but when I want to get textbox value and response.write to page it gets empty, please look at code what do I do wrong? <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="Button" />------------------------------------------------------------------------------------------...how to get the Text form TextBox.Text that is not declared in .apsx
i want to make a page that let user config the quantity of smth ,i have 2 page for this , one is the page that have lists for choosing , another is the page that will receive a data from last page and display themwith textbox for config the quantity. i use session to transfer the data ( i transfer a GridViewRow). The problem is that i don't know how much itemsthat user will choose in the first page , so i must create a textbox for configuration by writing dynamic code , it means that the textbox i createdare initialized by " Textbox a = new Textbox()" which lie in the .aspx...windows forms in vb .net into web forms
we are creating a database driven website as part of our project. currently we have forms connecting to the database created in visual basic. these windows forms we need to convert into web forms which are asp .net compatible. can u give me an answer or show me a way.
because of the difference in nature between web and win applications you'll need to reimplement at least the UI part. If you have a multitiered application in which the busines logic and data access are in different parts/assemblies you can reuse them.
Grz, Kris.Read my blog. Handy Firefox plugins for web developers.Wor...Web forms and mobile web forms
I am looking to develope a web site that depending on the device connecting to it, it will display a certain page.
In this case im looking to create a web and wap version of the same project.
I have the Web forms version finished using ASP.NET and C# and I am wondering how to create the mobile web form and incorporate it in the project.
In the project folder, can I just add a mobile web??? But what about displaying device specific pages??
Yes, you can add mobile web forms and controls to your Web Application project. No problem. For device/br...How to Make Web Forms from other Web Forms
In putting together an ASP.NET application for a biz application, we have come to the point where there are three different types of basic forms which have, for the most part, been perfected. Now its is a matter of cloning those forms for various uses and modifying or adding code to suit the particular need.
Copy and paste works OK, but there is a lot of changing of certain words, etc.
Is there a way in ASP.NET to take these basic forms, turn them into classes or templates, create forms from them, then add or overwrite code? ? (Anybody who is a Vis Fox Pro programmer would know imme...Load Text box of one web form with selected list item of list box of another web form
one help please
Problem is i have two web forms 1. ForiegnkeyTest.aspx 2. foroginkeytable.aspx
step 1 1 ForiegnkeyTest.aspx one web form
&...how to place a <form> in web form form
i placed a <form> in the web form, but i can't submit
coz i neet to submit to another web site
how can i do???
You cannot submit a <form> to another page if you have a RunAt="Server" in the form tag. Remove that RunAt="Server" and you can (though then you will need to use plain old HTML inside that form).
What are you trying to do? Why do you need to post to another form?Starting with ASP.NET 2.0? Look at:Programming Microsoft Web Forms My Blog
COZ I NEED TO POST SOME INFORMATION TO ANOTHER WEB SITE
IS THERE ANY OTHER SOLUTION?M...how i can get the one form variable values in other forms?????
iam going to pass values of one form to another formlike asfollows..
f1=CType(Context.Handler ,f1);here f1 is form object this will be used in some other form.iam try ing to use to global variables of first form in to second form.while compilation it show s an error like as follws:"The name 'CType' does not exist in the class or namespace 'PassingValuesForms.Form2'can you giv aslo pls..thanks in advance..ramsCheersRam MCP
CType is for the VB.NET language exclusively. By adding a semicolon to your code, I'm guessing you are using C#.CType provides VB users with typecasting. In C#, the lang...C#.NET WEB APPLICATION
hei guys, i need help on my application, i'm using C#.NET as front-ed and SQL as back-end, aside from a datagrid, i want to display my data using textboxes and not a datagrid, i can do it using Visual Basic 6 but since i'm a newbee at C#.NET i don't know how to do it, specially the codes, can anyone help me with it? thank you in advance!
If you are doing windows development, i would suggest using 'DataForm wizard' (Use Solution Explorer-->Rightclick project-->Add new Item-->New DataForm). It will guide you through steps. If you are doing web apps. Use quickstart to learn them.
h...Cannot Get Text Value Drop Down List In Form View Get NULL exception instead
Ok, I have a page with AJAX Tab Control, within a tab, I have a formview with checkboxes and a dropdownlist, I am trying to use the findcontrol to get the text value retuned when I select a value. In this case an ageFrom and a AgeTo. The findcontrol works fine when using it with checkbox controls, but when I try to use it with the dropdownlist control, I have been getting the NULL Exception error. I have spent the greater part of the morning looking for an answer and yet to find what I am looking for. I am using VB so please respond back with information refering to V...