all groups > asp.net > january 2005 > threads for sunday january 30
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
Accessing PeopleSoft Database from .NET
Posted by karpagam at 1/30/2005 10:39:02 PM
How to access the peoplesoft database from the .NET application. The
peoplesoft database holds the user information, against which the user has to
be authenticated for accessing the peoplesoft applications.
Are there any built in API's provided by peoplesoft which can be called from
the ... more >>
Nested repeater control
Posted by Maziar Aflatoun at 1/30/2005 10:25:02 PM
Hi,
I have tried setting up a nested repeater control and it works fine. But
when I do 3 level nested repeater it fails. Does anyone know a site or have
an example of a three level nestest repeater control? Where there is a
parent repeater inside it there is a child repeater and inside that... more >>
Populate 2 or more datagrids from one OleDBCommand
Posted by Simon Harris at 1/30/2005 10:11:13 PM
Hi All,
I wish to populate more than one datagrid from the same OleDBCommand. The
code I have is:
Dim objCmd As New OleDbCommand(strSql, objConn)
Then...
Me.dgTariffHolidayHomesBand1.DataSource = objCmd.ExecuteReader()
Me.dgTariffHolidayHomesBand1.Visible = True
Me.dgTariffHoliday... more >>
How to generate HTML page from code?
Posted by Olav Tollefsen at 1/30/2005 7:40:53 PM
I would like to generate a HTML page and mail it to a user. In order to
design the page, I would like to leverage the Web Form designer and
code-behind programming model, but instead of generating the page in
response to a browser request, I would like to generate the page from code
and fetc... more >>
running javascript function on a webcontrol
Posted by hemant_pkl NO[at]SPAM yahoo.com at 1/30/2005 7:35:37 PM
hi all,
i am working on a website using asp.net-vb.net
i am using a textbox(web control) and want to run javascript function
as the text in the textbox is changed. but as soon as i run the page
in the browser i get the foll. message:
Compiler Error Message: BC30456: 'func' is not a member of
... more >>
C# syntax question
Posted by Mike at 1/30/2005 7:19:02 PM
I have done this before in VB but I am realitively new to C#. I have a
datagrid where the first bound column represents the identity column from the
table. I have designated that first bound column to be hidden. I need to
provide update capibilities to my datagrid and therefore I need to be ab... more >>
when to dynamically change datagrid column headers
Posted by gh0st54 at 1/30/2005 6:12:56 PM
hi
still working on changing my data grid headers using resource files
the thing is i always gat a count of 0 for my datagrid columns count, when
will i get the columns count and when should i change the headers ??
thanks
private void Page_Load(object sender, System.EventArgs e)
{
... more >>
ASP Web server controls and ID attributes
Posted by nzanella NO[at]SPAM gmail.com at 1/30/2005 4:51:18 PM
Hello,
My understanding is that when using ASP.NET web server controls and
HTML controls the ID attribute becomes a global variable. But isn't
there a way to assign a local variable within a for loop? That is,
isn't there an equivalent of the ID property which can act as a
local variable. BTW... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Add markup code to specific words in a text
Posted by Toska at 1/30/2005 3:57:06 PM
Hi
Wonder how the should use the Regex members to add markup code to words
in a text.
Code:
--------------------
string words1 = "dog|cat|pig|horse|hippo";
string text1 = "hadsf das adh f dog adhsf yagds uyaudfyas gdf pig afsd. agfg afd gasd fgasd g dog. aygs fag fiusadf gi cat hasd... more >>
<%= %> vs. <%# %>
Posted by nzanella NO[at]SPAM cs.mun.ca at 1/30/2005 3:21:35 PM
Hello,
I would like to know what the difference is among the constructs
<%= %> for evaluating an expression and displaying the evaluated
result on the page and <%# %>. In particular I would like to know
why the <%# %> construct is necessary in locations where the other
<%= %> does not do. It ... more >>
Inserting Data in Page_load problem!!!!!
Posted by Patrick Olurotimi Ige at 1/30/2005 2:57:53 PM
I'm trying to insert data in Page_load below but its inserting 2 records
at the sametime!!!
What am i doing wrong!!!!!
Sub Page_Load (ByVal sender As System.Object, ByVal e As
System.EventArgs)Handles MyBase.Load
if Not Page.IsPostBack then
Dim strLogonUsr As ... more >>
'EXECUTE PERMISSION DENIED' on executing Sproc
Posted by Mike L. at 1/30/2005 1:30:18 PM
Hi,
I got this 'EXECUTE permission denied on object <mySproc>' error message
everytime I try executing my SQL server Sproc.
What's this and how to fix this err?
many thnaks in advance,
mike
... more >>
Question about AppSettings?
Posted by Rudy at 1/30/2005 12:45:03 PM
Hello All!
I'm just trying to set my SQL connection String in the app setting of my
Web Config. I got it to work on one page, but my code is a little diffrent
for another page that has a little more code and stuff goin on.
This is my current connection string..
Protected Const SQL_CONNEC... more >>
Forms Authentication with AD
Posted by dhnriverside at 1/30/2005 12:31:02 PM
Hi there
I'm using Windows Authentication to automatically recognise users in my web
app. However, I want directory to be password protected, so if they try to
visit the page in there, they MUST enter their password in a Windows Login
style popup (FOrms AUthentication).
I think I need to... more >>
writing HTML....how?
Posted by tzake at 1/30/2005 12:19:03 PM
Dear Helper,
I would like to write some text retrieved from a database of a web form.
However, if this text contains links to web sites or e-mail addresses I would
like to render them as Hyperlinks. More than that, I would like to write that
certain text somewhere, let's say inside a table's ... more >>
Help with ASP server calls
Posted by Marek Krzeminski at 1/30/2005 12:02:16 PM
I am new to ASP and I am having some problems that I hope someone can help
me with.
I am using WindowsXP and a book to try to learn ASP.
The book instructed me to install IIS & .Net Framework v1.1 (which I did)
In the book they gave me the following code:
<script language="vb" runat="s... more >>
Code disappears from under InitializeComponent()
Posted by Maziar Aflatoun at 1/30/2005 12:01:51 PM
Hi everyone,
I'm using VisualStudio 2003 and sometimes when I make changes in the design
view, the code in my InitializeComponent() completely disappears and I have
redefine the Events for that page (.aspx) all over again. Does anyone know
why? and also what's the solution.
Thank you... more >>
Cannot get OUTPUT parameter after running Sql stored procedure
Posted by MS at 1/30/2005 11:57:39 AM
Here's my simple stored procedure:
ALTER PROCEDURE GetMemberIDByEmail
@Email EmailAddress,
@ID int OUTPUT
AS
SELECT @ID = ID FROM tbl_Member WHERE Email=@Email
RETURN
Here's my C# code (using Microsoft Data
public int GetMemberIdByEmail(string email)
{
SqlParameter[] ar... more >>
insert decimal value into MS SQL database
Posted by ven at 1/30/2005 11:23:13 AM
hello i`m makin a asp.net service with database connection where i have an
insert with decimal value, when i run my function i get this error :
There are fewer columns in the INSERT statement than values specified in the
VALUES clause. The number of values in the VALUES clause must match the ... more >>
Fileupload - authorization to directories through code?
Posted by KK at 1/30/2005 9:34:25 AM
Hi,
I have two questions
1) In ASP.NET when providing file
upload facility, normaly you have to give
read/write access to the directory. Is
there a way to set this through code?
For example, without setting directory
permissions through file explorer, is it
possible to give permission ... more >>
Stopping ASP.NET application during Application_Start event
Posted by Eric Dan at 1/30/2005 9:09:02 AM
If I would like to stop an ASP.NET application after some initialization
error during the "Application_Start" event (which I have caught within a
catch clause) – what is the right way to do it?
--
Thanks
Eric... more >>
Using OpenFileFialog in asp.net web
Posted by Willem at 1/30/2005 8:03:02 AM
Hi,
I am creating a web application in asp.net in which I have to show an
openfiledialog box to select the file and display the selected file with its
path in a text box.
I try to solve this problem with the System.Windows.Forms.OpenFileFialog.
I use
Imports System.Windows.Forms
In... more >>
Validating a 'HiddenField' control (on ASP 2.0)
Posted by eran NO[at]SPAM prosight.com at 1/30/2005 7:17:22 AM
Hi NG!
It seems to me that for some reason the validation objects don't know
how to work with controls of type 'HiddenField'.
It doesn't make any sence - because they are actually rendered as
<input type=hidden> on the client side, while regular textboxes that
rendered almost in the same way ... more >>
How do you get the HTML for a web control?
Posted by Chad at 1/30/2005 1:29:15 AM
Your gonna ask why would I want to...
One reason is that the unsupported MS Web Tree Control has a text property
on a node, but no Controls collection. To add a control to the node, I need
its HTML, or I need to build it myslef (i'd rather not)
Any ideas?
... more >>
|