all groups > asp.net > february 2008 > threads for friday february 8
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
how to check if cell of gridview is empty?
Posted by Bart at 2/8/2008 10:32:14 PM
Hi,
i need to check wether a cell of a gridview is empty or not. I did this:
Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e
As System.EventArgs) Handles GridView1.SelectedIndexChanged
Dim log1 As String
log1 = GridView1.SelectedRow.Cells(1).Text
.....
If l... more >>
FormsView
Posted by Mr. R at 2/8/2008 10:29:45 PM
Hi
I have a FormsView where I want to let the user edit user information for
their account. I have entered a adefault user with the name "username" so I
can fill an empty form.
For the old site I used Session cockies to save information about username
and password. The cockies should be ... more >>
Border-Collapse
Posted by Just Me at 2/8/2008 9:32:49 PM
Hi,
OK this is not really a ASP.NET issue perse, however it is a Internet
Explorer issue.
I am trying to render tables using asp.net natively which is fine, but it
has exposed what looks like a failing in explorer.
Basically, if I collapse the borders of a table then border conflict
p... more >>
Help with Assembly Binding in ASP.NET 2.0 Web Application Projects
Posted by Jeremiah Mercier at 2/8/2008 7:18:05 PM
I have been directed by my team lead to remove a dll I am responsible for
from the bin directory of our ASP.NET 2.0 web application by changing the
CopyLocal property to False. I have done this and am getting the following
error:
Could not load file or assembly 'GrangeAJAXComponents' or one... more >>
session state and load balancing
Posted by m.a at 2/8/2008 6:09:38 PM
Hello,
I am looking for a hosting solution for my asp.net application. I found
that some ISP stated that session states are not preserved in a load
balancing system. As I know, if the asp.net is configured to save the
session states in SQL server or file system, it would be preserved in... more >>
Background images not displaying.
Posted by ecuisinetest@gmail.com at 2/8/2008 3:18:47 PM
I have some HTML that is being sent via email through an ASP.NET app.
It displays fine in
yahoo mail but not in gmail or hotmail. Can anybody shed some light.
Here is a link to a sample page
http://www.alliedtechnical.net/test.html
and the source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTM... more >>
NewPasswordRegularExpression bug in ChangePassword control
Posted by Dmitry Duginov at 2/8/2008 2:01:37 PM
Hi,
I am trying to enforce the following password strength rules:
8 characters minimum
including at least 2 digits
and at least one non-alphanumeric character
Web.config fragment:
<membership defaultProvider="XYZMembershipProvider">
<providers>
<add name="XYZMembershipPr... more >>
Mystery: Validators don't always validate ? Can unrelated Javascript stop them ?
Posted by Radu at 2/8/2008 1:18:28 PM
Hi. I'm struggling to understand what's happening here:
I have the following HTML:
<script language="javascript" type="text/javascript">
function ShowConfirm1()
{
var varMessage='Would you also like to add an \"Action Taken\" on
this PIN ?'
var varAnswer = confirm(varMessage)
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Global instance of an object
Posted by Hornet77 at 2/8/2008 1:15:42 PM
Hi
I need to call a wide variety of methods to query the database in each
of my aspx pages; to achieve this target I wrote a "DbManager" class
with a private static instance and a set of static method to call from
my pages:
public class DbManager
{
private static DbManager instance = ... more >>
WebClient, DownloadFile, OpenRead Does not retrive last modify file
Posted by Harvey Triana at 2/8/2008 1:02:59 PM
Hi-
I am using...
WebClient Client = new WebClient ();
Client.DownloadFile(url, filename);
Or
Stream strm = Client.OpenRead (url);
But, the stream or file download, is not updated, several calls to url
retrive the same file. The file behind url is update each two seconds.
-... more >>
ASP.NET 2.0 GridView Item Selection
Posted by ABHIJIT B at 2/8/2008 12:46:40 PM
Hi,
I am using GridView in my web page.In that form after clicking Add
button I am again binding GridView with newly added record.
The problem I am facing is how to highlight newly inserted data in
GridView.
Regards,
Abhijit B... more >>
Setting the ContentType for content published using a VirtualPathProvider
Posted by Jan at 2/8/2008 12:43:18 PM
Is it possible to set the ContentType for the VirtualFile-descendant that a
custom virtual path provider returns in response to a call to its GetFile
method? Right now, web browsers tend to misinterpret the XML-data I return,
because I cannot specify that the content type is text/xml.
... more >>
ASP.NET 2.0 DataGrid Radio Button Single Selection
Posted by ABHIJIT B at 2/8/2008 12:35:14 PM
Hi,
I am using datagrid in my PopUp window page.It has radio button for
selecting row.
I want to allow single selection at a time.I am able to solve problem
using belowcode.
Currently I am facing is I am allowing Paging for datagrid.
Now I am disabling Paging and allow scrolling.If I enabl... more >>
Option for .NET version 3.5 not in IIS Manager?
Posted by John Kotuby at 2/8/2008 12:20:02 PM
Hi all,
I am upgrading my web app from VS2005 to VS2008 (using VB). I opened the
project in VS2008 and selected the 3.5 version of NET framework. The project
compiles and runs fine on my Dev machine (which of course had the new
framework installed with VS 2008). I have noticed some referenc... more >>
Getting IDs back when submitting
Posted by Josh Valino at 2/8/2008 12:12:44 PM
Hi,
I have a webform that lists poeple from a database and has a radiobutton
list for each person. I want to go down the list and select a radio button
for each person, then save those selections to a database. But in order to
save the selections to the database, I need to get back the ID... more >>
RegEx DataValidation Help
Posted by Bryan H at 2/8/2008 12:05:59 PM
Hello.. I'm trying to do some realtime password validation.
The requirements are use of at least 3 of 4 datasets (1 upper, 1 lower, 1
number, 1 special char) and a min of 8.
I've got
^.*(?=.{8,})((?=.*\d)|(?=.*[@#$%^&+=]))(?=.*[a-z])(?=.*[A-Z]).*$
that get's me close.. that does min 8, 1... more >>
reading a xml value from text box
Posted by deepak at 2/8/2008 10:51:01 AM
Hi All,
On a asp.net web page, i have a text box and a button ('Submit') , the text
box has below contents
<SXPTaskUpdateOrAdd Revision="7.5.0" Source="India_Bharti">
<Task>
<NOCRefID>SH123456</NOCRefID>
<TaskType>Corrective</TaskType>
<EarlyStart>2006-02-03T00:00:00</EarlyStart >
<De... more >>
Recursive Find Control
Posted by shapper at 2/8/2008 8:49:38 AM
Hello,
I need a recursive find control down the control tree.
I have created some code and also found a few examples online.
However, I am having some problem to decide which one to use because I
think if this code is not well done it can slow my web site.
Any advice about these codes w... more >>
Error connecting to Oracle
Posted by Robin9876 at 2/8/2008 8:36:44 AM
Using some .Net code to connect to Oracle the follow error message is
now being displayed
File or assembly name Oracle.DataAccess, or one of its dependencies,
was not found.
Exception Details: System.IO.FileNotFoundException: File or assembly
name Oracle.DataAccess, or one of its dependencies... more >>
ActiveX File Upload
Posted by MDB at 2/8/2008 7:50:15 AM
Hello all, I am thinking about writing my own ActiveX File upload control
in order to try and speed up files being uploaded / FTP'd to my webserver.
My first question is, will this make a difference in the speed of the files
being uploaded? Second, does anyone have any pointers or suggestion... more >>
GridView: sort && avoid outdated data && trip to database only once
Posted by DC at 2/8/2008 6:52:20 AM
Hi,
I am using the GridView and other databound controls a lot to present
realtime data, so I cannot use ViewState but instead must always get
fresh data from sql server whenever the user triggers an action like
resorting the grid.
I am using the typical events for sorting and I thought wit... more >>
Datagrid problem
Posted by shruthialekha@gmail.com at 2/8/2008 6:35:52 AM
I have created a datagrid in visual studio using C#. The dock is set
to none. The datagrid has 4 rows initially and scrollbar is enabled.
when I scroll down after the 4 rows I can see an empty space. I have
handled this problem using scroll event, but when I add another row I
can again see an em... more >>
Writing/Developing Facebook Applications in .NET using Facebook.NET SDK
Posted by Dutt at 2/8/2008 6:35:40 AM
Writing/Developing Facebook Applications in .NET using Facebook.NET
SDK
http://msdotnetsupport.blogspot.com/2007/11/writing-facebook-applications-in-net.html
... more >>
22 New Features of Visual Studio 2008 for .NET Professionals
Posted by Dutt at 2/8/2008 6:35:19 AM
22 New Features of Visual Studio 2008 for .NET Professionals
http://msdotnetsupport.blogspot.com/2007/11/22-new-features-of-visual-studio-2008.html... more >>
How to Protecting the .NET Source Code by Decompiling, Obfuscation using Dotfuscator
Posted by Dutt at 2/8/2008 6:32:20 AM
Do you know that .NET Compiled code can be revert back to C# and
VB.NET Source code. Yes it is possible by using decompiler we can get
the original source code, then what about security. We can use .NET
Obfuscation using dotfuscator for source code protection ...
http://msdotnetsupport.blogspot.... more >>
HTTPContext Session and worker thread (Fire and Forget)
Posted by Braulio Diez at 2/8/2008 6:31:00 AM
Hello,
In my ASP .net application in one of the pages I have to fire a process
that takes quite long to execute, my idea is to execute this using the fire
and forget pattern (let the page to process and respond, but start a worker
thread to execute the process, it takes 1 minute to execut... more >>
web site protection
Posted by deshmukh.mateen@gmail.com at 2/8/2008 5:56:52 AM
We're planning on a porting project from client-server to
browser-based. The client-server application has a
critical built-in security mechanism we'd like to bring
over to a web browser. It reads from a set of control
files on the hard-drive to make sure it is being run from
an "approved" comp... more >>
loading the data
Posted by AVL at 2/8/2008 5:31:01 AM
Hi,
I've a requirement to load the data froma csv file to sql server table
programaticlly..
I'm working with .net 1.1..so i can't use sqlbulkcopy concept..
which is the best approach to load the daat wrt performance...
as of now, i'm planning to populate into a dataset and loop through th... more >>
stroing a string into xmlelement and vice versa
Posted by deepak at 2/8/2008 4:23:00 AM
Hi All,
this is a string
"<SXPServerGetObjectsResult><Objects><Task><District Key="258627584">NL
KPN</District></Task></Objects></SXPServerGetObjectsResult>"
i want to store this into a xmlelement variable for further processing
this as xmlelement IN VB.NET
How can i do it?
may u al... more >>
Workflow recommendations for ASP.NET 2.0/Windows 2000?
Posted by Speccy at 2/8/2008 1:57:22 AM
Hi,
We would like to use Windows Workflow Foundation, but our server is
Windows 2000, which cannot have .NET 3.0 installed on it.
As WWF requires .NET 3.0, we therefore cannot use WWF. No server
upgrade is planned for a while.
Can anyone recommend a workflow solution to use on Windows 2... more >>
|