13,936 Topics

Member Avatar for
Member Avatar for MARKAND911
Member Avatar for murugavel84
0
126
Member Avatar for jamshed ahmed

[CODE] SELECT Customer_Info.CustName,Customer_Info.Address,Customer_Bank_Info.CustChequeNo,Customer_Bank_Info.CustAccountNo from Customer_Info,Customer_Bank_Info WHERE Customer_Info.AgentID=Customer_Bank_Info.AgentID [/CODE] THERE ARE TWO RECRODS ARE AVAILABLE IN Customer_Info TABLE AND TWO RECORDS ARE AVAILABLE IN Customer_Bank_Info BUT WHEN ABOVE QUERY IS EXECUTED IT SHOWS 4 RECORDS IT REPEATS THE QUERY THAT'S WHY SAME RECORDS FROM THESE TABLE ARE RETRIVED FOR TWO TIMES. …

Member Avatar for jamshed ahmed
0
163
Member Avatar for cris651

Hello, I'm new to ASP.NET. I'm requesting help. I've tried hard but with no result. I want to provide my user a Gridview filled with data from database, allowing him to edit these records not in order to update the database, but in order to insert edited rows in db …

Member Avatar for cris651
0
776
Member Avatar for ALOK.53

hii all i am new in asp.net.i am trying to implement a grid view with all functionalities(insert,update delete). i have successfullly done edit,update and cancel.but not able to insert(new record) in grid view.As soon as i click on insert i get exception as: Exception Details: System.Data.SqlClient.SqlException: Must declare the scalar …

Member Avatar for rohand
-1
108
Member Avatar for iamchamith

Hi I use dropdown list box in my asp page... I set the autopodtBack property in that dropdown box true.. at the run time i select some item in that dropdown list box , then page is go to top ..I want stop this... please help me thank you Chamith …

Member Avatar for dnanetwork
0
160
Member Avatar for Mr.B

Can anyone talk with me about using buttons on an ASP.NET Page to insert a record? I have two buttons on a page, that need to submit 1 record at a time, but with different results. I'm having an awful time with it. When the page loads, I click Button1, …

Member Avatar for kvprajapati
0
75
Member Avatar for MrBlack

