[RESOLVED] Request.Querystring

290 byte By Bill Crawley at 2007-11-25 10:54:01
Hi All,<br/>I call a page in 2 ways:<br/>first is simply :<br/>Response.Redirect("AddSOR.aspx")<br/>and the other way is<br/>Response.Redirect(String.Format("AddSOR.aspx?Tagid={0}", Request.QueryString("id")))<br/>How do I test to see if TagId has been passed?

multilanguage site

578 byte By ktsirig at 2007-11-25 10:54:08
Hello all!I want to construct a multi-language site. I have my data stored in a database and I wanted to know if there is a way of me knowing which language the user sees. Imagine having a little flag on top of the page and when tha users presses it, he/she will see the data in english or in german...

creating attachments for a new MailMessage()

1753 byte By novice_andrei at 2007-11-25 10:54:13
Hello, I am trying to create a static method in my class file to handle email sending. But I do not know how to deal with attachments. The method must be generally written (I mean I do not know what type of attachments I will have, or how many. So this is what I have written: public static void Send...

Beginner question : How to set page header

183 byte By beck at 2007-11-25 10:54:21
How can I set the header shown of a asp page? (The label shown on the tab in the web browser) In the application I am looking at, it is always set to "main" and I want to change this.

Registry.SetValue problem in 2003 server

500 byte By ninhovid at 2007-11-25 10:54:40
hi...i just published my app in a windows server 2003..i save my app config in windows registry... it worked fine in my laptop... but in the server it doesnt let me createa key, i mean:HKLM-SOFTWARE-new keyi cant create it... i need to create it first manually... and then i can add its values insid...

sending collection through a session variable

1404 byte By novice_andrei at 2007-11-25 10:54:51
Hello.I am trying to send data from a datagrid in an .aspx (first.aspx) page, into the empty datagrid from another .aspx page (second.aspx). I thought of doing this by creating a session variable on the first.aspx which loads the data into a collection<> and is sent to the second.aspx page fro...

Problem with DataRowView

1550 byte By maverick786us at 2007-11-25 10:56:52
I am using a gridview in which, there is an ItemTemplate within which I have a LinkButton like this.<asp:TemplateField HeaderText="Edit"> <ItemStyle Width="40px" /> <ItemTemplate>...

Reports using ASP.Net 2

147 byte By joseabie11 at 2007-11-25 10:57:04
Hi all,<br/>I want code for generating report (Crystal Report 11) according to the date entered by the user, using ASP.Net 2. BAck end is Oracle...

Prob. with WepPart controls

5397 byte By P_N_Data_System at 2007-11-25 10:58:30
When i try to use WepPart controls on my aspx page i will get this error otherwise it works fine. Please help me how to fix this error?This is error page:Server Error in '/MyPortal' Application.------------------------Generating user instances in SQL Server is disabled. Use sp_configure &#...

Extracting SortExpression GridView

67 byte By maverick786us at 2007-11-25 11:00:11
How can I extract value of SortExpression for a particular column??

Sorting Custom Paged Results in GridView

1610 byte By maverick786us at 2007-11-25 11:00:16
I am using this procedure to implement pageing and sorting in my gridviewALTER PROC [dbo].[dbWBS_usp_DisplayCertificatesDetails]( @PageNum BIGINT=1, @PageSize BIGINT=10, @OrderBy VARCHAR(50)='Certificate_Id', @TotalRowsNum BIGINT=0 OUTPUT ) AS BEGIN -- SET NOCOUNT ON added t...

How to generate line chart using office web controls

129 byte By Srinivas12345 at 2007-11-25 11:01:56
hi could any one tell me how to generate line graph using office web controls and how to add tool tip for the lines in the graph.

how to shuffle rows of a table in a web page

293 byte By surendra.aluri at 2007-11-25 11:01:58
i have a web page contains a table. i want to shuffle the rows of a table by using button click. i get it using list box, but it is not suitable for my requirement. here i used two buttons for move up and move down the rows. kindly give me suitable code for this problem.<br/>with regards

Problem With DateTime

606 byte By maverick786us at 2007-11-25 11:02:02
I am facing a small problem while picking date from a textbox and converting it into DateTime.The problem lies over hereobjCertificate.InstallDate = Convert.ToDateTime(txtInstallDate.Text, DtInfo).Date;Since I am using JavaScript calander control to pick up date. So I have made these textBo...

How to add a Image to a list item in a listbox

283 byte By surendra.aluri at 2007-11-25 11:03:18
i am using a list box(in asp page, from standard controls) in a table row for display the data. i want to add a image before every list item. it is necessary for me. is there any possibility to add a image before a list item?<br/>give me the solution with code.<br/>with regards

DOT NET Interview Questions and Answers

119 byte By jmaneesh at 2007-11-25 11:03:53
Complete DOT NET Question with answers, which asked by most of companies.<br/>visit http://aspnet2008.blogspot.com

Regarding .net web services

716 byte By rajeswaridevi at 2007-11-25 11:03:55
Hi,I have a doubt.Can we pass an object(object of some other class) as a parameter to the webservice.If we can, then please let me know to do it.I am having a werbservice and I am using it in windows application.I have to pass an object from windows application to the web method.The web method in tu...

Need help with Business Intelligence report

1472 byte By twinky at 2007-11-25 11:04:16
I have a business intelligence report set up that pulls off data off a sql stored procedure.one of the report parameters is a dropdown box that is populated from a sql column to give team names.so when you view the report, you can select from team a, team b or team c (the only 3 teams listed current...

Adding Columns in a DataTable

274 byte By maverick786us at 2007-11-25 11:05:02
I want to add columns in a DataTable from a DataSet. The stored procedure that I have created extracts some values of a field, which is stored in a DataSet. Now I want to Create Columns of those Fields in my DataTable. How can I accompalish this??<br/>Thanks in Advance

Changing Data in DataTable

707 byte By JoeP at 2007-11-25 11:05:54
Hi All, I am used to old asp recordsets and being able to access the data before it is displayed. Using .Net I am filling a datatable and binding it to a datagrid. My question is how do I get access to the data in the datatable. For example I have a sp that returns 5 rows each with 5 columns and...

Error in getting column values from GridView with vb.net

1279 byte By khushaj at 2007-11-25 11:06:39
Can any body help me that how to get particular column's value according to my requirement? For this i am using below code but it has some problem that, this code is running when column is visible in the gridview, but i have no reqirement to show Cells(3) and Cells(4) columns in gridview.Protec...

event not working with datagrid

562 byte By ilang02 at 2007-11-25 11:08:05
i am using framework 1.1 i have a datagrid and one of its columns is a checkbox. i made a code to checked event.i have a button on the screen. when i press the checkbox and just after it i press the button it executes the checkbox_checked event but doesnt execute the button event until i press again...

Enable to send email in asp.net

680 byte By Shukla_Girish at 2007-11-25 11:09:02
Hi,I am not able to send Email in asp.net,my code is running properly there are no errors or exceptions but my email is getting stored at "C:\Inetpub\mailroot\Queue" folder.Wt could be the problem.this is my code,SmtpClient c = new SmtpClient("198.168.1.77"); MailMessage message =...

unable to start debugging on the server

484 byte By Shukla_Girish at 2007-11-25 11:09:12
I have created one website on .net 2005 On Local system.now i want to host my website on IIS seever.Wt i tried is i created one virtual directory and Copied al files to that directory then it gives the error page can't be displayed.Then i created new website on IIS and added those files to the...

Mail reminders and alerts..

455 byte By priyank9 at 2007-11-25 11:09:39
Hi all,I am making one web application using ASP.NET and VB.NET 2.0. I want to make alerts and reminders for this application. User can set reminder for some specific date and they get mail as a reminder on that. Plus one day every week system check for users if they fill one form or not. If not the...

[RESOLVED] Accessing private key in a X.509 certificate

2961 byte By ucb01 at 2007-11-25 11:09:43
Hi,I am working with Visual Studio 2005 in C#.Using makecert I create a self-signed certificate A with a private key then a certificate B based on A. The first is installed in the 'Certificate Authorities .. ' store, the second in the 'Personal' one.My application need to use the...

Query results different in GridView and SSMSE - why?

2200 byte By jeremydore at 2007-11-25 11:10:43
Hi,I'm writing a simple blog page for my website and have created a SqlDataSource which queries the database for a list of blog post titles (from the web.Blog table) and the number of comments (from the web.BlogComments table). The SqlDataSource control is:<asp:SqlDataSource ID="sourceBlogA...

Need help in getting windows user and group

1017 byte By jul_dio at 2007-11-25 11:12:14
Hi,I need to create a web app that can get all the windows group and user to set the access for specific menus. I been able to get all the user by passing the group name, but my problem is i need to know the what the groups are. Can you please give me a sample code or point me to a right direction....

[RESOLVED] trouble finding a control

1490 byte By Bill Crawley at 2007-11-25 11:12:21
I have this on a control: <div style="padding: 3px;" id="divPanel"> <asp:Panel ID="pnlComments" runat="server" Visible="false"> <asp:Label ID="lblComments" runat="server" Text="Comments:"></asp:Label> <asp:TextBox ID="txtComments" runat="server" TextMod...

Complex DataList Problem

920 byte By maverick786us at 2007-11-25 11:12:34
I have got a DataSet within its <ItemTemplate> Section I have inserted a table which has got 3 columns (<tds>). In the first column I have a label In the 2nd column There is a textBox Now when I bound it with a DataSet. depending upon the number of records returned. the row gets added at...

Error while running asp.net page

414 byte By Shukla_Girish at 2007-11-25 11:12:36
Hi,i have created one website on local system which is running fine.now when i am trying to host the same website on IIS it is giving me error which is,CS0016: Could not write to output file 'e:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\websetup(travell)\17db5c73\928a41...

Problem with DataRowView

422 byte By maverick786us at 2007-11-25 11:12:38
I want to use DataRowView in my code Behind like thisstring szCtrlType = ((DataRowView)Container.DataItem)["Control_Type"];But when I run the page it generates the error 'Container' does not exist in the current contextAlthough It works in ASPX page and In code Behind the System.Data is al...

Add hyperlink based on the user

486 byte By gurupot at 2007-11-25 11:12:50
Hi,I have a very basic question. I have a single column datalist on my webpage which is a hyperlink and takes you to another page when clicked. I want to make this column a hyperlink based on the user permissions. So if the user has permission 'A' allow him to click on the link. Basically...

Retrieve the contents of an html table

328 byte By zhshqzyc at 2007-11-25 11:13:50
I want to retrieve the contents of an html table or file from a remote web page such as " http://www.yahoo.com"If it is a text file, I want to download it and save it to somewhere.My question is how can I locate it if I know its name?You know there are a lot of links in a web page.Thanks!...

How i can Make Simple Mail Server Like yahoo or hotmail ?

153 byte By honeyboy_20 at 2007-11-25 11:14:01
hi guys, <br/>How i can Make Simple Mail Server Like yahoo or hotmail ?<br/> is there any book explain the way to something like this ?

Adjustable Column Width

713 byte By maverick786us at 2007-11-25 11:15:44
In gridview when I want the column name to be adjustable in such a way that the user can increase/decrease its column width by dragging. 2nd think which I want is, when a text size exceedes the width of the column, it goes to the other line. I don'nt want it that way. I want dots(...) to be dis...

Sessions lifecycle

145 byte By Visslan at 2007-11-25 11:16:03
Hi!<br/>I want to redirect the user to the first website when the session is reset ( if its lifecycle get to an end ). How can I check this?

Failed to createa a new WinHttpRequest

1459 byte By ucscherp at 2007-11-25 11:16:17
I'm stuck and hoping someone else can help.I'm working on an ASP.NET app (C#). At one point, I need to create an WinHttpRequest object that uploads a file. Here is the code:try{WinHttpRequest whr = new WinHttpRequest();whr.SetTimeouts( 0, 0, SendTimeout, ConnectTimeout );whr.Open( "POST",...

Load MFC DLL from C# web service...

653 byte By gcetti at 2007-11-25 11:16:27
Hello,I'm having problems loading my MFC exported function from my C# Web service. I'm using the DllImport to load the dll and declare the function like the following:[DllImport("MyDLL.dll")]public extern static int MyFunction();and in the MFC dll it is exported like the following:__decls...

Chart Component tools

178 byte By MathewJose at 2007-11-25 11:17:13
Hi everyone,<br/>Id like to know about different chart component tools for building dynamic charts in my asp.net application.It would be great if any one could suggest one..

asp.net dropdown databinding using codeview

899 byte By Nava at 2007-11-25 11:17:30
HiI am trying to bind my dropdownlist control using codeview.My .aspx page contains the dropdownlist code s/w like this<asp:dropdownlist id="ddCategory" DataSource="<%# fnGetData() %>" />My CodeView contains definition to fnGetData and returns IDataSourceProtected Function fnGetData() as...

menu and updatepanel problem

850 byte By mesbah at 2007-11-25 11:18:20
well here i'm facing a... so just asking for a suggestion... my project contains a dynamic menu on master page, that is being populated from oracle database (so it's taking little time to load)....and there is also an updatepanel (Ajax control) which contains the contentplaceholder...while...

only the contentplaceholder will be updated with the newly loaded control

626 byte By mesbah at 2007-11-25 11:18:34
my project contains a dynamic menu on master page, that is being populated from oracle database....and there is also an update panel which contains the contentplaceholder...while i'm clicking on the menuitems... different controls are being loaded into the contentplaceholder.... My menu is a As...

consuming class object returned by web service

2215 byte By pkt_ims at 2007-11-25 11:18:37
hi I built a web service returning a class object by its web method.But the problem is that the client application is not able to receive this returned object.At first it was throwing cast exception.But when i removed the definion of the shared class from the proxy class at the client end, it is run...

asp.net ajax and a link problem

520 byte By nologic420 at 2007-11-25 11:19:55
I am helping a friend with a website in Acapulco (for free).I have a payment system that passes along the data in a link.I have added an asp.net ajax calendar extender because I need the date included in the link that takes you to the payment checkout screen.I don't know how to code the form co...

Create session with IHttpModule

126 byte By ShoKazamatsuri at 2007-11-25 11:20:18
Hum...Interesting. But can we create a session when we use class that implement IHttpModule? <br/>Thx in advance,<br/>Sho

DropDownList Box

180 byte By bthumber at 2007-11-25 11:21:02
I have a dropdownlistbox that is populated from a table in a database. When the user clicks on one of the item in the list, I need the page to redirect page(x). How is that done?

need help add drop down menu to asp.net header control

679 byte By comicrage at 2007-11-25 11:22:15
Hi,I am new at asp.net and want to add a horizontal dropdown menu liketoolstripmenu in windows form. I found a drop down menu written injavascript (DHTML). How do I add to my asp.net project. I have amasterpage which contains the navigation panel, header, and the maincontent panels. I prefer to add...

need help add drop down menu to asp.net header control

679 byte By comicrage at 2007-11-25 11:22:42
Hi,I am new at asp.net and want to add a horizontal dropdown menu liketoolstripmenu in windows form. I found a drop down menu written injavascript (DHTML). How do I add to my asp.net project. I have amasterpage which contains the navigation panel, header, and the maincontent panels. I prefer to add...

Login Control in asp.net

223 byte By Shukla_Girish at 2007-11-25 11:22:44
Hi,<br/>i want to change the default dayabase for login control as bydefault it uses Sqlserver 2005 database,But i want to use my own ms-acess database.<br/>how it is possible??<br/>Thnaks for ur help. <br/>GIRISH