13,153 Topics

Member Avatar for
Member Avatar for mansi sharma

Can somebody tell me how to create a User Control that consists of two textboxes & button..On button click,i want to show just the msg textbox1.text & " " & textbox2.text,, Tell me how to use the user control on two forms!!!

0
54
Member Avatar for madcour80

Hello all, I have a web form with a submission confirmation message that I would like to display for 10 seconds (after the page returns from the "Submit" event) and then hide after the 10 seconds has elapsed. I decided to use the System.Web.UI.Timer object, set it's interval, enable it, …

Member Avatar for madcour80
0
299
Member Avatar for nava123

Java vs .NET Which platform is better according to your opinions, Java or .NET, Post your reply here

Member Avatar for Salem
-1
22
Member Avatar for Ana D.

Hi, I'm binding a TreeView using the SiteMap Data. Near to each node, I have a checkbox so that the user can select the node he wants. I need to iterate through the tree checking if the node is checked and if so, write something like: Home - Node1 - …

0
73
Member Avatar for prakash.s

hi, I am using .net1.1 and IIS 5.0. I need to redirect the .aspx urls. For that i found a solution that [url]http://urlrewriter.net/[/url] in that they have used the Intelligencia.UrlRewriter solution. I have added the web reference to my project Intelligencia.UrlRewriter.dll This worked fine for me in local machine(in my …

Member Avatar for textbox
0
119
Member Avatar for kralco626

current code: [icode]Response.Redirect("DeviceInformation.aspx?arg=" + e.CommandArgument);[/icode] which redirects to a page with a data grid. The argument is passed into a stored proc on a database and the infor is returned in a grid. What i want, is the same thing, but, open it in a new page. So something like: …

Member Avatar for kralco626
0
286
Member Avatar for anuj_sharma

HEy Guys, I have made a details view and enable updation and paging on it. But when the updation takes place the detailsview does not refresh. I have given DataBind() function but still it does not refresh but the entries are updated in the database. Please Help.

0
50
Member Avatar for anuj_sharma

Hey Guys, I have a DetailsView on my page with updation enabled.When i click on the edit button all the fields int he DetailsView become editable but i want only one field to be editable and all other fields to be ReadOnly. Please suggest some ideas.

0
62
Member Avatar for anuj_sharma

Hey Guys, I have a textbox in which a ID is stored. ID has type int in the database. I want to compare this Textbox ID with the ID in the databse. I tried to use: int ID=Convert.ToInt32("TExtboxID.text") I got an error: NullReference Exception was handled by Usercode Please help.

Member Avatar for anuj_sharma
0
159
Member Avatar for chrispaul8676

hi there, i am coming up with a form. i have to insert data into the sql database. i am able to do that. The problem is that, when i insert, the data i entered one shows twice in the table. i just click once and there are the same …

Member Avatar for chrispaul8676
0
120
Member Avatar for arny1

Hi there, I have to export some images to excel, To center the images I use a table and colspan=4 to merge four columns of excel file, when I write a text to excel file it is easily get centered, but for image I tried every possible scenarios, like <img …

0
67
Member Avatar for chrispaul8676

Hi, there, i am coming up with a dropdownlist that needs to get list from the sql database. the dropdownlist must get its data from the database. i am getting error in this codes: It says that it is not declared. at the same time i can not get the …

0
63
Member Avatar for ctyokley

I have a select case to chose what is true. THe problem is if the information isn't in the database, it automatically skips to the else however i dont kno why. I have a function that returns an errmessage once it is returned then i use the select case. the …

Member Avatar for ctyokley
0
149
Member Avatar for ishamputra

help! i have a gridview with checkbox item template, and on click, those rows that are checked will be inserted into the database. When i close and run my application again, i want those rows previously inserted to remain checked. Means that i have to retrieve data from the database …

Member Avatar for ishamputra
0
141
Member Avatar for chrispaul8676

hi there, i would want to change the mysql to mssql. please help [ICODE]<%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.SQLClient" %> <script language="VB" Runat="server"> Dim blHasRows as Boolean Sub doInsert(Source as Object, E as EventArgs) Dim strConn as string = "server=YourServer;uid=YourUID;pwd=YourPWD;database=YourDB" Dim MySQL as string = "Select * from samples …

Member Avatar for chrispaul8676
0
92
Member Avatar for prax072

