database access problem in asp.net 2.0

215 byte By pmishra.mca at 2007-11-25 3:05:51
Hi,<br/>I complete asp.net project in 2.0 after this i publish website for create a dll file, and upload the website but i cannot access the database, means that i cannot write into the database please help me,

GridView and SqlDataSource and n-tier approach?

268 byte By kobus at 2007-11-25 3:06:05
Hi<br/>I have started using the GridView and SqlDataSource in ASP.NET 2.0. It makes connecting and databinding very easy. But is it not moving away from the n-tier approach, where the presentation layer does not connect directly with the datalayer?<br/>Kobus

[RESOLVED] session problem

653 byte By Visslan at 2007-11-25 3:06:31
I'm adding an arraylist in a repeter like this:this.Session.Add("SelectedPackageInfo", (object) buttonInfoArray);in the onclick method I want to retrieve the array I'm typing like this:private void SavePackages_OnClick( object sender, EventArgs e ) { ArrayList SelectedPackages = (ArrayL...

Which event will fire when exiting

161 byte By mariposo at 2007-11-25 3:07:23
I would like know which page or form event will fire when a webpage either is closed or being redirected to another page. Please help out. Tks.<br/>mariposo

datalist to gridview

3981 byte By yolip at 2007-11-25 3:08:39
Hi all, Can anyone help me with the following code? I wish to convert the datalist to gridview, because i don't know how to make this datalist to has paging ability. Thanks alot.Regards,Yolip <asp:content id="Content1" contentplaceholderid="Main" runat="server"> <div class="shim gr...

multi-domain and user problem

272 byte By dummyagain at 2007-11-25 3:08:43
I would like to ask how to make multi-domain for the website. <br/>For example, www.a.com, www.b.com, and www.c.com will also access the same web server and database. And each domain may have some restirction on accessing some data in the database.<br/>Thank you

Export data in Excel and CSV format

118 byte By dummyagain at 2007-11-25 3:09:05
I would like to know how to export the data in excel and/or CSV format without using Excel program?<br/>Thank you

Post multipart data and write to disk

1227 byte By alougher at 2007-11-25 3:09:17
Trying to post multipart data of type audio/wav to .aspx page using the following code and write to disk. Dim sr As New StreamReader(Request.InputStream) Dim wavFile As String = sr.ReadToEnd() Dim nDex As Integer = wavFile.IndexOf("=") If nDex <> -1 Then...

The project is not configured to be debugged.

587 byte By MissionSuccess at 2007-11-25 3:09:38
i m ajay.i have a problem related to asp.net debugging.when i m running my project,i left with "error while trying to run the project:unable to start debugging on web server.The project is not configured to be debugged."i have tried the microsoft article "306156".But it does not solve my problem.i h...

Processing Bar...

2514 byte By veeresh@MS at 2007-11-25 3:09:53
hi..i want to display a progress bar in the middle of the page while loading some process for that.. i wrote one javascript funtion progress() but from that function i dont know how to navigate to another page.. pls help me this is the code i hv written..<html xmlns=" http://www.w3.org/1999/xht...

Filtering a list on the clientside

687 byte By HairyMonkeyMan at 2007-11-25 3:10:07
I am currently working to improve a UI. I want a way to filter a list of projects on the client using java. I'm thinking a sort of java function that can filter items out of a listbox based on what is being typed in a textbox.I have a few questions for y'all:1/ What is the story with the...

Arrays in WSDL

2157 byte By akiss at 2007-11-25 3:10:39
Hi,I'm working with .NET 1.1 and I'm trying to reach a web service. I got the WSDL to the service. I created the proxy classes with the WSDL.exe. Everything looks fine, but when i try a method which returns with a jagged array then i get back empty arrays. I debbuged the messages and notic...

formatting textbox in javascript

235 byte By beachboy1976 at 2007-11-25 3:10:59
Hi<br/>I have a textbox on the screen and I need use js function to extract the value of the textbox. Then js function will convert the value to the currency format.<br/>Please help me out with this issue.<br/>Thank you.

Data retrieving problem with Web Developer 2005

767 byte By Zouve at 2007-11-25 3:11:04
Basically i wanna to retrieve a set of data from a table inside the sql database. i have try to assign value into it but still cant work out, can let me know what is the problem? thankshere is my code : Protected Sub reslist_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)Di...

retrieve security settings information of Internet Explorer using ASP.NET

710 byte By loss_angels at 2007-11-25 3:12:03
hi,all...for the last 3 days i am trying to find out how can i retrieve the security settings of client's browser(Internet Explorer) which he sets with the help of "Internet Options"then selecting the "Security" tab and "Custom Level " setting...i want to retrieve these settings on server side....

Database can be same

394 byte By hellopraveen30 at 2007-11-25 3:12:12
Hi everyone i have a small query i have web page i asp.net in ftp server and also i have a form in window application can the data base of both the page and the form can be same .or if dasebases are different the hw can i transfer ther data of database which is in ftp server to my window database...

Error: Connections to SQL server files .mdf require.......!

396 byte By Shadyi at 2007-11-25 3:12:37
Hi thereI have my ASP site and I want to add a new item SQL databaseI click add new item and choose SQL database and click okthis is what i get http://img.photoamp.com/i/08zE7.JPGI tried to google it and found that i should change SQL server instance namei did that and it didn't workI have VS 20...

Check for Open Connection used by ASP.NET.

491 byte By stardv at 2007-11-25 3:12:46
Where can I check all open connection to DB. I have an application that have many access to DB and I handle closing and opening process. I was wondering if I can monitor connections to a particular DB and analyses all connection pools to make sure all connections are correctly handled and there no...

Simple Integration Method (SIM) method

461 byte By sharpmind at 2007-11-25 3:13:35
Hi,I need to develop a basic sample page completing a transaction integration using Simple Integration Method (SIM) method with Authorize.Net. I have the API login id and Transaction Key. Its an ecommerce related payment transaction through Authorize.Net payment gateway. I have to develop it through...

Unable to show database data

1754 byte By dummyagain at 2007-11-25 3:13:57
I have written the following code but don't know why it cannot show anything in the database. Even it cannot show up the pop up message box. I wonder if the server doesn;t execute any code...Can anybody advice?Thank you <%@ Page Language="VB" AutoEventWireup="false" CodeFile="addRecord.aspx....

Creating component in asp.net

159 byte By pmishra.mca at 2007-11-25 3:14:09
Hi,<br/>I am .net 2.0 developer I want to create the component in asp.net.Please help us. I means that I want to create a project and use this as a component.

HTTP POST operation in ASP.NET

495 byte By sharpmind at 2007-11-25 3:14:10
Hi, What values should be entered in this string variable:-String strPost = "x_login=YOUR-LOGIN-ID&x_tran_key=YOUR-TRANSACTION-KEY&x_method=CC&x_type=AUTH_CAPTURE&x_amount=1.00&x_delim_data=TRUE&x_delim_char=|&x_relay_response=FALSE&x_card_num=4111111111111111&x_exp_date=052009&x_test_request=TRUE&...

Not working - #including asp file in aspx page

307 byte By sharpmind at 2007-11-25 3:14:15
Hi,When including an asp file (containing scripting language- JScript) in my aspx page then on compiling it shows an error message :-Cannot use 'JScript' because another language has been specified earlier in this page (or was implied from a CodeFile attribute).Why??...

simple login function

459 byte By dummyagain at 2007-11-25 3:14:31
I have set <authentication mode="Forms"> <forms name=".ASPXFORMSDEMO" loginUrl="login.aspx" protection="All" path="/" timeout="30"/> </authentication>if not login, then it will direct to the login.aspx.My question is after i login, the page will also direct to login.asp...

opening command line from asp.net application

355 byte By jabbarsb at 2007-11-25 3:14:42
hi friends, i am developing an application using aspnet 2005 i need to open the command window from the web page and execute some file from the command window and close the command window how can i do this in my web application i am trying something with process.start("cmd.exe")but till now...

calling method in page_load

745 byte By dummyagain at 2007-11-25 3:14:51
Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) If Session("isLoggedin") = False Then Response.Redirect("/Default.aspx") End If Dim name As String = Session("name") Dim email As String = Session("email") addRecord(name, email) End SubThe m...

