12,085 Topics

Member Avatar for
Member Avatar for murugavel84

Hi Friends, I have a user control. what I wanted to do is to find the panel from its parent page. My code is below [ICODE]Dim pnl As Panel = Me.Parent.FindControl("Panel1")[/ICODE] But it returns Nothing. Help me asap.

Member Avatar for jbisono
0
132
Member Avatar for krunalkakadia

hi guys, i want to give new line after fixed amount of characters(say after every 100 characters) in the textbox.as i have to display my news content which is very large. pl guide me for that.thanks waiting for ur reply.

Member Avatar for rohand
0
103
Member Avatar for Carter12

Hello, I need some advice from some of the more expert programmers on what path should I take further in my learning process. I started with PHP and now I can say I do ok, not an expert of course. I like programming very much and I love PHP, it's …

Member Avatar for omol
0
244
Member Avatar for David Mac

Hi All, I think this is my first question here. My web application uses an Access database and I'm getting some strange behaviour which might be related to that. Here's the issue: At the end of processing a users request (during which a lot of calculations are done), a record …

Member Avatar for David Mac
0
149
Member Avatar for MARKAND911

I want to apply skins to fckeditor. the code which is with me is as follows ---------------code-------------- FCKeditor1.SkinPath = FCKeditor1.BasePath + "skins/silver/"; but this code doesnt works and no buttons of fckeditor's are visible.

0
55
Member Avatar for tuomari

I keep getting this error: c:\inetpub\wwwroot\Phoenix\Login.aspx.cs(85): 'Phoenix.WebForm1.DBConnection(string, string)': not all code paths return a value I have already tried putting everything in the DBConnection function to comments but still the problem persisted. This is crucial that i get this working. I have watched examples from the guides in daniweb but …

Member Avatar for dnanetwork
0
133
Member Avatar for antman89

Protected Sub Button5_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button5.Click Dim connection As SqlConnection = New SqlConnection("server=(local); Database = Bookstore; integrated Security=True") Dim CSP As SqlCommand = New SqlCommand() 'Dim Cust As SqlCommand = New SqlCommand() CSP.Connection = connection CSP.CommandText = ("select CusID,CusPassword from CusromerDetail where CusUsername = …

Member Avatar for dnanetwork
0
106
Member Avatar for Tank50

Hi I create web site using asp.net,It publish in windows server 2003.when I type URL in internet explore its sows all the aspnet file(.aspx) file,after that I click on default.aspx file,but it wont works,its generate "page cannot found".I tried it in my local machine and server machine,but its that didn't …

Member Avatar for madison12
0
189
Member Avatar for kseling

i'll attach a little snippet: [CODE] comd = New OdbcCommand("INSERT INTO news (new_title, new_content) VALUES (@newTitle, @newContent)", conn) comd.Parameters.Add("@newTitle", OdbcType.Text) comd.Parameters("@newTitle").Value = newsTitle.Text comd.Parameters.Add("@newContent", OdbcType.Text) comd.Parameters("@newContent").Value = FCKeditor1.Value conn.Open() comd.ExecuteNonQuery() Response.Redirect("default.aspx") [/CODE] this code executes, and my database is updated, but the new_title and new_content fields are still NULL. i've …

Member Avatar for finito
0
141
Member Avatar for krunalkakadia

hello guys, i am new with WIZARD. i am usnig 4 WIZARD steps login,profile,education and business. i have four diff. tables in DB namely tbl_login,tbl_profile,tbl_educatio,tbl_business.i have also 4 procedures for the login,profile,education,business to insert the records in DB every time when i click on next in wizard(i have in my …

0
134
Member Avatar for MARKAND911
Member Avatar for murugavel84
0
123
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
159
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
750
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
106
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
157
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
72
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
151
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
96
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
729
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
62
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
97
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
38
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
24
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
133
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
192
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
371
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
38
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
142
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
68
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
341

The End.