all groups > asp.net > september 2006 > threads for saturday september 23
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
ExecuteScalar?
Posted by rn5a NO[at]SPAM rediffmail.com at 9/23/2006 10:14:23 PM
A class file has the following code:
Imports System
Imports System.Data
Imports System.Data.SqlClient
Namespace LoginUsers
Public Class UserValidation
Public Function Validate(ByVal UserName As String, ByVal
Password As String) As Integer
Dim iID As Integer
... more >>
q; what is wrong with this code?
Posted by JIM.H. at 9/23/2006 5:08:02 PM
private void DownloadFile(string fName)
{
string msg="download done";
/*
System.IO.fInfo fInfo = new System.IO.fInfo(fName);
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=" +
fInfo.Name);
Response.AddHeader("Content-Length", fInfo.Length.... more >>
best web drawing software
Posted by Tina at 9/23/2006 4:37:57 PM
I need to find drawing software for my websites. I'm guessing that Adobe
Photoshop is an overkill. What's best for creating bitmaps usable for
websites?
Thanks,
T
... more >>
Cannot access custom attributes in Firefox / Opera
Posted by cardalda NO[at]SPAM gmail.com at 9/23/2006 3:10:20 PM
Hi all,
When I add custom attributes to a TextBox, I can read them out in
javascript under IE6.
For example:
in C#
TextBox1.Attributes.Add("MyString", "ABC");
TextBox1.Attributes.Add("TestMe(this)");
in Javascript I can do
function TestMe(editbox)
{
alert(editbox.MyString); // --... more >>
Adding / removing <asp:ListBox elements client-side
Posted by Mark Rae at 9/23/2006 2:58:38 PM
Hi,
Looking for some advice again...
Imagine two ListBox controls denoting something like students and team
membership e.g. many students can be members of many teams (e.g. the hockey
team, the football team, the athletics team etc).
Team membership is managed on a standard web page wit... more >>
Can I add my own section to the web.config ?
Posted by craigkenisston NO[at]SPAM hotmail.com at 9/23/2006 2:35:50 PM
I need to store a few keys in the web.config file, so I was thinking to
add my own section like:
<MySection>
<MySection1 key1="blahblah" key2="asdf" />
<MySection2 key1="qwer" key2="zxcv" />
</MySection>
But wherever I place this, I get an error of "Unrecognized
configuration section".
... more >>
how to avoid the Form Authentification
Posted by Stan SR at 9/23/2006 2:11:15 PM
Hi,
I have a problem with the website that I ve published.
I get an authentification form.
Which parameters I have to update in the web.config to avoid this ?
Do I have to modify something in IIS 6 ?
Thanks for your reply
Stan
... more >>
list box no selection
Posted by JIM.H. at 9/23/2006 12:52:02 PM
if(listBox.SelectedItem.Text != null)
{
// test
}
This code gives exception if no item is selected in the list box, how can I
check if any item is selected or not?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem with Drop Down List
Posted by fazee.ent NO[at]SPAM gmail.com at 9/23/2006 12:35:46 PM
i am using a drop down list and have sucessfuly populated it proble is
this i have set
DataValueField = "cat_id" but value for dropdownlist appears a string
"cat_id" instead of numer value of cat_id
plz help me
Faisal Iqbal Ch
... more >>
missing images
Posted by Horace Nunley at 9/23/2006 12:17:29 PM
Some images don't show up in my friend's browser, but they work in mine.
My site has a plain-old banner, that shows up in both browsers.
The images that don't show up in my friend's browser are those that I dig
thru the file system and then display as an image button or just a
response.wr... more >>
set selected value declaratively to dropdownlist
Posted by podi at 9/23/2006 11:50:22 AM
Hi,
I just wonder if there is a way to set a selected item in dropdown list
which items are retreived from database without touching c# code ?
I mean, i have in gridview, in edit mode one dropdownlist which
selected value should be the same as a label text from normal view mode
<EditItemTem... more >>
How to set a row to different color when some case
Posted by ad at 9/23/2006 11:20:41 AM
I want to show the background color of a row in a gridview to different
color when the value of a column is greater than 100.
How can I do?
... more >>
q; redirect to login.aspx
Posted by JIM.H. at 9/23/2006 11:16:01 AM
I have a login.aspx in my application and I need to make sure all the users
go though this page even if they click other apsx files in the project
login.aspx should show up. How can I do this?... more >>
q; files in sub directories
Posted by JIM.H. at 9/23/2006 9:41:02 AM
private void getList()
{
string[] fList = Directory.GetFiles("c:\\Tmp");
listBox.DataSource = fList;
listBox.DataBind();
}
This codes brings all the files in the folder c:\tmp. How can make this code
return all the files in the sub directories too?
... more >>
IIS 5.0
Posted by Balaji Narayanan at 9/23/2006 9:33:02 AM
This is my second post for the day.
I have a web application migrated from VS2003 to VS2005.This application is
working fine with IIS5.1 version, please let me know , will there be any
problem with IIS 5.0 ?
I dont have IIS 5.0 with me so testing at this point is not possible, your
points wi... more >>
q; access to a remote file
Posted by JIM.H. at 9/23/2006 8:52:02 AM
\\MyRemoteServer\F1\F2\F3\This PDF.pdf is accessible thought my IE browser,
so my user has access there.
However the following code gives "Logon failure: unknown user name or bad
password.\r\n"
I need to get this application run under a user that has access to
MyRemoteServer, how should I do... more >>
Multiple Websites and Single Sign in
Posted by Jai at 9/23/2006 7:02:11 AM
Hi,
I have a problem related to Login System.
I am developing 3 websites for some institution.Now they want that if
anybody had sign up for there site1.com(say), than he or she should be
able to sign in for site2.com and site3.com.
hence, if user has sign up for the membership of site1.co... more >>
VS2005 on Win2k,IIS5.0 - URGENT.
Posted by Balaji Narayanan at 9/23/2006 6:09:01 AM
I have a VS2005 migrated web application project.
My query is whether my project will get loaded in WIN2000 MACHINES WITH IIS
5.0. without any errors. Please provide your points on this as I have very
less time.
... more >>
Button Click event
Posted by Newish at 9/23/2006 6:06:38 AM
Hi
If there are, say, three buttons on an asp 2 page. User clicks on one
of them. The page is posted back. What is the easiest way to
determine which button was clicked.
thanks
Newish
... more >>
Calling server site script from Javascript using ATLAS
Posted by s.bussing NO[at]SPAM symax.nl at 9/23/2006 5:49:44 AM
Hi All,
I'm new to Atlas and I did some programming using AJAX, but I'm
wondering if it is possible to hava a javascript which can call a
server-site function, in my case to write data to the cache, using
AJAX. So I'm not looking for a possibility to wrap-up controls, but
just to call server... more >>
Nasty chick suck
Posted by slonopotam NO[at]SPAM sriaus-dot-com.no-spam.invalid at 9/23/2006 5:25:59 AM
Fat cock explorin
on this crazy movie ;
---------------------------------
http://community.ihostasp.ne
ASP.NET Developer Community... more >>
|