Hi,
I am making a faq page and questions and answers are stored in a record of a db.
I have this faqDS, but I can't find a way to avoid looping the ds 2x.
for i = 0 to faqDS.tables(0).rows.count - 1
createQuestion(faqDS.tables(0).rows(i).item("question")
next i
for i = 0 to...
Hi all,
I have a for loop that doesn't behave how I expect, and I was hoping someone could explain it for me...
I would expect the following loop to run exactly 1 time
dim times as integer = 2
dim i as integer = 0
for i = 0 to (times - 1)
response.write("i is:" + i.toString + " ")
times...
Hi,
I'm more of an html programer who is trying to leverage asp.net to make my html programing easier and smarter, so I don't fully understand the .net paradigm yet. I have a design question, and I would like some opinions on it.
Let me try and set the situation. I have a nav on the left side...
Hi all, I have a dropdownlist that I populate like this
eventDL.DataSource = sqlSelect("Select * from [event]")
eventDL.DataTextField = "eventName"
eventDL.DataValueField = "pk_Event"
My problem is I want to set the selected index based on the...
Hi all,
I have tapped into the Item_Created event of DataGrid to customize it a little more how I would like.
In the footer (If e.Item.ItemType = ListItemType.Footer Then)
I am adding two TextBoxes and a button, and I would like to validate the data in the textboxes when the button is clicked...
Hi,
I am trying to get a grasp of permissions on SBS 2003, and I would like some help.
I have permissions set the way I would like on a folder, and this folder does not inherit from its parent. On the folders under this folder(its children) I set to inherit and propegate.
Now, all the...
Hi,
I hope this isn't too mundane, but I have been searching for an hour, and can't find any information on this.
I am using SBS and exchange 2003 with outlook 2003.
In sbs I create a user larry, with a display name Larry Smith.
Under email addresses I add the accounts larry@domain, and...
Hi,
In javascript I can do this
var myArray = new Array();
myArray['Steve'] = 'Male';
I can't remember this syntax in vb.net.
If I remember, it is a class, but system.array is not helping me.
Any help, leads, or links are appriciated.
CJB
Hi,
Often I have to loop through datasets, and I am wondering what is the best way to do it. I can do like this
dim count as integer = 0
dim numRows = mySet.Tables(0).Rows.count
while count < numRows
''code here
count += 1
end while
or
dim count as integer = 0
while count <...
Hi all
If I wire up itemCreated and insert this code:
If e.Item.ItemType = ListItemType.Footer Then
Response.Write("got the footer!")
end if
I get "got the footer" written to my page 3 times. Does anyone know why this would be?
Hi,
I think I programed myself into a corner.
I have a calendar control with differnt records associated with each day. When you click on a day, a datagrid displays the the events assosiated with that day.
I would like to be able to edit the events from that datagrid. My problem is that I...
Hi, I have a simpl form, with one button on it. When you click the button, some things happen that take maybe 3 minutes. How can I return control to the form during this time?
That is, during this time, the form can't be moved, and I update a lable with a counter indicating progress, but if you...
I think I have a fair grip on OOP, but this part of VB.NET has me a bit confused:
sub Page_Load(sender As Object, e As EventArgs)
dim maxDaysNewMonth as integer = datetime.DaysInMonth(1996, 2)
response.write(maxDaysNewMonth)
end sub
What confuses me is the datetime method call. My can I use...
Hi all,
I come from a mostly Windows background, where defaults are not always the safest.
Somehow I'm now in charge of a JBoss 4.0.1 server with embeded Tomcat, running on Redhat 9.0.
I have removed java-councile and web-consile, are there any other defaults I should turn off?
We are...
Hi,
I just set up iptables on my network, and I want to make sure it is working the way I expect it to(Sadly, the way I *expect* most computers to work and the way they *actually* work are usually two completly different things. But that is another problem)
I have these two rules in my...
Hi,
In order to render the same across browsers, I put the following in my web.config file:
<browserCaps>
TagWriter=System.Web.UI.HtmlTextWriter
</browserCaps>
I want all browsers to render 4.0 compliant html so my pages look the same across Firefox, Opera, IE, and Safari.
I have seen...
Hi,
I have a simple web page, and it uses a MS Access database for the backend. My question is, how can I keep users from downloading the DB? They need read/write access to get at the data, but how I can keep them from DL it by typing,
www.mydomain.com/db/sample.mdb
in their browser?
I am...
Hi,
I'm looking for a way to make a roundtrip to the server and comeback, but not refresh the whole page.
I did this a while ago, you can see here:
http://www.hellokis.com/class_03.aspx
and select class=everyone event=picnic2004
Now when you select the picture from the left, the whole page...
Hi, I have 2 questions.
1. Does anyone know a good resource for Opera specific html questions?
2. If you look at each of these pages and hover over the right most collum, you will see different behaviors in Opera.
[urlhttp://www.cjburkha.50megs.com/menu_test.html[/url]...
Hi,
I need to buy a web development tool, and I am trying to decide between Dreamweaver and VS.NET 2003.
My main point is how well Dreamweaver handles intellisence. If I use a datagrid, for example, will Deamweaver tell me what methods and properties my datagrid has?
If I make my own class...
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.