all groups > asp.net > may 2005 > threads for sunday may 1
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
DataGrid Question
Posted by Ryan Smith at 5/1/2005 11:38:05 PM
I have a Datagrid that I can't seem to get to work. I can populate the grid
from a database but I can't figure out how to update the DB when the user
edits a templated column. I have done it before and copied the code over but
it isn't working. Any help is greatly appreciated.
Code behin... more >>
modifying user control properties on the client.
Posted by sonic at 5/1/2005 10:53:56 PM
I came across a problem today that seems very trivial however i did not
yet solve it elegantly.
Normally, when i need to pass values between server and javascript, I
create a server control such as textbox or htmlInputHidden and
update/read it on both sides.
However, I am developing a user ... more >>
treeview without form?
Posted by Daves at 5/1/2005 10:47:46 PM
is there anyway to use a TreeView without a Form runat="server" ?
because having a TreeView in my masterpage requires me to add a Form there
and then there is a conflict with the content page since it also needs a
form, 2 Forms on a page are not allowed...
... more >>
IIS using ASP.Net 1.0 instead of 1.1?
Posted by Ben Fidge at 5/1/2005 10:34:32 PM
Hi
I've just had to reinstall both VS.NET 2002 and 2003 on my laptop after hard
disk failure. I've also installed Duwamish example app and am presented with
the following error:
"Visual Studio.Net has detected that the web server is using ASP.NET 1.0..."
and it recommends that I upgrade ... more >>
FileUpload size and win2003 service pack1 ??
Posted by james at 5/1/2005 8:38:40 PM
hi!
I have written an asp.net web page which can upload files,
i didn't modify the machine.config and the web.config
file, when i upload a file that size < 1mb, it can run
correctly, but when i upload a file that size > 1mb and <
4mb, it cause an error.
then i open the machine.config and... more >>
Relying on client-side validation?
Posted by Ben Fidge at 5/1/2005 7:53:20 PM
Hi
I'm interested to know what peoples opinions are on using the Client-side
Validators in ASP.NET? I use them very heavily but am experiencing the odd
occassion when users have either intentionally or inadvertantly bipassed
them.
Any ideas on how this could happen. I know that a determi... more >>
Customize the client side validation in asp.net
Posted by Sun Jian at 5/1/2005 7:36:40 PM
Hi,
I am trying to customize the asp.net validation to achieve the following:
Upon submitting the form, client side validation will run, and it will stop
at the first error detected. For example if both UserID and Password text
fields are required but neither is filled in, I'd like to displ... more >>
Need help with FindControl in DataGrid
Posted by Terry Olsen at 5/1/2005 6:56:27 PM
I've got a datagrid set up to display data. I've also got an
Edit,Update,Cancel column set up to allow editing of data.
I've got a DropDownList (ID="ddl3")in the EditItemTemplate for a certain
column that I need to populate while in Edit Mode.
Two questions: Is there a way to directly us... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Oledbparameters
Posted by Paul Gray via DotNetMonster.com at 5/1/2005 4:02:08 PM
Hi
I am having touble determining the correct syntax for my SQL query using
the OleDbCommand parameters and the 'like' operator with the 'where' clause
.. I would like to use the wildcard % at either end of my parameter, but no
matter what I try, nothing seems to work, on the surface the quer... more >>
ASP.NET Game I wrote...
Posted by Saul at 5/1/2005 2:05:27 PM
Hi all!
I was wondering if a few of you might want to try out my new online game
here... GEEKSLOTS!
http://saulysw.servepics.com/Geekslots/frmSpin.aspx
Which I wrote in ASP.NET. I have not written a help page yet, so I guess it
needs some explaination! What you need to do is build a compu... more >>
How to organize a Web-Project
Posted by Greg Cyrus at 5/1/2005 1:31:07 PM
"How to organize a Web-Project with DLL-Projects and Forms-Authentication"
Hi,
i would like to create a multi-tier solution with many projects using
ASP.NET such like presentation, biz-logic, data-logic - projects.
When I create such solution as WebProject I wonder where to save core
VB-Cl... more >>
Difference between Portable Executable (PE) file and a Assembly
Posted by suresh_C# at 5/1/2005 12:17:05 PM
Dear All,
What is difference between Portable Executable (PE) file and a Assembly?
Thanks,
Mahesh
... more >>
What is a CLR? Is it's a DLL or EXE?
Posted by suresh_C# at 5/1/2005 12:02:03 PM
What is a CLR? Is it's a DLL or EXE?
And where it is located?... more >>
What is the common practice as far as URL page referencing in your code?
Posted by Amelyan at 5/1/2005 11:35:57 AM
I am struggling here trying to determine what is a good programming practice
as far as referencing your URLs.
When you use Response.Redirect, do you use
1) Hard-coded string -- Response.Redirect("MyPage.aspx");
2) Constants -- Response.Redirect(STRMyPage); // where input parameter
is -> ... more >>
Refresh Page. How can I do this?
Posted by Shapper at 5/1/2005 11:30:33 AM
Hello,
I have a function which changes culture and sets a new session value.
I want to refresh the present page after the function makes the changes.
How can I do this?
Thanks,
Miguel
... more >>
DataGrid - Paging problems
Posted by Ruy Castelli at 5/1/2005 10:52:07 AM
Hello,
I'm learning to code in C# and I created a DataGrid component, which I
couldn't get it to work properly either using "Next >>" and "<< Previous"
buttons or using actual page numbers.
When I use the "Next" and "Previous" buttons, I move on one page (going from
page 1 to 2). Then if... more >>
Size of a DLL file
Posted by Joe D. at 5/1/2005 10:30:05 AM
Hi!
My asp.net application's DLL file is almost 5 MB. Can it be a performance
problem?
Maybe I should split it into few projects for ex. business objects project,
DAL project?
What do you think?
We have this problem - after first compilation the site runs smoothly, but
after some time it... more >>
Borderless formatted Printing from ASP.NET
Posted by Clint MacDonald at 5/1/2005 9:30:12 AM
Hello,
I am trying to create a small application that creates labels and I have
purchased a thermal transfer label printer. Now I need to be able to print
the formatted label to the printer without the browser header/footer and
without margins or borders....
Any starting ideas or links to r... more >>
Newbie: Datagrid is Completely Blank?!?
Posted by Altemir at 5/1/2005 8:44:24 AM
Just trying to connect an ASP.NET page to an SQL database. When I run
the page, I get no errors but no recordset results are returned via the
datagrid control -- it is completely blank.
The only thing displayed is the "Job Dispatch List" page title which is
executed as plain HTML.
Code is ... more >>
Load usercontrol in notPage ispostback
Posted by sebastien971 NO[at]SPAM hotmail.com at 5/1/2005 8:35:24 AM
Hi,
In page_load :
If Not Page.IsPostBack Then
Dim myUC As UserControl = LoadControl("ficheProspects.ascx")
myUC.ID = "FicheProspects1"
End If
In another Sub i need to find my control :
Dim myUC As UserControl = CType((FindControl("FicheProspects1")), UserControl)
Dim ucType As T... more >>
Binding Image Controls to a Dataset?
Posted by gemel at 5/1/2005 8:25:03 AM
I have a set of images on a SQL2000 server that I use on a Windows
Application by binding to a dataset. The controls on a Web Application
require a URL. Is there a way that I can connect these controls to a
dataset?
John L... more >>
Connect to SQL Server
Posted by Barry at 5/1/2005 5:14:05 AM
Hi
When trying to connect to SQL Server using the code below i get this message
at myConnection.Open() line
Login failed for user 'JACKSON-QS7MHO6H\ASPNET'
from where does it add \ASPNET
how do i log on
string mySelectQuery = "SELECT * FROM authors";
string myConnectString = "... more >>
NEXT record Link
Posted by asad at 5/1/2005 3:21:02 AM
Hello, i'm working on a greeting card website, there is a page where i'm
showing
greeting cards, i have done paging on this page with using Datalist and its
working well but i have a problem is on Next button i want to disable Next
button link when user is on last page so pls tell me how ca... more >>
proper way to abstract db access?
Posted by at 5/1/2005 12:36:49 AM
Hello all,
can someone possibly clear up what the 'proper' way to abstract DB access
is? (Using C#, though it shouldnt matter)
For example my asp page calls a web service that has an authenticate method
that uses a username/pass table in a DB..
I set up a DB class that connects to the DB ... more >>
How can I change an URL?
Posted by Shapper at 5/1/2005 12:07:53 AM
Hello,
I have this image in my HTML code:
<img src="images/en-US/myImage.jpg" />
I want to change the URL using the value of a Session variable.
<img src="images/ Session("culture") Value /myImage.jpg" />
This is what I did:
<img src='images/<%# Session("culture") %>/myImage.jpg' />
I... more >>
DatGrid Data Updating
Posted by Steve Wark at 5/1/2005 12:03:38 AM
Whats the easiest way to update data being displayed in a datagrid from SQL
every 2-3 minutes. For instance, a user brings up a web page page that is
monitoring an alarm list stored in a SQL table. Some process creates a new
alarm into the table, this should be displayed in the datagrid by the s... more >>
|