Get entry domain name

279 byte By dummyagain at 2007-11-25 3:15:32
I have a situation like this.<br/>There are three domains connecting to the same website. For example, www.a.com, www.b.com, www.c.com.<br/>I would like to know which domain name the visitor use to enter the page. And so can asp.net get that domain name?<br/>Thank you.

[RESOLVED] help with page.findcontrol

591 byte By Visslan at 2007-11-25 3:16:00
In my Button_Onclick method I have an arraylist full of information about radiobuttons generated within a repeater. Now I want to see if anyone of the radiobuttons has been checked. public void Button_OnClick ( object sender, EventArgs e ){ ...Page.FindControl( spi.SelectedPackageId.ToString());}fr...

sms system

450 byte By jabbarsb at 2007-11-25 3:16:05
hello friends, i am developing an sms messaging system using some third party tools and asp.net as GUI i am having an exe file sendmsg.exe recipient=+65073223,+659988322 text="Hello"which can be executed from command line and we can send sms to number of peoplei want to execute this comm...

Error on the web config file in asp.net 2.0

1674 byte By pmishra.mca at 2007-11-25 3:16:21
Dear Sir,I use the asp.net for the creating the website. I working in asp.net 1.1 but this time i use the asp.net 2.0 I cannot see the error message that what kind of error found.the error is Runtime ErrorDescription: An application error occurred on the server. The current custom error settings fo...

