13,153 Topics

Member Avatar for
Member Avatar for bsewell

Hi, I've written some code in PHP, which I have tried converting to ASP.NET after looking at some examples. I'm stuck on a form processor, where I'm trying to check if some values have been filled in or not. Basicly I had a few issets() to do this in the …

Member Avatar for bsewell
0
180
Member Avatar for sania khan

Can we convert the record displayed on the web page to pdf doc ? if possible then how we can achieve this?

Member Avatar for SautinSoft
0
973
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to make a program that will copy text from an excel spreatsheet and place it in another using visualbasic.net not vba? Please Help

Member Avatar for Reverend Jim
0
272
Member Avatar for adrian.mcguinness

I cannot work out how to get an integer value from a textbox from inside a datalist for a variable to insert into SQL. Here is my code. int qty = int.parse(dlProducts.Controls[0].FindControl("txtProductQty")); and this variable will be put into an insert Query. into a textbox inside a datalist id="dlProducts" <asp:TextBox …

Member Avatar for JorgeM
0
556
Member Avatar for bill_kearns

I've been through a dozen blogs tonight looking for a solution for this problem. I am populating pages dynamically (shopping cart) and I grab the product name and descriptionfrom SQL Server then use that data to populate the page title, keywords and description meta tags. This is usually simple until …

Member Avatar for bill_kearns
0
176
Member Avatar for barriegrant1

ok so im having trouble working out the best solution to this. i have a database with two tables as follows ![Untitled96](/attachments/small/3/Untitled96.png "align-right") I want to load a single date based on the ID but then load each content that has that dateIDFK - this is fine in sql however …

Member Avatar for barriegrant1
0
142
Member Avatar for coder91

I Have a drop down that allows the users to select 'other' if they do the drop down disappears and a text box and new drop down appear. What I would like is for this text box and drop down to be in the same position as the previous drop …

Member Avatar for coder91
0
256
Member Avatar for HunainHafeez

i am getting nothing , i am trying to retrieve checkbox value and email address from gridview via code, I am succeeded in getting Checkbox value successfully but cannt get email address, even grid view has it, but i cant get, just blank, here is the code: .cs : protected …

Member Avatar for JorgeM
0
249
Member Avatar for coder91

There is code in the project I am working on that increments. Basically the user selects from a drop down list and than there is a button that increments the number for that option, to record how many times they've done something. Now I need to write code to decrement …

Member Avatar for bill_kearns
0
98
Member Avatar for coder91

At the minute I have code that allows the user to enter a reference number and it returns the record from the database matching that exact reference. But I would like it so that the user can enter only part of the reference and it will return all records that …

Member Avatar for coder91
0
152
Member Avatar for james19862012

Hello all, First time poster here. I'm creating a website for class that essentially lets people register with a user name and password. Whenever they're logged in they will have the opportunity to go to a page called SubmitStory.aspx where there will be a textbox, lets say it's just called …

Member Avatar for JorgeM
0
262
Member Avatar for G_Waddell

Hi, I'm updating an application to .net from VB 6.0. It uses crystal reports to display reports but we get issues around versioning and having to have the client install Crystal so we would prefer not to depend on Crystal. I was originally going to use an XMLReader object to …

Member Avatar for G_Waddell
0
498
Member Avatar for coder91

I have a drop down list with various options. When the user has selected an option and hit submit the data is stored in a database column relating to that drop down. however one of the options is 'other' and if they user chooses this the drop down list disappears …

Member Avatar for coder91
0
95
Member Avatar for gahhon

as the title above.. what should i do in order to add a image into my .aspx by using silverlight?

Member Avatar for gahhon
0
179
Member Avatar for HunainHafeez

i filled a gridview with tblUser, now gridview has a checkbox file (status), which is used to activate newly registered users, so i want to inform user via mail when admins activates him, mean when i (admin) checks checkbox field true, in edit mode of girdview then at that moment …

Member Avatar for HunainHafeez
0
797
Member Avatar for HunainHafeez

am near to cry bcz solving this problem took my whole day , simply, i am trying to get status of checkbox from grid view, so i converted it into tempaltefield and in .cs code i used findcontrol property but still getting error: Object reference not set to an instance …

Member Avatar for HunainHafeez
0
946
Member Avatar for coder91

Had validation on 4 drop down lists and they worked grand. But now someone else has made them databound and my validation is no longer working. Anyone know how to fix this?