[CODE]1. protected void Button1_Click(object sender, EventArgs e) 2. {string s="Data Source=Black-PC\\SQLEXPRESS;Initial Catalog=Test;Integrated Security=True"; 3. SqlConnection Conn = new SqlConnection(s); 4. 5. Conn.Open(); 6. string strqry = “Insert into students values (” + TextBox1.Text + 7. “,’” + TextBox2.Text + “‘,’” + TextBox3.Text + “‘)”; 8. 9. SqlCommand Com = new …

Member Avatar for kvprajapati
0
154
Member Avatar for kseling

i can't find any other posts on this, so.... i have a site hosted at godaddy and i'm using vb.net in dreamweaver to make my solution. i can connect to the database at godaddy by using the database connection wizard in dreamweaver, but i can't get my pages to use …

Member Avatar for kseling
0
102
Member Avatar for krunalkakadia

Hello you all, I have used label in repeater to display news content.see the code below. <asp:Label ID="lblNewsContent" Width="1000px" Height="500px" runat="server" Text='<%#Eval("News_Content")%>' ReadOnly="true" BorderStyle="None" BorderColor="#EFF3FB" BackColor="#EFF3FB" TextMode="MultiLine"></asp:Label > Now problem is that how can i give new line in label after certain amount of characters?means i have say 500 characters …

Member Avatar for krunalkakadia
0
740
Member Avatar for dougancil

I have the following code: [CODE]Imports System.IO Imports System.Data Imports System.Data.SqlClient Partial Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load End Sub Protected Sub Submit1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Submit1.Click Dim SaveLocation As String = Server.MapPath("Data") & "\upload.txt'" …

0
65
Member Avatar for reza.adinata

Hi All, I am new in programming, and currently learning from some samples. From a[URL="http://www.c-sharpcorner.com/uploadfile/sthangaraju/tcpclientserverst11182005014316am/tcpclientserverst.aspx"] page[/URL], I tried to implement a TCP client server with the following page in WPF (visual studio 2008) [CODE]using System; using System.Text; using System.Net; using System.Net.Sockets; public class serv { public static void Main() { …

Member Avatar for reza.adinata
0
469
Member Avatar for elblocko

Hey guys, Would it be possible for someone to post a working example? I can't find any good information on using the streaming API with ASP.NET and I can't get any of the code on this thread to work. I was trying just to get the response from the api …

Member Avatar for elblocko
0
99
Member Avatar for spherecons

Has anyone there got any experience of using ASP (not ASP.NET - but I'll come to that) with VS2008. The debugger dies whenever you change anything or stop it - which seems inelegant. Microsoft's response is to sniffily tell me that they don't support ASP beyond VS2005 and certainly won't …

Member Avatar for jimib
0
147
Member Avatar for navin_raley

I have a tree control in a ASP .NET page, which creates dynamic LinkButton controls with associated event handlers when user clicks on a tree node. The problem is that the control appears to be created properly, but the event handler linkButton_Click is not getting triggered. Following is my code …

0
40
Member Avatar for pindi.sumanth

hi plz help me regarding the Auto Generation number when the page loads....where i can further use that number in my site..plz suggest some thing,,

Member Avatar for dnanetwork
0
27
Member Avatar for rami2005

i need help in asp.net i use vb.net to build awebsite and i need to link to external websites ex: i want to open google.com from my website please if any one help me thanks alot

Member Avatar for dnanetwork
0
137
Member Avatar for chandruswami
Member Avatar for KushMishra

Hello guys, I am asking a very simple thing to be done in my project (May be I've forgotten the syntax)......... I've taken a drop-down list in which diff. user-names are coming and added a delete button to delete the full row which contains the selected drop-down list user-name. I've …

Member Avatar for rohand
1
199
Member Avatar for phoenix_dwarf

Hi, I'm trying to loop through a listbox that is runat="server" (to get all the values of the items inside the listbox regarless of if they are selected or not). Now i have searched for hours on end and still don't find anything (all the examples is just for the …

Member Avatar for phoenix_dwarf
0
128
Member Avatar for aju982007

i have a ibm java webservice with soap protection username and password needed to give for accesing this webservice .. i need to call this webservice from C# client ... when i call this webservice .its showing this error com.ibm.wsspi.wssecurity.SoapSecurityException: WSEC5048E: One of "SOAP Header" elements required. please help me... …

Member Avatar for nrrbalaji
0
422
Member Avatar for wsoza

Hei...i tried to make a program to scraping html, all is worked but i have a problem in the regex senteces but im not sure, [CODE]<a href="([^"]+)"><span>\d+</span>([^<]+)</a>\s*</li>[/CODE] this sentences should to show me just link and text and not \d+ but when I debugging i can se that come with …

0
40
Member Avatar for Tank50

Hi I am using C# to connect to mysql database that install in my local machine.After I complete the project I want to publish it in another server.So I change the mysql connection string.Here I mention the connection string that I used in local machine String MyConString = "SERVER=localhost;"+"DATABASE=IPG;"+"UID=root;"+"PASSWORD=Test;"; Before …

Member Avatar for Tank50
0
146
Member Avatar for nabilamn

my testing folder in my site is red. perhaps anyone can help me to identify what is the problem because i got the database connection using phptriad and everything goes well because i can view my database by dreamweaver8. whats wrong with my site folder when i click to view …

Member Avatar for dnanetwork
0
71
Member Avatar for rambok4

[code] try Dim da As String = "+100acs+" Dim con As SqlConnection = New SqlConnection("Data Source=RAHUL-034890AF0\SERVER2005;Initial Catalog=user_accounts; Integrated Security =True") Dim command As Data.SqlClient.SqlCommand = New Data.SqlClient.SqlCommand("Insert into sales_details (bill_number,product_id,quantity,rate,amount) VALUES ('" + da + " ','" + Ddpproducts.SelectedItem.ToString + " ','" + Textquant.Text + "','" + Ddpproducts.SelectedValue + "','" …

Member Avatar for rohand
0
346
Member Avatar for a_jadon

Hello there, I am in need of major help. I am trying to convert my ASP classic website to ASP.net. Now my problem is with reading and controlling of the data found in my SQL Server DB. I have managed to connecting to the database and read the records there …

Member Avatar for a_jadon
0
400
Member Avatar for sierrasoft
Member Avatar for kvprajapati
0
149
Member Avatar for krunalkakadia

Hello you all, I have used label to display my news content.see the code below. <asp:Label ID="lblNewsContent" Width="1000px" Height="500px" runat="server" Text='<%#Eval("News_Content")%>' ReadOnly="true" BorderStyle="None" BorderColor="#EFF3FB" BackColor="#EFF3FB" TextMode="MultiLine"></asp:Label > Now problem is that how can i give new line in label after certain amount of characters?means i have say 500 characters record …

0
78
Member Avatar for jamshed ahmed

This pic show that when this query executes it will retrieve 4 records but i guess it should retrive only two records my all work has stuck about this point

0
57
Member Avatar for fayenot

can anyone tell me what's wrong with my codes below..what does this error mean and how can i get rid of it...looking forward for your help.. [code=ASP.NET]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title> </head> <body> <form …

Member Avatar for kvprajapati
0
491
Member Avatar for Mr.B

Allo all, I'm using a DataSet to collect a random comparison from a database, and then passing those values to Public Variables, then constructing two Insert Statements (which shows on screen, and is valid). With the [B]two Insert Statements[/B], I'm using two buttons (in an ASP.NET Page) that Call a …

0
78
Member Avatar for jhellein

Rebuilt an existing site: Old site used aspx pages, for example: [url]http://www.americascarshow.com/Detail.aspx?dct=11&mid=1656[/url] (broken) New site is in Joomla; new link is: [url]http://americascarshow.com/gadgetcentral[/url] I tried a 301 redirect in .htaccess file but cld not get it to work. I need a solution to redirect links to new pages and/or at least …

Member Avatar for diafol
0
239
Member Avatar for genesistr

hi, I have two 3rd party unmanaged c++ dll and one C++ project which uses these dlls. In my asp.net project i added c++ project as referance but in runtime it fails with that error: Exception from HRESULT: 0x8007007E... Visual studio puts c++ project's dll into /bin folder auto. Even …

0
46
Member Avatar for jbisono

Hello my friends. I am having problem with a GridView that its been filled by a LinqDataSource, and the footer i have the option to insert a new row, but if the DataSource is empty the footer wont show up. What is the best option to fix this. Thanks.

Member Avatar for jbisono
0
139
Member Avatar for A_AZAZEL_A

Hi there, What I want to do is that: I make a link ( <a href=...) with the following address [url]http://cookcountyassessor.com/Property_Search/Property_Details.aspx?Pin=13251200120000[/url] When I press on this link the asp page redirects me to this page: [url]http://cookcountyassessor.com/Property_Search/Property_Search.aspx[/url] I mean that I want to submit data automatically to the form on this …

0
54
Member Avatar for dinesh.isuranga
Member Avatar for hitro456

HI folks, I have a page..on top of it there are few textboxes, dropdown and 2 buttons. whenever I click search buttons A grid is displayed on screen with data in it.... But this grid disturbs whole alignment of my textboxes and buttons which are at the TOP of the …

0
74
Member Avatar for aqua82

Hi All, I am new to SQL and I want to know how I can run loops in SQL such that for every element in one table I want to extract all elements from another table. i.e. If we have Table-A and Table-B then for every element in column1 of …

0
47
Member Avatar for sonasuresh

Hi Everyone, I have a doubt in Ajax Autocomplete Extender, im learning ASP.net with C# for 3 days and im unable to understand. i tried some code which is in forums but when i try to connect to my database it fails to retrive data from database i dont know …

Member Avatar for reach_yousuf
0
160
Member Avatar for johnny.g

hi all,,,need a little help from u ppl. i am creating reports using bi of vs along with cubes. here is the example of my report.. country qty rate rate qty a 15 200 2 b 10 400 3 c 20 300 1 i am able to achieve the first …

Member Avatar for dnanetwork
0
85
Member Avatar for krunalkakadia

Hello guys, i have my drop down list in which i have 5 years from 2010-2006.by default start year is current year and last year is current year-5. exa:- if start year is 2010 then last year is 2006 now if 2011 begins then start year will be 2011 and …

Member Avatar for dnanetwork
0
722
Member Avatar for Santho786

how to avoid validation summary when required field validator is disabled..i am disabling required filed validator from java script...eventhough i disabled it ...error message is shown in validation summary. I am facing the error... Explain how to go ahead ... i need to go ahead with jsp, javascript, not with …

0
214
Member Avatar for hwa

Can someone help me?? How to retrive image from MySQL(not MS_SQL) and show into my <asp:Image> control using c# Lets said my table on have a field as following: "SELECT pic FROM image" Thanks in advance !!

Member Avatar for kvprajapati
0
208
Member Avatar for Chris_TDR

We recently had a big code update which is causing error pages to appear when browsing our website, until such point that this is all fixed, it would be helpful if our users could post back the URL of the error page they appear at so we can fix that …

0
74
Member Avatar for KushMishra

Hello to all, I've written this thread because I want to know the different content types used like................. [CODE] Response.AddHeader("Content-Type", "Application/octet-stream"); [/CODE] It was used for software and It was successful........But what for Music,Pictures and E-Books ??????????? Thanks in advance...........

Member Avatar for dnanetwork
1
108
Member Avatar for mohsinsayyad

I am Developing Windows Form Application in .Net, I want to insert selected rows value of Gridview into database. First Column of my GridView is Checkbox, when user check one or more checkbox from gridview, i want to insert values of respective rows into Database.

Member Avatar for sourabhtripathi
0
584
Member Avatar for paslanmaz

How can I make this code asp.net [CODE] If InStr( Request.ServerVariables("HTTP_REFERER"), "google") > 0 Then KeyURL = Request.ServerVariables("HTTP_REFERER") ' Remove all up to q= KeyLen = Len(KeyURL) kStart = InStr( KeyURL, "q=" ) kStart = kStart + 1 KeyRight = KeyLen - kStart Keyword = Right( keyURL, KeyRight ) ' …

0
67
Member Avatar for KushMishra

Hello guys, I'm a newbie to asp.net....I've recently designed a website in which I've taken a gridview control and added a [B]button in the itemtemplate[/B] field of the gridview........What I want is that if anyone clicks on this button then the data in the particular row of the gridview comes …

Member Avatar for dnanetwork
1
211
Member Avatar for saurabhvaze

Hi, We are using the ReportViewer control to display SSRS reports in our ASP.NET application. On pages where we use the ReportViewer control the session does not time out. The reason for this is the ReportViewer control emits a "setTimeOut" javascript function which reads the Session timeout value from the …

0
53
Member Avatar for maria_mj

I want to directly display list of contact name using drop down list when company name is selected from the company list in a drop down list in the same interface. I have no idea how to do this. I am using C#.Net and SQL database. I try to use …

Member Avatar for dnanetwork
0
97
Member Avatar for dinesh.isuranga
Member Avatar for StevenLedwell
0
69

The End.