Grid View - VS 2005

303 byte By chandru_244 at 2007-11-25 3:16:43
Hi,After binding the Grid view to a dataset , i have to add rows manually at run time to the grid view control (VS 2005) without click of any button.Is it possible to do Row spans and Col spans in this control.Pls help me..Tx in advanceRgds,CHandru...

Double Footer in DataGrid

183 byte By vivekshah at 2007-11-25 3:17:01
Hello,<br/>Is it possible to have more than one footer in the datagrid control in an ASP.Net application.<br/>If possible then how do we do that..?<br/>Thanx in Advance

[RESOLVED] problem with saving an array to session

684 byte By Visslan at 2007-11-25 3:18:01
In a repeater I want to save all the radiobuttons in a array and save the array in session. I have done like this:protected void Repeater_OnItemDataBound( object sender, RepeaterItemEventArgs e ){ if( e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem ){... this...

Grid View (VS 2005)

311 byte By chandru_244 at 2007-11-25 3:18:09
Hi,If i dont want to bind the Dataset to the Grid and i want to manipulate the data in dataset and add the data row by row to the Grid View (VS 2005) manually during run time.Can row span and colspan be done in GridViewCan this be done...Tx in advance...Rgds,Chandru...

view state in asp.net

59 byte By hellopraveen30 at 2007-11-25 3:18:12
what is view state hw any one can use please tell with code

how to preview a form in portrait and landscape form

622 byte By jeccinta at 2007-11-25 3:18:50
Hi, Am working in asp.net using c#.I have a form with some employeedetails as NAME,AGE,SALARY,EMPID. I have two radio buttons as Portrait and Landscape.And i also have one Preview button.If the user checks the radio option Portrait and click preview button the form should be displayed in portait f...

Errors on exporting datagrid to excel

1416 byte By dummyagain at 2007-11-25 3:18:56
. I am writing the code to export the datagrid to a excel file. However, I get two errors and i still cannot solve the problems. Hope someone can help.The errors are Error 1 :Handles clause requires a WithEvents variable defined in the containing type or one of its base types.Error 2 :Name 'MyS...

Form variable not declared

1754 byte By dummyagain at 2007-11-25 3:19:15
I have an error in the .vb file, saying that the variable UserName and Password has not be declared..but these two variables should be done in aspx file (input id = UserName...) ...I would like to know how to solve this?Thank youlogin.aspx<td><input ID="UserName" type=text runat="server" Ta...

Login Script problem

3760 byte By dummyagain at 2007-11-25 3:19:21
I tried the login function of my page and found that it does not work(does not redirect to other page. I have tried the following code by using Response.redirect(..) to test the code and find that the code from "Try" has not been executed... Would anyone please tell me where the problem is ?Thank yo...

display problem

804 byte By Zouve at 2007-11-25 3:19:45
i was trying to display the data into an label but i fail, the label only display "FALSE", i dun know why. can somebody told me what wrong with my code? thanks this is my code:Dim myConnection As SqlConnection = New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\DayMenu.m...

[RESOLVED] How to link to another page

95 byte By Visslan at 2007-11-25 3:21:04
I want the visitor to be linked to another webpage after a click on a button. How do I do that?

How to upload the project (asp.net) in ftp server

9270 byte By hellopraveen30 at 2007-11-25 3:21:17
hi everybody i m uploading the asp.net project (having database in access) i have made the changes as below in web.config file but i have still some error plz check this and suggest me how to do it correctly plzDatabase name=EstateAgencyWeb.config<?xml version="1.0"?><configuration> <...

FileUpload problem

424 byte By forumaic at 2007-11-25 3:21:48
Hello,I am newbie in this stuff, can somebody to help me.Maybe can somebody to say how to manually to set file name and path in code for fileupload control, not to let to choose file for user with browse button.For example (textBox) textBox.Text = xxx; textBox.Enable = false;But how to do the same w...

display data with array

1436 byte By Zouve at 2007-11-25 3:22:14
i wanna use array to display the data retrieved from"tmenu" inside database but it fail. the array's coding seems to be have problem. can somebody help me out with this. thanks code : Protected Sub reslist_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)...

Grid data edit problem

576 byte By imi123_1999 at 2007-11-25 3:22:38
Dear All, I have a grid that has a clickable image in one of its column. When this image is clicked, the Detail form appears with number of text boxes. Now, for the first time, the detail form shows correct data related to the clicked record on the grid. The grid is updated and shows the updated va...

DataGrid column hiding

461 byte By imi123_1999 at 2007-11-25 3:22:40
Hello All, I am using GridView Control of ASP.Net 2.0. The problem is I want to hide the column containing record Primary key and still want to access it on RowBound Property. If I hide Primary Key column then its values are no more accessible. Also please tell me if there is any ID attribute associ...

[RESOLVED] How to declaire a WebUserControl in codebehind

213 byte By Visslan at 2007-11-25 3:22:52
I know how to put a WebUserCOntrol in the codeinfront:<br/><%@ Register TagPrefix="a" TagName="b" src="~/bla"%><br/><a:b runat="server"/><br/>But how do I do this from the codebehind instead?

[RESOLVED] how to get a value to the parent usercontrol from the child in a chil

193 byte By Visslan at 2007-11-25 3:23:30
I have a usercontrol (uc) ucone that has uctwo that has ucthree. In a onclick function in ucthree i have a arraylist. That arraylist I want to import to ucone. How do I do that? I have no idea.

ApplicationBlock Config Question

323 byte By stardv at 2007-11-25 3:24:13
I am using Microsoft ApplicationBlock. I am using it in Web Application and when I call default ExceptionManager.Publish(ex) it logs it in EventLog as it is supposed to and shows Windows Dialog Box with error.How can I confgire it not to show any dialog box message, I do not want user to see that.T...

string error

1191 byte By Zouve at 2007-11-25 3:24:27
when i try to debug my page, some error comes out and it state that "Conversion from string "select tmenu FROM menu where res" to type 'Boolean' is not valid." i don't really know what is the problems here, can somebody figure out for me? thankscode : Protected Sub reslist_SelectedInd...