13,153 Topics
![]() | |
Hey Guys, Could you please provide me with any useful tutorials of Crystal Reports in ASP.NET I need it as soon as possible! | |
Help, I dunno what is d 1st step of creating a shopping cart in asp.net. | |
please .. i need the code behind the button to retretive data based on user's username .. | |
hi, We are showing Video with slides(images) in silverlight .Our images come from amazon server now we want to cache these images before starting Video. our code is given below: private void LoadImage(string ImageURL) { WebClient downloader = new WebClient(); downloader.OpenReadCompleted += new OpenReadCompletedEventHandler(downloader_OpenReadCompleted); string fileName = ImageURL; downloader.OpenReadAsync(new Uri(fileName, … | |
How do you insert a child node in a TreeView Control in WPF C#? I have a TreeView control that I have created in XAML in a WPF program using C#. After adding a couple nodes at the root level, I have written code that loops through the tree structure … | |
I open new window using javascript as like this, in the [B]Main page[/B] using several links & that link pass the id to the javascript function call moreWindoe() eg->[CODE] <a onclick="morewindw(1)">link 1</a> <a onclick="morewindw(2)">link 2</a> <a onclick="morewindw(3)">link 3</a> [/CODE] [CODE]function moreWindow(id){ window.open('moredata.aspx?val='+id+'','mywindow','width=650,height=540','location=no'); return false; }[/CODE] when i am click the … | |
Hello. I am trying to get a chart to display a chart image inside a gridview. This image will be populated with data relating to the particular row. The image currently shows but all series collections will not appear and the image is showing data that only relates to the … | |
The users of my web application are complaining that the 20 min default timeout is too short and they don't want to have to keep logging in. I have tried changing the timeout from the default 20 mins but whatever I set it to it seems to have a max … | |
Hi, I am having problems inserting data into a table using a stored procedure. When I click the button to insert the data nothing happens at all. I added a [B]server.transfer[/B] after the insert to see if it was falling over before the end of the query/insert. My code behind … | |
I'm doing my project in asp .net(vb .net coding). Its about Disambiguate Doctor's profile I want to display the data without any redundancy... I have to take a[B] particular field [/B]from my table and [B]compare strings[/B]Can Anyone guide me Thanks in advance:S | |
Hello Friend, I am freelancer web developer person. In this time i am developing one web application but i have some problem in this application. 1) Error of ','; 2) Database in Sql. 3) How to use proper query in application. If any one to know about, so plz give … | |
Hello , I have a Gridview control in which i am having a button (template field) named btnEdit (it is placed in the 2 column of the grid) On the click of this button i want the dropdownlist placed in the 1st column of the Gridview control to be enabled … | |
Has anyone noticed that when you do a "find on this page" in Internet Explorer (7 and 8), which causes the page to scroll down, the onscroll event isn't fired? I have a situation where I need the onscroll event to be fired under those circumstances. Does anyone know a … | |
is there any website where i can find some Linq Excercise.. or you guys can setup a scenario.. | |
The Above Code has Runtime Error. Type ' Product' is not defined. Pls help me.[code]Imports System.Data Partial Class insert Inherits System.Web.UI.Page Private SelectedProduct As Product Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not IsPostBack Then ddl1.DataBind() End If SelectedProduct = Me.GetSelectedProduct() Label1.Text = SelectedProduct.empno … | |
I have create for CrystalReport format in vb.net website Reports. How to create Crystalreport to PDF Format Report. Pls give example coding. | |
Hi I get the error Invalid column name 'MakerID' from my code below. [CODE] <asp:GridView ID="GridView1" AllowSorting="true" AllowPaging="true" runat="server" DataSourceID="SqlDataSource1" AutoGenerateDeleteButton="true" AutoGenerateEditButton="true" DataKeyNames="CamID"AutoGenerateColumns="False"> <Columns> <asp:BoundField Visible="false" ReadOnly="true" HeaderText="ID" DataField="CamID" SortExpression="CamID" /> <asp:BoundField HeaderText="Kamera" DataField="CamName" SortExpression="CamName" /> <asp:BoundField HeaderText="MakerID" DataField="MakerID" SortExpression="MakerID" /> <asp:TemplateField HeaderText="Tillverkare"> <EditItemTemplate> <asp:SqlDataSource SelectCommand="Select * from Maker" ConnectionString="<%$ … | |
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="cart.aspx.vb" Inherits="cart" title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" ForeColor="Black" GridLines="Vertical" style="z-index: 1; left: 293px; top: 711px; position: absolute; height: 184px; width: 985px" AutoGenerateColumns="False" DataKeyNames="OrderID" DataSourceID="SqlDataSource1"> <Columns> <asp:BoundField DataField="OrderID" HeaderText="OrderID" InsertVisible="False" ReadOnly="True" … | |
Hi folks, I am trying to prevent multiple postbacks from a button. When user clicks the button it becomes disabled but still i end up having multiple entries of same data in the database. Is anything wrong the way I am disabling my button ? [CODE] StringBuilder sbValid = new … | |
hello,plz tell me how to rate a particular video on average bases and after calculating average how to show that in aspx page; [code] protected void ratechange(object sender, AjaxControlToolkit.RatingEventArgs e) { // string k = Rating1.CurrentRating.ToString(); int rate = int.Parse(e.Value.ToString()); Response.Write(e.Value); count++; Session.Add("ratecount", e.Value); Session.Add("countuser", count++); } protected void Advertisedatagrid_ItemCommand(object … | |
Hi all, I am trying to build a ui application with thread for tcp server. I managed to build the tcp server itself using console (giving a welcome message when I telnet it), but when I copy the exact source code in WPF , I can not telnet it. The … | |
hi,i am making a website in which i have included google search engine.i want to write a code for remembering the previously searched keywords ie if user has written 'a' then all his previous searches starting with a must come in textbox.i dont want to use auto complete feature of … | |
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="cart.aspx.vb" Inherits="cart" title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <script runat="server"> Dim TotalUnitPrice As Decimal = 0.0 Function GetUnitPrice(ByVal Price As Decimal) As Decimal TotalUnitPrice += Price Return Price End Function Function GetTotal() As Decimal Return TotalUnitPrice End Function Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, … | |
how to set shortcut keys for button in asp.net? | |
hi iam working on asp.net using c# project...iam facing a problem...the problem is,i had a master page in which iam using collapse panel(ajax control)... in collapse panel i had folders like:- xyz abc def ghi.... and in xyz folder i had some forms.... nw the problem is that i had … | |
Last date value (Next Training ) gets properly inserted but not the rest... any clue? [ICODE] <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/JABILMCALLEN.mdb" DeleteCommand="DELETE FROM [Certifications] WHERE [CertificationID] = ?" InsertCommand="INSERT INTO [Certifications] ([EmployeeID], [TrainingDocID], [StartedTraining], [EndedTraining], [EvalutationType], [TrainedBy], [NextTraining], [Approved]) VALUES (?, ?, ?,?,?, ?, ?, ?)" SelectCommand="SELECT * FROM [Certifications]" UpdateCommand="UPDATE … | |
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. | |
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. | |
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 … | |
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 … | |
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. | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
Hi, I'm reasonably new to C# and even newer to WPF projects in C#, i'm having a lot of trouble getting to grips with how to use the template property and its doing m head in. Firstly an explanation of what I am trying to achieve: I am working on … | |
How to Open a webPage in new Tab or new Window in ASP.net(C#)? | |
[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. … | |
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 … | |
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 … | |
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 … | |
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, … | |
[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 … | |
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 … | |
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 … | |
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'" … | |
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() { … | |
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 … | |
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 … |
The End.