13,153 Topics

Member Avatar for
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
61
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
147
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
138
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
90
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
165
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
69
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
196
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
120
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
340
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
54
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
49
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
54
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
81
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
248
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
96
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
74
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
61
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
217
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
41
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
98
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
77
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
77
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
233
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
85
Member Avatar for Alex John
Member Avatar for Ramesh S
0
41
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
125
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
121
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
85
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
89
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
103

The End.