Member Avatar for coder91
0
92
Member Avatar for coder91

So have a drop down list with various values, one of them being "other". I have written code so that when "other" is selected a panel which has text boxes in it is made visible. if (ddlOption.SelectedItem.Text == "Other") { panelNext.Visible = true; } else { panelNext.Visible = false; } …

Member Avatar for coder91
0
1K
Member Avatar for gahhon

Assume that i am creating 2 Panel which depends on which buttons ( 2 buttons ) user clicked.. if the user click button 1, panel 1 will visible and panel 2 will not be visible.. same to the button 2.. but it can't be work don't know due to what, …

Member Avatar for gahhon
0
113
Member Avatar for while(!success)

Hi everyone, I'm having difficulty updating information within my database in regards to a checkboxlist. I have a table which has attributes of DealerId and ProductId which reflects the products that a dealer is authorized to sell. The table looks as follows: DealerId | ProductId 100 5 100 8 100 …

Member Avatar for bill_kearns
0
84
Member Avatar for Jsplinter

I have the following lines of code, where an if statement compares two strings: string strFound = @"Testing"; string strTest = @"Testing"; if (strFound.Equals(strTest)) { ++iCount; // This line executes when strFound == strTest as expected } if (!(strFound.Equals(strTest))); { ++iCount;// Surprisingly this line always executes even when strFound == …

Member Avatar for JOSheaIV
0
213
Member Avatar for HunainHafeez

using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class loginApplicant : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void btnsubmit_Click(object sender, EventArgs e) { // String …

Member Avatar for HunainHafeez
0
130
Member Avatar for mitesh.24jain

I have 3 table let say table1 ,table2 and table3 Table1 with 2 columns pid and productname pid(P.k) productname 1 abc 2 qwe 3 ewre 4 jui Table2 with 2 columns fid and imagename fid(P.k) imagename 1 a 2 b 3 c 4 d 5 e 6 f 7 g …

Member Avatar for mitesh.24jain
0
223
Member Avatar for coder91

<asp:HyperLink ID="Link1" runat="server" Text="Record an activity" NavigateUrl="~/ActivityRecord.aspx"> </asp:HyperLink> </div> <div> <asp:HyperLink ID="Link2" runat="server" Text="Add information" NavigateUrl="~/Information.aspx"> </asp:HyperLink> This is the code I have and I have the pages ActivityRecord and Information but it's not working. When I click either of the links it just reloads the home page I am …

Member Avatar for JorgeM
0
2K
Member Avatar for vivekanandaan

I am using VS2010 and created a database using SQL server residing in VS2010. the database is stored in the folder APP_DATA with an extension .mdf My PC name is rvivek and it resides in a domain. below is my connection string. myConnection = New SqlConnection("server=rvivek; uid=; pwd=; database=Database1.mdf;") when …

Member Avatar for MikeSmithDev
0
123
Member Avatar for vipmo

I have this source code below where by I have a gridview and on edit/ add a formview appears as a popup. My problem is that the insert and edit are not working. Any ideas on how to fix this problem?? <cc1:ToolkitScriptManager ID="ScriptManager1" runat="server"></cc1:ToolkitScriptManager> <asp:Panel ID="newpnl" style="display:none;background:#F0F0F0;" runat="server"> <div style="position:absolute; …

Member Avatar for vipmo
0
348
Member Avatar for Master Mascus

Hey guys i have been assigned a work of designing a online shoe shop. I am stuck on the part of saving the chosen products on a session vaiable (rather an array) can anyone help me out to give me an idea how to proceed.

Member Avatar for JorgeM
0
230
Member Avatar for HunainHafeez

i am trying to do something like this but it gives me error that **cannot convert int to string** , even the field which i am accessing from db is int and i parsed it into int but why ? here is my code: userId = (int)com.Parameters["@ReturnValueUserId"].Value; Response.Write(userId); SqlDataSource1.InsertParameters["@userId"] = …

Member Avatar for roopeshpm
0
374
Member Avatar for web developer

Hi all I have a problem in paging datagrid .. I have a datagrid and i have template columns in it - is that affect on paging ? , so why paging doesn't work . i tried the following code after allowing paging to datagrid: private void DataGrid1_PageIndexChanged(object source, System.Web.UI.WebControls.DataGridPageChangedEventArgs …

Member Avatar for bilal talal
0
213
Member Avatar for balaji.murari

The End.