I am writing a web form in C# using VS 2008. My form accesses an Access database that has a list of Customers. Each customer has a customerID. My goal is to allow the form to automatically generate a new customerID in the CustomerID textBox each time a user clicks on INSERT. I need it to take the highest customerID (already in the database) from the DetailsViewand add 1 to it in order for the customer ID's to be sequential.
I have an access database where when the record is updated I would like to automatically check a box and update the date to the current date in an Access 2002-2003 database. I've tried this for several days without any resolution and can't find anything that works on the net. ...I'm new at this.
I am currently watching the 80 minute ASP.NET MVC introduction. Automatically generating views from a model is pretty neat, but it seems to me that that the automatically generated views could be much better. For a start, instead of inputing dates with text boxes, there could be a date control. Additionally, number inputs could be verified client side. There are probably other improvements that could be made as well. Is it possible to automatically generate better views?
I want to use canonical url's in my website. I read a few things about it on the internet, but i'm looking for a solution which will automatically generate the canonical for me runtime and add it in the html-code returned to the browser. I've already found an example on the internet using an attribute, but this is not what i'm looking for. Using an attribute i'm still deciding which page should get an canonical or not myself, I want every page to have one generated automatically. I take it there should be (existing) solutions? I'm struggling finding an good example to work on,
when generating local resources by using ( "Tools"->"Generate Local Resource" ) i noticed that some controls disappear in run time.
is good to take advantage of Visual Studio to automatically generate it? or is better to create resource files and add meta:resourcekey="..." to my page manually??
I am replacing a green screen application with a .net version. One of the things the old screen diod, which I need to replicate is, after a certain number of characters had been intered in a a field (textbox), it would automatically jump to the next field (textbox).
Is there anyway to do this in ASP.net?
Also, when pressing the tab key, is there anyway to get the curson to bypass the active links and move only to the input textboxes?
I am working on a small website for project management.There are around 15 database tables. Since i will be using asp.net 2.0, I wont be able to use LINQ.I need to finish the development of the website in a very quick manner.How do i generate the data access layer automatically. I found NHibernate as one solution, but it seems too difficult for such a small project.
I have a problem. I have a textbox where i enter the amount and in another textbox the amount in words comes automatically. The function appended below works fine when the amount entered is without a decimal. But if the amount entered has a decimal, then the function gives an error. Can anyone check the same and tel me a solution.Wat i want is suppose the amount entered in 2345.68 the amount in words should come, Rupees two thousand three hundred forty fve and sixty eight paisa only. if the decimal is not entered then the function gives proper result.
how to set automatically Current User Password into CurrentPassword textbox. Means i have to just enter new password and confirm password and CurrentPassword already filled with current password in Password textmode.
iam having change password textbox i have written code on textchange so i give autopostback truewhen i give text on change password textboxand i press tabthe textbox is automatically reset why?this is happening
last time i did one Desktop application using c# in this application i used Baraha language converter for different indian language. when user enter some text in TextBox its automatically convert to my language.. the same thing i want to apply in web application when user enter some text in texbox i should be convert to (tamil,hindi,marathi,kanada) any of one languageif you have some idea or if you know some use full link for this please forward me
I am beginer for Ajax.In my project i have two main sites1.Customer site2.Admin site.In Admin site i have one Multiple textbox. I am binding all registered user names in multiple textbox from sql database.Using customer site registered user has logged means in admin site Multiple textbox should be showed the online user in different color.As the content is constantly changing in the database, I would like some sort of automatic refresh after a period of time.Does anyone know how i can multiple textbox every 1 minute?
I have a gridview which contains asp.net textboxes. The user uses a barcode scanner which scans barcodes into the textboxes.
What I would like is to move to the next textbox after an item has been scanned in i.e. automatic tabbing to the next textbox.
Does anyone have any advise how I can do this?
What I have noticed is that when the user scans an item, the page does a full page postback even though the grid is in an update panel. And after the postback, the focus on the textbox just scanned in has been lost.
1) Is it possible, in a multiline textbox, to automatically break to the next line after 100 characters? 2) If not, is it possible to parse the enter key as entered by the user to break the line in the code behind?
Some additional info:
The person requesting this does not think that the user should use a single line textbox limited to 100 characters and click an "Add Line" button to store that field in a table.
The person requesting this is of the belief that a DEC Alpha-based system that currently does this can be replicated on the web.
I am writing a web form in C# using VS 2008. My form accesses an Access database that has a list of Cusomers. Each customer has a customerID. My goal is to allow the form to automatically generate a new customerID each time a user clicks on INSERT. I need it to take the highest customerID from the DetailsViewand add 1 to it in order for the customer ID's to be sequential. I am assuming I need a loop for this or maybe an Arraylist?
I have a code where I fill some random text into a textBox. In this example there is more content than the textBox can show so the vertical scrollbar is shown in the textBox.
I wonder if there is a way to adjust the height of the textBox instead automatically so all contents can be seen instead of seeing the scrollbars ?
I've tried a few methods to get around this however none seem to work, whether its something to do with rendering or compiling Im not sure (both of which I have little knowledge in how they work). The problem is when the 'add new user' page is first loaded, the Page_load event gets the currentuser to ensure they are logged in and they have the correct authorisation. From this the textboxes where you would specify a new Username and Password are automatically populated with the current users details. I have not set anything to do so and in contrast Im tryin to get a way to stop it.
I've tried endless ways to get around it, things from jsut specifying the textboxes are empty or null to telling the textbox to remove all characters at character start int 0 (remove method). I'll give a few examples, they might not have been fully programmed write or maybe Im not utilising the methods as intended.
There are more, like if txtUsername visible then make the text = "" etc, so im thinking its probably something specific. Here is the page and script code below: .ASPX:
i have a web page, with some filters using dropdownlist, and when i select items from these dropdownlist, a gridview appear showing data from a sql server. The idea is that when i select an item, from the first or second drop down list, in a textbox appear for example the name of the item i choose from the dropdownlist.
How to generate a employee code in textbox automatically while in run time in web application.......when i run the page it will check the employee code in the database and it automatically shows the next value in the textbox how?
I'm here again to share a problem that I'm fighting against for days. I'm developing an eCommerce Cart.
Within it, I have a repeater, inside of ITEMTEMPLATE I put one TextBox for product quantities and one Button, for update the quantity inserted on that textbox.
When the customer clicks over the Button, it fires a function that gets the content of the TextBox and do an update on my Database.
It works perfetly when it is done with the mouse click. But I need to fires the update function WHITHOUT the manually click event. When the customer just put the mouse out of the TextBox (onblur event), I want to fires that function.