all groups > asp.net > june 2005 > threads for saturday june 18
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
Why do I allways get the same values?
Posted by Shapper at 6/18/2005 10:03:24 PM
Hello,
I am reading the <item> nodes from a XML file and add them to a dataset.
When I display my dataset in a datagrid I always see the same record.
It's like the For loop is not moving from one item to the next one.
This is my code:
' Load RSS File
Dim news As New XmlDocument()
... more >>
What am i doing wrong in this dataset?
Posted by Shapper at 6/18/2005 7:46:36 PM
Hello,
I am trying to create a dataset by adding rows to it in a For loop:
Dim dsNews As DataSet = New DataSet()
Dim row As DataRow = dsNews.Tables(0).NewRow()
dsNews.Tables.Add
dsNews.Tables(0).Columns.Add("title", GetType(String))
dsNews.Tables(0).Columns.Add("description", G... more >>
How to create this dataset? Thank You.
Posted by Shapper at 6/18/2005 5:19:00 PM
Hello,
I have a loop for where I want to add data to a dataset.
I already created the dataset:
Dim dsNews As DataSet = New DataSet()
dsNews.Tables.Add
dsNews.Tables(0).Columns.Add("title", GetType(String))
dsNews.Tables(0).Columns.Add("description", GetType(String))
How to create a new ... more >>
Cache feature doesn't produce expected result (bug?)
Posted by Tom.PesterDELETETHISSS NO[at]SPAM pandora.be at 6/18/2005 5:06:33 PM
Hi,
I think this question requires an in depth understanding of how a browser
cache works. I hope I can reach an expert here.
I may have found a quirk in the asp.net documentation or I don't understand
what the SetAllowResponseInBrowserHistory does.
While researching caching I tried the c... more >>
Question: Universal date time
Posted by Manny Chohan at 6/18/2005 3:16:01 PM
Guys,
I have intranet application which our users use in offices all over the
world. How can i retrieve the date and time on their pc and display it on the
screen no matter what country they are in?
Is this possible in .Net?
Thanks
Manny... more >>
Scramble Information in the QueryString
Posted by Jeremy S at 6/18/2005 3:13:27 PM
What are some options for scrambling information in the QueryString.
Consider this URL for example:
SomePage.aspx?userid=15
I don't care if there is something in the querystring - I'd just prefer that
it's not obvious that a variable named [userid] is getting passed, and that
it has a val... more >>
VS.Net - don't want to auto open ALL pages
Posted by Sandy at 6/18/2005 2:10:01 PM
Hello -
Is there a way to set a project so Visual Studio doesn't open every single
thing in the project? I'd like to just select one or two items at a time
from Solution Explorer.
--
Sandy... more >>
Trying to find ClientID of web form - Update
Posted by Neo Geshel at 6/18/2005 12:07:40 PM
This works:
<form>
<asp:TextBox id="name" />
<%= name.ClientID %>
</form>
But this DOES NOT work:
<form>
<datagrid id="dg">
<asp:TextBox id="name" />
<%= name.ClientID %>
</datagrid>
</form>
and throws an error of:
Compilation Error
Compiler Error Message:... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Setting column widths in DataList?
Posted by Rachel Devons at 6/18/2005 11:29:37 AM
All,
I have a table with three rows, and within each row I have a DataList that
is set to use 3 columns. The problem I'm having is that each DataList sets
it's columns to be different widths so when the user is looking at the data,
the columns move back and forth among the DataLists. I don'... more >>
Inherits statement in <%@ Page= ............. %>
Posted by anoop at 6/18/2005 9:10:03 AM
Hello,
I am working on ASP .Net 2.0. I created a .aspx file named as
enter_department_info.aspx and its code behind file as
enter_department_info.aspx.vb which is written as codefile in asp.net 2.0.
Now I want to how should I write the class name between double quotes in
Inherits s... more >>
AspNet - MySQL, olddb drivers
Posted by Fabrice at 6/18/2005 7:59:46 AM
Hi,
I m looking for OLEdb Drivers for Mysql Server. The file MyOLEDB3.exe
I don't managed to find it.
If someone know where i can find it ?
thanks a lot
fabrice
... more >>
Trying to find ClientID of web form
Posted by Neo Geshel at 6/18/2005 5:32:21 AM
I need to get the ClientID of a form field for some JavaScript. About
25+ web sites I visited recommend the following method for finding the
client ID of a web form:
Web Form -> <asp:TextBox ID="datefield" type="hidden" Runat="Server" />
Client ID -> <%= datefield.ClientID() %>
Unfortunatel... more >>
Trying to find ClientID of web form
Posted by Neo Geshel at 6/18/2005 2:35:40 AM
I need to get the ClientID of a form field for some JavaScript. About
25+ web sites I visited recommend the following method for finding the
client ID of a web form:
Web Form -> <asp:TextBox ID="datefield" type="hidden" Runat="Server" />
Client ID -> <%= datefield.ClientID() %>
Unfortunat... more >>
Viewstate error
Posted by No one at 6/18/2005 12:00:00 AM
Here is the view state error I am getting on a Windows 2003 box:
-------------------------------------------------
Unable to validate data.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about ... more >>
How to get Selected item in a Databinded CheckBoxList when CheckBoxlist is in a DataList?
Posted by Patrick.O.Ige at 6/18/2005 12:00:00 AM
I'm binding a CheckBoxlist below in the ItemDataBound(the CheckBoxList is in
a Datalist)
By doing "li.Selected = True" i can see all the checkBoxes are selected.
But what i want is to be able to get a Boolean value TRUE or FALSE when a
checkBox is selected.
When the checkBoxList was out o... more >>
ASP.NET doesn't work and show after installation of SDK 1.1
Posted by Oscar at 6/18/2005 12:00:00 AM
I am a beginner to ASP.NET and have not been able to have ASP.NET working.
My PC is a XP Professional SP2, IIS V5.0 , IE 6.0
The configuration was able to run ASP pages at forehand.
I have first installed the .NET Framework 1.1 redistrib.
After that I have installed the .NET Framework 1.1 SD... more >>
Syntax Question?
Posted by N. Demos at 6/18/2005 12:00:00 AM
In the ASP.Net (VB.Net) book I'm reading (learning from) the syntax used
for class inheritance uses a colon between the class declaration and the
inheritance statement.
EX:
Public Class MyClassName : Inherits ParentClassName
Elsewhere, I have seen the following syntax without the colon ... more >>
forms based authentication feasable?
Posted by matthias s. at 6/18/2005 12:00:00 AM
Hi there,
I'm creating a web app which consists of pages, that can seen by all (even
anonymous) users. For example, we have a messageboard. The individual
threads can be read by all users, but a new thread can only be added by a
registered member. Is forms based authentication feasable here? H... more >>
Session resetting
Posted by No One at 6/18/2005 12:00:00 AM
This seems to be related to the ViewState error that is now starting to
plague ASP.Net apps. When the Application Pool is recycled, the Session
seems to be getting reset. When this is done, session information is
lost and my app forgets what rules a user has. I'd rather not recode to
read... more >>
How to add a date picker control to ASPX page
Posted by Mullai at 6/18/2005 12:00:00 AM
Dear All,
I am new to ASP.NET. Can any one help me on how to add a date picker control
to an ASPX page ?
Thanks and Regards,
Peri
... more >>
Is it possible to reorder a dataset?
Posted by Shapper at 6/18/2005 12:00:00 AM
Hello,
I have a dataset where one of the fields is [date].
Is it possible to reorder the dataset ascending or descending according
to [date] field.
Thanks,
Miguel
... more >>
Database structure of asp.net 2.0 providers
Posted by Arjen at 6/18/2005 12:00:00 AM
Hi,
I have some questions about the database structure used by the asp.net 2.0
providers.
Why are the tables aspnet_users and aspnet_membership not one table?
Why is the userId of type uniqueidentifier and not int32?
For all the questions... what are the advantages or this advantages.
... more >>
How to create a table of TextBox
Posted by ad at 6/18/2005 12:00:00 AM
I want to creat a 3x2 tables, there a TextBox in each cells.
How can I do it programlly ?
... more >>
How to access a dataset value?
Posted by Shapper at 6/18/2005 12:00:00 AM
Hello,
I have a dataset which returns only one row.
I need to make an ASP:Image ImageURL equal to the dataset's imageURL
field.
I tried these two options:
iphoto.ImageURL = dsProduct("image01_url").ToString()
iphoto.ImageURL = dsProduct.Item("image01_url").ToString()
Both return ... more >>
How to add a menu control in a ASPX page - Sample Code
Posted by Mullai at 6/18/2005 12:00:00 AM
Dear all,
Can any one give me some sample code on adding a menu control in an ASPX
page ?
Thanks and Regards,
Peri
... more >>
|