Forum: ASP.NET Jun 7th, 2008 |
| Replies: 5 Views: 1,495 It's not difficult in asp.net to use the ASP.NET built in methods to do url rewriting.
Also, if you wish to stray away from this method, just add a check at the beginning of each page.
Dim... |
Forum: ASP.NET Mar 28th, 2008 |
| Replies: 5 Views: 1,572 You actually don't even need to set the selected index, since you are inserting it into the default first position. But yes, that would work perfectly:
dd1.Items.Insert(0, new ListItem("-- SELECT... |
Forum: ASP.NET Mar 7th, 2008 |
| Replies: 9 Views: 912 No problem.
I'm a performance geek I guess. I sit here at work almost all day long just finding what is faster than what, and tweaking a 1500 line file I use whenever I build an application, just... |
Forum: ASP Feb 28th, 2008 |
| Replies: 3 Views: 1,258 If you need any further help, let me know. |
Forum: ASP.NET Feb 22nd, 2008 |
| Replies: 19 Views: 1,437 There is, "Add to SheSaidImaPreggy's Reputation" |
Forum: ASP Feb 22nd, 2008 |
| Replies: 10 Views: 2,202 Also, try adding hidden input fields. It should still send the value through querystring with the GET method. |
Forum: ASP Feb 15th, 2008 |
| Replies: 88 Views: 7,043 You probably don't even need middlecategory. If you wish, you should do it this way:
SQL = "SELECT TC.topcategory, DISTINCT(MC.middlecategory) "&_
"FROM tbtopcategory TC, tbmiddlecategory MC,... |
Forum: ASP Feb 14th, 2008 |
| Replies: 88 Views: 7,043 Okay, then this is the way I would do it if you don't mind me rewriting:
Response.Write("<table width='570' border='1'>")
Do While Not RS.EOF
Response.Write("<tr>")
For i = 1 To 3
If... |
Forum: ASP Feb 14th, 2008 |
| Replies: 3 Views: 1,049 it should go like this:
ondblclick="OnDetailsChg('<%=svrgContact%>')"
sub onDetailsChg(id)
response.redirect ("../asp/PalContactDetail.asp?id=" & id)
end sub |
Forum: ASP.NET Feb 14th, 2008 |
| Replies: 8 Views: 2,522 Hey, there are many things that are wrong and need updating, so I will lead you through it:
conjds.ConnectionString = ConfigurationManager.ConnectionStrings["maillog"].ToString();
conjds.Open();... |
Forum: ASP.NET Feb 13th, 2008 |
| Replies: 21 Views: 3,033 connecting to the database. |
Forum: ASP.NET Feb 13th, 2008 |
| Replies: 8 Views: 917 Yes, you can store them within a database or within text, or even within XML.
For research on my websites to see which ones are popular, in which directories, etc. I store all my information in... |
Forum: ASP.NET Feb 6th, 2008 |
| Replies: 85 Views: 8,706 http://aspalliance.com/259
http://www.dotnetspider.com/kb/Article1802.aspx
And no, it does not restrict anything. The thank you page could easily just say "file converted successfully. Your... |
Forum: ASP.NET Feb 1st, 2008 |
| Replies: 85 Views: 8,706 Yeah no problem. The reason why you cannot do it the other way is that the only way you can modify a file is that if it gets to your server and you can modify it there. Otherwise, the client would... |
Forum: ASP Jan 28th, 2008 |
| Replies: 3 Views: 1,341 well did it work?
If not, test what HTTP_USER_AGENT puts out and bind MSIE to that. |
Forum: ASP.NET Jan 25th, 2008 |
| Replies: 5 Views: 7,351 But first.. why are you using 3 separate queries if you're pulling into one datareader anyway? Try this:
SELECT (SELECT COUNT(UID) FROM dbo.User_DB_Main WHERE UId = @UserId) AS uTrue, (SELECT... |
Forum: ASP.NET Jan 23rd, 2008 |
| Replies: 7 Views: 10,267 that's a querystring, replace "putcustomeridhere" with:
Trim(Request.QueryString("ID"))
Oh and make sure you change the "Customer.ID" in your SQL Query, cause that will cause an error. |
Forum: ASP Jan 21st, 2008 |
| Replies: 19 Views: 3,528 now is this going to be done on page or doing a post to the server? Doing it on page in classic ASP is called javascript. On the server just requires a post to the server and a return will post... |
Forum: ASP Jan 18th, 2008 |
| Replies: 6 Views: 2,024 you're welcome, I hope it helps. |
Forum: ASP.NET Jan 18th, 2008 |
| Replies: 1 Views: 401 Try under preferences. Mine only loads one file, not all. It may load ONLY what you had open when you closed VS the previous time. Try closing all files and then closing VS, then reopen. |
Forum: ASP.NET Jan 18th, 2008 |
| Replies: 47 Views: 11,610 two effective ways to do this.. You can create a gif file that is transparent except for your watermark and create it the same size, or close to, of the default image. Then on your page, set the... |
Forum: ASP.NET Jan 15th, 2008 |
| Replies: 2 Views: 2,804 when you put the <%CheckForSomeErrors()%> in your page, it will be executed every time the page is viewed... postbacks and all. Since this is ASP.NET, familiarize yourself with the validation... |
Forum: ASP Nov 8th, 2007 |
| Replies: 20 Views: 5,364 the reason why your last code isn't working like you thought is because you are calling the <% %> when the server runs the code. Therefore, you are essentially setting session("imagecap...) 5 times,... |