|
How do u code switching from one webform to another?
thank you
Nothing lasts but nothing is lost
|
|
|
|
|
Response.Redirect("newForm.aspx");
|
|
|
|
|
thanks bro
Nothing lasts but nothing is lost
|
|
|
|
|
it doesnt work, it gives an error
something about the server
Nothing lasts but nothing is lost
|
|
|
|
|
Solly74 wrote: it doesnt work, it gives an error
something about the server
Okay... I'm not sure what to do with that reply. You'll agree, you've given very little information for me to go on, yes? Unless you wish to elaborate, I've got nothing more to add to help you.
|
|
|
|
|
I'll agree that your request is very sparse in useful details. However, I would imagine your problem be be solved this way
Response.Redirect("MyPage.aspx", false);
The second paramater tells the server whether it should stop the execution of the current page. Another way would be using
Server.Transfer("MyPage.aspx", true);
only two letters away from being an asset
|
|
|
|
|
Hi
i want to make a web site that the user can choose between diffrent web designs at the run time.
i have 4 web designs that are completly diffrent.
ex) places of the Menu and controls in each design is diffrent.
can i support such a functionality using the Themes and Skin ?
and if not does any body has an idea how can i implement this function.
|
|
|
|
|
|
Ok I have got my page to display the data I need using a store procedure etc. What I need to know is, how do I create an input text form box (IE: Enter ID here with a submit button and pass that variable to the (ident = 1) below to make it (ident = textboxvariable). Any help would be appreciated thanks! =)
<%Dim ident
'select your product_id
ident = 1
Dim connection
Dim rs
'create the connection
connection = Server.CreateObject("adodb.connection")
'create the connection (here we used a DSN - use any standard connection
connection.open("Driver={SQL Server};Server=X;Database=trd;Uid=X;Pwd=X;")
'create the recordset
rs = Server.CreateObject("adodb.recordset")
'open the recordset, passing in the variable
'note that the variable product_id does not have to be name the same as in the stored procedure, it just needs to be the same data type.
rs.Open("Exec GETID " & ident, connection)
'display the recordset
Do Until rs.EOF
For Each ident In rs.Fields
Response.Write(ident.value & "<br />")
Next
Response.Write("<br />")
rs.MoveNext()
Loop
rs.close()
connection.close()%>
Jesse Myer
jessemyer06@aol.com
-- modified at 16:25 Tuesday 22nd August, 2006
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
I still need help with this problem, and I posted it in both ASP.NET (as it is an ASP page) and Web Development forums.
|
|
|
|
|
You should only post it in the most relevant forum. If you think that you need to draw attention to it from other forums, post a message with a link to the real thread.
Everything posted in the ASP.NET forum is related to web development, as ASP.NET is a platform for developing web sites. Everything is also reated to .NET Framework. Almost everything is also related either to C# or VB. A lot of it is also related to SQL. If everyone would post every question in every related forum, the forums would end up containing the same questions, and there would be no reason to have separate forums at all.
---
b { font-weight: normal; }
|
|
|
|
|
Using C#, I have a gridview where I populate the database from the database.
The gridview will display many records. I wish to include a textbox for user to enter the admin number he/she wish to find. And a button for the user to click. The gridview will then filter and show the rows of records of that admin number.
How should I work around with it? Should I control the gridview by the textbox or button?
thanks in advance. Much appreciated.
|
|
|
|
|
Hi there,
IMO, the simple way is to repopulate the datasource and bind it to the gridview control to display the search result. Adn you can do in the common way that many other sites do with a textbox for inputting and a button/imagebutton to execute the search.
|
|
|
|
|
minhpc_bk wrote: And you can do in the common way that many other sites do
Yes I was thinking to do the same thing. But I was wondering how they do it?
Is there any sample link?
thanks in advance. Much appreciated.
|
|
|
|
|
blurMember wrote: But I was wondering how they do it?
Is there any sample link?
It's not difficult, you can get started with the Starter kits[^]
|
|
|
|
|
Hey Thanks!!!!
It will be used in the next years to come.
thanks in advance. Much appreciated.
|
|
|
|
|
Hi,
I am using CDOSYS to send mail through ASPNET. When I run this script on my server, it is taking more time to deliver to the yahoo mail addresses whereas the same message takes fractions of seconds to reach some other mail ID's.
I guess the mail might be going through yahoo spam filters. How can I make my mail message trusted to the yahoo/gmail community?
Thanks
-Sudhakar
|
|
|
|
|
Hey, I'm using a CheckBoxList, and I'm trying to add CheckBoxs dynamiclly.
Now, I can do it with the Items property, but I can't check them if they are checked or not (in the postback).
Well... either I can do it through the Controls property, or either you can help me.
Thanks. NaNg.
|
|
|
|
|
If you are dynamically adding checkboxes, make sure you dynamically add them on postback too.
|
|
|
|
|
nevermind i got it.
just used the Selected property.
|
|
|
|
|
try it
this.CheckBoxList1.Items[0].Value;
|
|
|
|
|
try it
this.CheckBoxList1.Items[0].Value;
|
|
|
|
|
I want to know how to create the equivalent of a messagebox(VB2005) in ASP.net using VB2005 as the programming language?
Thank you
Nothing lasts but nothing is lost
|
|
|
|
|
ClientScript.RegisterStartupScript(Me.GetType, "AKey", " alert('YourMessage'); ")
-- modified at 13:46 Tuesday 22nd August, 2006
how vital enterprise application are for proactive organizations leveraging collective synergy to think outside the box and formulate their key objectives into a win-win game plan with a quality-driven approach that focuses on empowering key players to drive-up their core competencies and increase expectations with an all-around initiative to drive up the bottom-line. But of course, that's all a "high level" overview of things
--thedailywtf 3/21/06
|
|
|
|