|
Hi,
I want to do the following from my ASP.NET Web Application:
1. Want to show the list of all the websites created under one webserver
2. Should be able to Start/Stop any one of the WebSite listed
Also note the WebServer could be different from the Server where the ASP.NET application will run from. ex: ASP.NET application is install/running in SERVER1, but the list of websites which i want to show could be in SERVER2.
Thanks,
Subhash M
|
|
|
|
|
|
I m working on a project in ASP.NET 2.0.
I m using gridview and i want to invisible the colum of a grid view. I m using RowCreated event of gridview. The code in this eventy is
e.Row.Cells[0].Visible = false;
by doing this row disappears but paging doesnot work.
I have to use rowcreated event and i have to invisible the column data at runtime.
Any solution???
Do good and have good.
|
|
|
|
|
e.row.cells[0]["column name"].visible
Gautham
|
|
|
|
|
Infact problem is "Paging is not working".
Do good and have good.
|
|
|
|
|
hi friends,
I need to display a custom field in crystal reports the sql query is like this
SELECT transid, frdeptno ,frdeptname=(select deptname from dept where deptno=frdeptno),
frempno,frempname=(select username from users where userid=frempno), todeptno,todeptname=(select deptname from dept where deptno=todeptno),
toempno ,toempname=(select username from users where userid=toempno), mchcode
FROM transfermch
the fields frdeptname,frempname,todeptname,toempname how can i display these fields in crystal reports
jabbarsb
|
|
|
|
|
|
Hi
I have bought a new computer and then I copied my web projects from the old computer to the new one.Then I made virtual directories for these web projects using IIS.
When I want to build an asp.net 2 project(a solution contains a website and a custom library) using visual studio 2005 I got 101 messages telling me that the schema information for ... element couldn't be found.When I run the project I got the error message: The website declined to show this webpage.
When I want to open another web project(asp.net 1.1) using visual studio.net 2003 its telling me that the project is on an untrusted server(I don't remember the whole message) then I clicked yes then everything is working normally with this project.
Could any one tell me what could cause all these problems to happend?
I am too late but i will never give up
|
|
|
|
|
|
>>what??? late????
|
|
|
|
|
Sorry this message was sent by mistake.You can reply to my question above(copying projects).
I am too late but i will never give up
|
|
|
|
|
Sorry this message was sent by mistake.You can reply to my question above(copying projects).
I am too late but i will never give up
|
|
|
|
|
Hi friends
how to add title text in content page?
hot to write tag in content page?
thanks in advance
khan
|
|
|
|
|
>>how to add title text in content page?
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" Title="Title is here!" %>
>>how to write tag in content page?
#1. Client-side Script can be written within "Content"
#2. Client-side Script can be registered in Page_PreRender Event.
Hope it would help.
-- modified at 4:36 Thursday 15th February, 2007
<div class="ForumSig">Thanks and Regards,
Michael Sync
Blog: <a href="http://michaelsync.net">http://michaelsync.net</a></div>
|
|
|
|
|
Thank you Michael
plz give me some code to register client side srcipt bcoz i have no idea how to register it.i am first time workin in master page
Thanks again
pathan
|
|
|
|
|
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append("<script language='javascript'>");
sb.Append("window.open('javascript.htm', 'CustomPopUp',");
sb.Append("'width=200, height=200, menubar=yes, resizable=no');<");
sb.Append("/script>");
Type t = this.GetType();
if (!ClientScript.IsClientScriptBlockRegistered(t, "PopupScript"))
ClientScript.RegisterClientScriptBlock(t,"PopupScript", sb.ToString());
Those articles might be useful for you.
JavaScript with ASP.NET 2.0 Pages - Part 1
Master Pages In ASP.NET 2.0
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps
|
|
|
|
|
I am using asp.net together with C#. I would like to include a option in my website to display the bandwith speed at that current moment. How would i do this?
|
|
|
|
|
Plz give m the sample code for this.
BOL
|
|
|
|
|
|
|
Hi friend please can you tell me how to solve this problem.When i try to create new role is appear this exception?
"
Cannot insert the value NULL into column 'RoleId', table 'C:\WEB-PROJECT\02.12.2007\APP_DATA\IVOIRENETPUB.MDF.dbo.aspnet_Roles'; column does not allow nulls. INSERT fails.
"
Even if i use asp.net configuration!!!
Good bye
-- modified at 2:46 Thursday 15th February, 2007
when i want to read something good just seat and type it
|
|
|
|
|
Then.. RoleID might be primary key or identity which is not allowed to add NULL value.
if you wanna add it then you may change your database design.
if I'm in wrong direction then you can show me your current table design.
|
|
|
|
|
hi again
the table is create automaticly by visual studio when you use asp.net configuration that is way i don't change nothing but has you see is appear some exception!Did you have idea how to solve the problem.
GO
/****** Object: Table [dbo].[aspnet_Roles] Script Date: 02/15/2007 21:55:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[aspnet_Roles](
[ApplicationId] [uniqueidentifier] NOT NULL,
[RoleId] [uniqueidentifier] NOT NULL,
[RoleName] [nvarchar](256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[LoweredRoleName] [nvarchar](256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [nvarchar](256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
when i want to read something good just seat and type it
|
|
|
|
|
Check it out here.. >> [RoleId] [uniqueidentifier] NOT NULL,
that means this column doesn't accept any NULL value.
Why do you want to add NULL value?
it will work if you don;t add any NULL value to this column..
However, in case you have to add NULL value then... you can remove "NOT NULL" from this statement..
|
|
|
|
|
Thank's i will try it but i am not sure that is correct because if i made change after that is possible other function to don't work.((
when i want to read something good just seat and type it
|
|
|
|