Hello and thanx. No, I don't need to select alwas "NOM", but the data stored in the database is the "selected" in the dropdownlist. If I have "BAM", then "BAM" should be the selected in the ddl when the page is loaded...
Thank you!
Hello. I have a page that restores data from a previously saved "draft". In the page I have several datagrids with textboxes and labels. In one datagrid I have a dropdownlist in the follow form:
<asp:TemplateColumn HeaderText="Official Reference">
<ItemTemplate>
<asp:dropdownlist...
Hello. I have the same question, and I'm using ver 1.1 (I think.. I'm sure it's not 2)... I wanto to send an user and status to another page, using POST. I add the "action=MyPage.aspx" in the HTML part of the code, but when I compile my "action" dissapears. There must be a way to transfer data...
Hello. I have sort of same question... I wanto to send an user and status to another page, using POST. I add the "action=MyPage.aspx" in the HTML part of the code, but when I compile my "action" dissapears. There must be a way to transfer data between pages without session vars. How can I do that?
And one final question! When I add a row, with the text boxes, and I write something in the textboxes, when I add a new row, in the page reload my text is gone!. I think that the structure of the table is kept in the session var, but how can I keep the text wrote in the textboxes?. Thank you!
Yes, ca8msm. I got it now... I finally could use the code that stsuing writes in the thread855-1083548. It works very fine, but not with a table with headers. Because the deadline for my project I'm using two tables, one with the headers and the other kept in a session var. I'll take a deep...
Thanx,ca8msm and yes, I think that something like that is happening, however, I tought that on every page load the status of my table would be preserved. I mean, if my page is on the browser with one row (the default), and I click the "Add new row" button, the page loads and the table now has...
Hello. I have a HTML table, and in a row a table(from web forms). I have 2 cells, with a textbox each. I have a link button that needs to add a new row with the two cells and the two textboxes every time it's clicked. It works as expected the first time, but in subsequents clicks it only keeps...
Thanx, BB, but I'm not using ver 2.0, I'm stucked in the previous version. I'm going to look after that "smart navigation", thank you for pointing me in that direction. Any more ideas, people? I can't believe that there's not something like "backToPosition" or something in the component!. Thanx
Hello. I have two or three dropdownlists at the bottom of my form, with autopostback enabled. When I select something, the page reloads on the top of the page. How can I return the page to the bottom after I select something in my dropdl?
I think you're rigth, Sirius. The efficiency is bigger in the compiled part... Anyway, the line with <%=Now().ToString%> is exactly what I was looking for.. I just need to know if there's a way to do the same with any variable qith a value assigned in the code behind... Just for the knowledge...
Thanx, ecannizzo. The response.write works, but you can't specify where the output will be (or, if somebody knows how to do that, please share). And the other option works only if the myVar is declared and the value assigned in the HTML, not in the code behind... =/
Nop =( ... This error happens:
"Parser Error Message: Server tags cannot contain <% ... %> constructs"
..... maybe everything needs to be assigned to an element or component in the page?...
Thanx, DotNetGnat, but that's code behind (in the .vb file). My question would be: If I have in my code a var: myVar = system.datetime.now, or myVar = 23, or myVar="this is only a text", how could I display in the .aspx file, in the HTML interfase, the value for myVar? In ASP I can use...
Hello. I've been developing with ASP and VBS for a while. Now, with ASP.NET I don't know how can I display a value from a simple function. i.e: in ASP I use <%=Date()%> to display the date from the server. How can I do that in .NET? I know I can use the code behind and have the text on a label...
I have two PCs running Windows 2k, one with databases (Access) and the other as a web server. I made a mapping of the pc with databases as F: on the webserver, and create a DSN on my web server using a database in F:. My code tries to acces the DSN, but an error occurs. If I move the database to...
I had the same original problem. My approach was to add a field "keyWords" where I put several words and phrases that are related to the product (services, in my case).ie: car,blue,car blue,blue car
I then used a query with LIKE and searched in the ServiceName and keyWord fields, and...
You need to use a query like this:
SELECT tblNegocio.nombreNegocio, tblGiro.giroNegocio
FROM tblGiro INNER JOIN tblNegocio ON tblGiro.claveGiro = tblNegocio.claveGiro;
In this example, the tblnegocio has the data for the negocio, and the key of the Giro. In the table tblGiro are the...
Hello
I want to start a web site for my city, but the first big problem is to get the info that changes every day. It needs to be automatic, 'cause I don't have a big staff to update it every day at 00:00 hrs. Where can I find the info (news, stock news, exchange rate, etc) open to the public? I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.