all groups > asp.net > august 2006 > threads for saturday august 12
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Loop through 'option' collection of a 'select' control?
Posted by TCook at 8/12/2006 11:36:55 PM
Hello,
I was wondering if anyone has a code snippet for looping through a 'select'
control's 'option' elements?
Do I have to use an ASP.Net web control such as an asp list control or
dropdown to do such a thing?
Thanks,
TC
... more >>
Newbie q - trouble deploying
Posted by Peter Morris at 8/12/2006 10:40:34 PM
Newbie here, trying to build my first website.
I bought my domain name from one company.
Then I paid a different company for web hosting.
I've uploaded my ASP.NET files to my host, entered my URL
in my browser and... it goes to a page advertising the company
I bought my domain name from... more >>
Problems with ASP.Net and GMail
Posted by ClickList NO[at]SPAM gmail.com at 8/12/2006 10:00:16 PM
Hello Friends
I'm using the follow code in my website to send/receive e-mails:
SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587);
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.EnableSsl = true;
smtp.UseDefaultCredentials = false;
smtp.Credentials = new
System.Net.NetworkCre... more >>
Using immediate window
Posted by sck10 at 8/12/2006 9:32:13 PM
Hello,
Can someone provide a simple example of how to use the immediate window with
ASP.NET? No matter what I type, I get the following statement: The
expression cannot be evaluated while in design mode.
Thanks, sck10
... more >>
System.Web.UI.Page?
Posted by Arpan at 8/12/2006 6:42:51 PM
Consider the following code:
<form runat="server">
<asp:DataList ID="dlUsers" OnCancelCommand="CancelList"
OnDeleteCommand="DeleteList" OnEditCommand="EditList"
OnItemCommand="ItemList" OnUpdateCommand="UpdateList"
RepeatDirection="horizontal" RepeatLayout="table" runat="server">
<ItemTempla... more >>
SELECT .. WHERE column IS NULL?
Posted by John at 8/12/2006 6:18:00 PM
I just cannot manage to perform a SELECT query with NULL parameter...
My CATEGORY table does have one row where TCATEGORYPARENTID is null (real DB
null value).
TCATEGORYID and TCATEGORYPARENTID are uniqueidentifier columns.
My questions:
- is Type="Object", below, necessary?
- what shal... more >>
Questions about asp 3.0 and aspnet's differences
Posted by Seguros Catatumbo at 8/12/2006 6:12:27 PM
Hi, i have decent experience with asp 3.0 (classic), and downloaded web
developer express to see what's the fuzz over it. I have lots of
questions, mostly regarding the use of forms and database use.
1) Why should i use the asp:label, asp:textbox, asp:submit instead of
plain old html input typ... more >>
Event/Method?
Posted by Arpan at 8/12/2006 5:51:16 PM
What's the difference between the ItemCreated event & the OnItemCreated
method of a data binding control, say, for e.g. a Repeater? Please
explain with examples, if possible.
Thanks,
Arpan
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How limit records returned by SQL Query based upon user group/class
Posted by Bob at 8/12/2006 12:54:37 PM
I am developing an ASP.NET application that needs to archive documents and
support the retrieval of them. When the document is stored, the user needs
to be able to indicate whether it is a public document or limited to a
group/class of users. Search/retrieval must only return the result set th... more >>
Where is the Immediate Window
Posted by sck10 at 8/12/2006 12:30:40 PM
Hello,
I am using Visual Studio 2K5 to develop websites using c#. My question is,
where is the immediate window? I went to Debug-> Windows, but its not
there. Any help with the would be appreciated.
Thanks, sck10
... more >>
role based authentication
Posted by WebBuilder451 at 8/12/2006 12:21:02 PM
I already have a user database and would like to include role based security
on my asp.net pages. I see a lot of articals on how to do it withe sql tables
that ship with 2.0, but not much without. Can anyone give me an example of
how to set a user into a role, say as an Admin, but without usin... more >>
update datagrid
Posted by John at 8/12/2006 11:51:04 AM
I have an editable datagrid and when the user clicks update how can i update
only the changed rows? Im' not using a typed dataset, so how can i update
only the changed rows to the database?
... more >>
Mid and InStrRev conversion to c#
Posted by sck10 at 8/12/2006 11:44:07 AM
Hello,
I am converting a DataList from vb to c#. I am having a problem converting
the Mid function with InStrRev to c#. Any help with this would be
appreciated.
<asp:DataList id="dlstPhotoGallery" Runat="Server"
RepeatDirection="Horizontal">
<ItemTemplate>
<a href='<%# Replace... more >>
Replace function in DataList from vb to c#
Posted by sck10 at 8/12/2006 11:42:48 AM
Hello,
I am converting a DataList from vb to c#. I am having a problem converting
the Replace function to c#. Any help with this would be appreciated.
<asp:DataList id="dlstPhotoGallery" Runat="Server"
RepeatDirection="Horizontal">
<ItemTemplate>
<a href='<%# Replace(Container.D... more >>
Renaming a Dataset
Posted by farseer at 8/12/2006 12:21:58 AM
HI,
i have created a DataSet using the DataSet Designer. The default name
is DataSet1.
I then renamed this to "MyDataSet" and proceed to add my TableAdapters
using the Visual Designer. After i am done and i look at the classes
generated, i noticed that they still have the name and namespace
... more >>
Club starter kit with MS Access?
Posted by Lero at 8/12/2006 12:00:00 AM
how could I use MS access database insted of SQL server?
... more >>
|