13,153 Topics
![]() | |
Hi friends, I happend to be on leave for a long time from my work , so now came to knw that one of my website gotdown in google translation API and its because of google translation is no more in use, So anybody please suggest an alternative option to … | |
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 … | |
Can we convert the record displayed on the web page to pdf doc ? if possible then how we can achieve this? | |
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 | |
![]() | 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 … |
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 … | |
ok so im having trouble working out the best solution to this. i have a database with two tables as follows  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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
as the title above.. what should i do in order to add a image into my .aspx by using silverlight? | |
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 … | |
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 … | |
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? | |
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; } … | |
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, … | |
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 … | |
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 == … | |
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 … | |
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 … | |
<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 … | |
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 … | |
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; … | |
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. | |
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"] = … | |
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 … |
The End.