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...Web Page with Textbox and other controls.. how to make cursor start at the Textbox
I'm putting together a page with a textbox that will input the emloyees ID, and that is used to populate in a dropdown box with each of the employees pay checks for the year. And from that dropdown box, once one selects one of the end-of-period dates, I can get the employee's pay stub informantion to show up.
Well two questions.
1) How to get the beginning cursor once the page appears, to rest on the textbox for immediate filling.
2) and then once I get the dropdown box to populate, how to get it to select the first date of the list to show (it right now will for...Convert Web.UI.WebControls.TextBox to Windows.Forms.TextBox
I am trying to take user selected text from a textbox and save that portion to a string value, but the only method I have found involves using the System.Windows.Forms namespace and since I am using the FindControl method to pull the text box control from a form view, it throws a "can not convert webcontrol to form" error at me. So far I have been able to bring the form view controls into the code behind page, but I still have the problem of grabbing the selected text. Here is my code: Dim textBox As System.Web.UI.WebCont...getting start with vb.net and crystal repots(web form)
I use Crystal Report9 in Visual Studio.NET 2003.....
Example at Northwind database
I want a application that.....a form include a combobox that contain CustomerID.....If I choose one CustomerID and click OK button....a Report will display information about this Customer......I think that must use Paramater.....how to do that ????
(How do I start to coding --please step by step or sample)
please help me !!!
Thank you so much!!!
I have Dropdownlist when I choose the 'month'--> the all data of this field will show
I use this
Private Sub ddlMonth_Sel...Get selected dropdown value to appear in another textbox on same form
My VB.NET is a little rusty but it should be something like this in the code behind: YourSelectControl.Attributes.Add("onchange", "document.getElementById('" + YourTex...? Html.TextBox appears to break web standards ~~ solution needed
Web standards are rather clear about having or not having a new line on a rendered web page.
Using the Movie tutorial # 1 as an example, the following code generates, as expected,each text box on a new line: <p> <label for="Title">Title:</label> <%= Html.TextBox("Title") %> &nb...get html textbox value in C#.net(code behind)
i am new to ASP.net. Can anybody say how to get Input textbox value in C#.net.
b4 sending answer Thankx
string value = Resquest.Form["textboxname"].ToString();
Hi,There are two ways to access it. 1) Make it runat="server" and access it in code behind like textbox1.value2) Another way is by using Request.Form["textbox1"].ToString(); I hope this will be helpful to you.Thanks, Alpesh DhaneshaPlease don't forget to "Mask as Answer" if it helped.
just add runat =server to html ...get data from a html textbox and use that information in VB.NET code
Can anybody tell me how to get data from a html textbox and use that information in the coding of VB.NET. Actually I am working in SALT just like Bind Element Example, I would like that user speaks the data in and I use this data to be entered in a oracle database using VB.NET coding. Right now the data is not forwarding to the click event of aspx button from the html textbox. Can any body help me soon and early. I will be grateful.
is the text box an asp:textbox or a plain old html input control?
If either make sure that it is dimensioned in the codebehind if that i...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...Web Form Textbox
Nevermind, found answer.Brian"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4)....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...How to get HTML Source of web page opened by web browser using vb.net
i have opened an web browser in vb.net using the below code
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim nullObject As System.Object = 0
Dim str As String = ""
Dim nullObjStr As System.Object = str
Windows.Forms.Cursor.Current = Cursors.WaitCursor
Dim i As Int16
For i = 1 To 2
Windows.Forms.Cursor.Current = Cursors.Default
...How to get CalendarExtender to appear below textbox?
Is there a way to get the CalendarExenter to appear right below the textbox that it extends from? Currently the calendar appears way below the textbox...almost out of view on the browser.
How is your page set up, what is on it. Because I am also having trouble with CalendarExtender placing the calendar extender way above the text box if the text box is located lower then the page is displaying (basically if i have to scroll down to see the text box im about to click on, it will render the calendar at the top of the screen)Please remember to click "Mark as Answer" on this post if...Getting the textbox value after postback in runtime created textbox
Getting the textbox value after postback in runtime created textbox
I have created around 30 controls in a control array like txtremarks1,txtremarks2,txtremarks3.....txtremarks30. in runtime.
When i am posting the server back.I want to get the values but i dont know how to do.
Can anybody please help me in this
Note:I know how to use request.form("") but i dont want to use it.I also have some labels.I want to get the text in label.
Thanks for the help in advance i need it in urgggentVishal Murthy
In order to get value of dynamically created controls you must re...