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...How can display a web form to the user whilst loading data from distributed systems in the background?
I've been fiddling around with ASP.NET AJAX trying to work out how I can solve the following problem...
I am trying to translate a WinForms custom control to an ASP.NET custom control. The control is like a custom data binder which loads some data from a SQL database and also uses a background worker thread to load data from a number of third party sources. This data is then bound controls on a hosting form. The user sees the data from SQL straight away when the form loads as this is usually pretty snappy, then the third party data appears when the background worker finishes processing...Pass data from Web User Control to Web Form
I have a Web Form that contains a Web User Control. The WUC displays dynamic content. I want to change the TITLE property of the Web Form, based on the contents of the WUC. For example, if the WUC displays information about Horses, I want to change the page title to "HORSES" by passing the string to the parent Web Form.
I have tried playing with parameters and such, but I can't remember how I did this in the past. PLEASE HELP!~o0 Spin-Monkey Oo~
The best way to do this is by creating a public property on your web user control and accessing that from your web form. Check ...Web form that displays data and post data to a database
I have a web form that needs to
Get the userID and then display data from datasource 1 - name, Phone, Address etc. of the user
Then on the same form the user needs to submit additional information and click submit.
On click submit, I would like to capture all the info about the user from datasource1 - i.e name, phone, Address etc along wiht the additional info submitted by the user and insert into a table.
Currently the way I am doing is: when the user enters their UserID, I use a formview to display the user data.
When the user clicks submit on th...validate Textbox in Web User Control from web form?
I have a web user control that contains a textbox. I need to add some validation (like requiredfieldvalidator, comparevalidator, etc).
I would normally add the validator to my web user control by placing the validator next to my textbox. However, I need the validation message somewhere else on my web form, not near the user control.
So how would I associate a validation control on my web form with the text box inside my web user control? Can this be done; any alternatives out there?
The error message should occur wherever you place the vali...user control data entry form, use same codebehind as web form?
I have a quesiton about the approach I'm taking. I have a series of report forms which I have been in the process of consolidating to a single, generic page and subs/functions in a single code-behind.
All the reports can use the same set of data entry elements (a dropdown, a radio list, and a textbox). I'm trying to convert these elements to a user control. However, this user control seems to need to inherit differently than the rest of the code-behind. I've been using a single class in the code behind.
Is it feasible to separate out the data entry?
the code behind im...Filling a textbox on a parent web user control from a child web form
I currently have a web user control (pf_imageselector.ascx) which is dynamically created (any number of times) on a parent web user control (pf_fillitems.ascx) which in turn has been loaded into a webform (default.aspx). On the user control is a text box called txbSelectedImage and a button. On click of the button run's this code:
var WinSettings = "height=580,width=630,status=yes,toolbar=no,menubar=no,location=no";
window.open("pf_stockimage.aspx", null, WinSettings);
Which obviously open a ch...Problem in accessing web form data in user controls when create user control dynamically
I have a problem using web user control. I designed a user control
named NewsForm. This user control contains some web form elements like
<asp:textbox>. When I add it in an .ASPX page, all things may be
true. I can know which user filles in textbox (for example and other controls)
<%@ Register TagPrefix="uc1" TagName="NewsForm" Src="NewsForm.ascx" %>
<UC1:NewsForm id="newsForm" runat="server"></UC1:NewsForm>
But when i create it in code behined dynamically, however user control has web form controls but their value are blank
//aspx co...Strange output in web form after web form is displayed.
I have been using a web user control for over a week now with no problems. I am now getting strange output in my web form after my controls display on the page. Below is the strange output. Can anyone tell me what is wrong here? Note I did not include it all because it is quite large.
Time of Request:
9/10/2007 4:59:59 PM
F...Displaying Data From a web Form
I have created a web form with 5 different panels, each panel has a number of controls - text boxes, check boxes etc.
I would like to know How I can display all the information typed into the different controls in a label.
An web site or example would be great
oh and im using VB not C#.
uh... Am I missing something here?
myLabel.text = somecontrol1.text & somecontrol2.text & control3.text ...
Ask and it will be given to you; seek and you will find; knock and the door will be opened to you. Luke 11:9...Submitting data from a know web form to unknown web form
hi i m making a software in which i will submitt some data from a web page that will go to a web form of which contrlos are unknown to me only i know the name and how many controls in that form it means i can see the form only. how can i do this please help me soon with code plz its very argent.i m doin this wit the help of foxtrot.xray.WebRobot but its giving me error that this dll file is already exists in The file ('C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\_foxtrot.xray.WebRobot.dll' already exists).i don know what will do so please help me soon please thanks praveen
We ca...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...synchronizing chunk of data of one web form for another web form
I'm making a web application. In one web form; i'm taking inputs from user. Now; there is some info given by user in this page which is needed for web form which is going to be displayed next. i want to display that info automatically on that web form so that user doesn't have to re-input that info in this next web form.
Info from first page would be inserted into database when user clicks on the submit button. then that next web form would be displayed. and the chunk of info from previous page should be displayed there!!! how can i do this??
cany anybody help??
nobody can help me!!
I...Persisting data in a web user control, which contains a list of other web user controls.
Hi All, I have a control I've created, which can have a number of child controls - also user controls - stored as an ArrayList, which can be added wither a design time or programmatically.My problem is when I add to the list programmatically, it doesn't persist them. So if I add 3 child controls in step 1 of a wizard, with the aim that those three will be visible inside the parent in step 3, what happens is that the parent has no child controls and the item count is 0.Can anyone help? Thanks in advance.Code:Parent Control Markup: <%@ Control Language="C#" Auto...