I am trying to dynamically populate a select box with Jquery and JSOn in my VB.Net ASP.Net application. The event is triggered in the selectedindexchanged of another ASP Dropdownlist in the page. I am getting my selectlist populated (thanks to [url]http://www.codedigest.com/Articles/jQuery/224_Building_Cascading_DropDownList_in_ASPNet_Using_jQuery_and_JSON.aspx)[/url]. i am passing two values to the select box. …

Member Avatar for prax072
0
174
Member Avatar for hollyadams

I want to have a TextBox where the user can enter in emails and these emails can be passed to an SMTP function where it is added to the message as a CC. I'm using the below code to try and add a ; in between each email before it …

Member Avatar for hollyadams
0
70
Member Avatar for Creator07

Hello all, Note: This is a general question, and I did not find any other category in the forum to ask this question... Last year, I got a copy of VS 2008 (VC 9.0) as gift. I liked it a lot! I started developing some simple applications using C ( …

Member Avatar for Creator07
0
199
Member Avatar for Ana D.

Hi, [CODE]I'm trying to allow sorting my gridview writing in the code behind page. My code for Bind the GridView is like this: Private Sub BindMyGridView() Dim DatabaseConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("MyServer").ConnectionString) Dim adapter As SqlDataAdapter = New SqlDataAdapter Dim selectSQL As String = "SELECT * FROM Clients WHERE id = …

Member Avatar for Ana D.
0
122
Member Avatar for anuj_sharma

Hey Guys, I have a Details View and I ahve enable editing in it. But on clicking the edit button all the fields are editable. I want only one field to be editable. Please suggest

Member Avatar for Ramesh S
0
349
Member Avatar for chrispaul8676

hi, there, i need to know if the datagrid and dropdownlist will respond to the button click. At the same time, will this dropdownlist will get the data from database. Please help me. i need the solution in a day. [ICODE]<%@ Page Language="VB" MasterPageFile="~/Courier.master" Title="Untitled Page" %> <%@ Import Namespace="System.data.sqlclient" …

0
56
Member Avatar for amar_interface

hi ................ there is problem in cyber source silent order post we cant place the order through my application

Member Avatar for Ramesh S
0
51
Member Avatar for arny1

Hi there, I have to export some images to excel, To center the images I use a table and colspan=4 to merge for columns of excel file, when I write a text to excel file it is easily get centered, but for image I tried every possible scenarios, like <image …

0
56
Member Avatar for amar_interface

hi........... i have try to create some dynamic control at run time in my application . but i cant handle it event or cant mantain its state. can any body tell me ?

Member Avatar for amuda.narayana
0
85
Member Avatar for fawadkhalil

Hey all i m trying to send progaramatically an email to user. i receive message "Email sent successfully".but email is not deliveing... i have two problems 1.Email sent to yahoo id is in queue from yesterday as i checked it in Inetpub>mailroot>queue. 2.Email sent to hotmail id is neither in …

Member Avatar for demigod
0
272
Member Avatar for sivak

Frenz, I used the below code to export to PDF format from my ASP.NET application. However while opening the generated PDF file, it says the file has corrupted. Please let me know if I coded anything wrong, or I need at add/remove any properties in the code, Or if there …

Member Avatar for textbox
0
98
Member Avatar for arny1

Hi there, How could we Export an image to Excel on top of a gridview, using Respone.Write Thanks in advance

Member Avatar for Ramesh S
0
75
Member Avatar for man12_patil3

I want to add Meta tag in following code where i put up [code]<%@ Page Language="C#" MasterPageFile=" " AutoEventWireup="true" EnableEventValidation="false" ValidateRequest="false" CodeFile=" " Inherits=" " Title=" " %>[/code]

Member Avatar for Ramesh S
0
63
Member Avatar for ch_nilanjan

How do i open a .tif file in an ASP page. I am using VS-2005. Is there any specific control available for opening .tif files. Coz i have tried using Image and ImageMap controls without any joy.

Member Avatar for Ramesh S
0
218
Member Avatar for tjsingh

Hi, I have a createuserwizard on my page which is driving me mad I am linked to sql server. What happens is that when i enter the username which i was trying previously it says choose another username but the thing is the username does not exist in the database …

0
43
Member Avatar for brightline

I am adding rows to a runtime table as following" dtRecords.Rows.Add("RecordingDate", typeof(DateTime)); the date is stored as long datetime but I want to view the date date only in thos runtime table: the date appears as following: 0206/2008 12:00:00 am but I want it to appear as following:0206/2008 i.e,the date …

Member Avatar for amar_interface
0
101
Member Avatar for arny1

Hi There, I have a grdiview and a button on my page that export the content to an Excel file,What I would like to add is to have companies logo,Title,Today's Date and Time as well. Any Idea? Thanks in advance

Member Avatar for Gwolf
0
79
Member Avatar for anuj_sharma

Hey Guys, I've been trying to do this for the past 3 hours and haven't had a little bit of success. here is the problem: I have a grid view with 2 columns. Under the first column i have added a button named "Add" and under the second column i …

Member Avatar for anuj_sharma
0
79
Member Avatar for mohankumar554

hi.. i developed a web application using asp.net2005 in windows xp professional,database is sql server2000.. i have to run the application in another system.. so i used deployment to run the application in another windows system.. after deployment i got a setup file with "msi" extension. i installed this "msi" …

Member Avatar for Ramesh S
0
235
Member Avatar for mohankumar554

hi.. i have developed a web application using asp.net2005. my purpose is to run this application in another windows system with the help of url.. we will install only sql server2000 and dot net framework,and finally we will install the deployment "msi" file.. so how can i do this...

Member Avatar for kameswari
0
87
Member Avatar for Alex John
Member Avatar for Ramesh S
0
42
Member Avatar for andhrawala1983

Hi , I have a small requirement, which I am unable to complete. I am having a gridview on the form, and the data is bined to the grid using ObjectDatasource that is inturn binding from a TableAdapter in the dataset. I have all select,insert,update and delete commands specified. When …

Member Avatar for andhrawala1983
0
126
Member Avatar for brookywat

Hello, I am new to html and c# my life been in engineering. I am trying to create a simple login page, I have used html for the page structure and I am using c# for the login authentication. I have a table database with MS Access but I can’t …

Member Avatar for sknake
0
124
Member Avatar for Derice

I created a TableCell with the TableCell.Text = "text from database" then i add TableCell control into an empty table during page load. I am trying to retrieve the text in the TableCell after a postback by user how should i do that? my code: [CODE] TableRow tr = new …

Member Avatar for Derice
0
87
Member Avatar for cccedi

I would like to know how I execute an MSI from an ASPX page. My requirement is that a user should be able to upload his MSI in my ASPX page and, on completion of upload of the MSI, my ASPX should be able to install the MSI on the …

Member Avatar for sknake
0
94
Member Avatar for ch_nilanjan

Hi, I am using VS2005, C#. Am trying to populate an image in Image(control) at run-time. The image to be populated is not fixed. It is decided by the a criterion in the previous page. Can anyone help me with code snippets.

Member Avatar for ch_nilanjan
0
106
Member Avatar for sixtus

Hi - I need some help. I have upgrated my server, webserver, ... to windows 2008, IIS 7.0 and ASP.NET 3.5. That gives me some problems. I have a page where people can upload and download documents. Upload works fine but download doesn't work. The documents is downloaded by using …

Member Avatar for sixtus
0
103
Member Avatar for VinayRok

Hi friends......... Am using a one Textarea and Text box and a Button in my application.. whenever i write a text in textbox and click on the button . textbox value is copied to Textarea... This logic i have written in Button_Click event. Now in an situation i dont want …

Member Avatar for kameswari
0
250
Member Avatar for chrispaul8676

hi, there, i came up with thisd login page. i came up with username , password and result textbox. i have included the C# behind code. i want to use roles and membership, but don't know how. i am not suppose to come up with any dropdownlist or textbox for …

Member Avatar for chrispaul8676
0
168
Member Avatar for dnanetwork

so far i've implemented virtual terminal & Hosted order page module.. remaining is silent post, Legacy SCMP api, Simple order API, Soap toolkit api... my question is it necessary to implement Legacy SCMP api, Soap toolkit api....if yes then why...?

Member Avatar for DangerDev
0
138
Member Avatar for sonia sardana

Default1.aspx [code] protected void Button1_Click1(object sender, EventArgs e) { Session["name"] = TextBox1.Text; Response.Redirect("Default2.aspx"); } [/code] Default2.aspx [code] protected void Page_Load(object sender, EventArgs e) { string sBeforeAbandon; string sAfterAbandon; sBeforeAbandon = Session["name"].ToString (); Session.Abandon(); if (Session["name"] != null) { sAfterAbandon = Session["name"].ToString(); } [/code] Hey frnds Session.Abandon clears all the session …

Member Avatar for sknake
0
85
Member Avatar for jensenvembil

i am trying to make a simple login form using OleDb i am getting a single error that the "dr" does not have a constructor default.aspx.vb [code] Imports System.data Imports System.Data.OleDb Partial Class _Default Inherits System.Web.UI.Page Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cn …

Member Avatar for sknake
0
359
Member Avatar for Ptero

I have an ASP.NET application that generates Excel files that should be downloaded by user. These files contain some VBA code that is added with oWB.VBProject.VBComponents.Item(i).CodeModule.AddFromString(s). The "Trust access to Visual Basic Project" in Excel > Tools > Macros > Security is checked. The "Network User", "ASPNET", "IUSER", "IWAM" users …

0
74
Member Avatar for alokshri67

Hi, In asp.net I am using ODBC connection with dsn. I have some experience on VB6. In VB we used to append records in database with command; connection.addnew databasefieldname=somvalue connection.update my query is - can we do something like this in asp.net? Alok

Member Avatar for dnanetwork
0
268
Member Avatar for nccsbim071

I have been developing a asp.net application in which i have to mail to large number of user an email. I used the classes in System.Net . Every thing is fine, there are no errors in the page. But while sending mail i get an exception: as follows: [B][COLOR="Red"]SPAM Score …

Member Avatar for dnanetwork
0
116

The End.