Search

You searched for the word(s): userid:876777

Matching Posts

  • Re: before delete dataset

    Anyone here who can help me plese?
  • Re: before delete dataset

    no one here who can assist with it?
  • Re: before delete dataset

    sorry DB85 but im really get starting for a vew weeks i insert this in my spax site: <itemtemplate> <asp:Button ID="btnDelete" runat="server" Text="Delete" CommandName="Delete" CommandArgument='<%# Eval("id") %>' OnClick="btnDelete_Click" /> and this in my codebehind file: Protected Sub btnDelete_Click(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataListCommandEventArgs) _ Handles btnDelete_Click
  • Re: before delete dataset

    Hy all, no i add a new colum "isdelete". Im not sure how i gonna show only the data without the flag "delete" in the column. i have a some commands: deltecommand, insertcommand and the select command. I think the selct command is the command i have to edit? That is my selct command SelectCommand="SELECT [ID], [name], [vorname], [anrede], , [strasse], [plz], [ort], [telefon], [telefax], [mobil], [sonstiges], [kundenschwerpunkt], [website], [eingestelltdurch], [hatgearbeitetfuer
  • Re: before delete dataset

    unfortunatly it dont works, now i have this in my Selcetcommand "([ID] = @ID AND ISDELETE = 0 )" but now i see no datasets. If i look in the database i see the " NULL " in the column isdelete. I also tried with this: ([ID] = @ID AND ISDELETE = Null ), but i have the same problem. Any idea why it wan't works?
  • Re: before delete dataset

    Hi thanks, now its running, but now i cant edit a dataset with the controls of the detailsview i have. I think i have to edit my the buttons for insert, edit and delete. 1. By clicking on delete the the only thing should happen is to set the "1" in the "isdelete" 2. By clicking on insert, al the fields values and the "isdelelte=1" should be insert. Cany any body help me to do this as well? That are my commands: DeleteCommand="DELETE FROM [freelancer] WHERE [ID]
  • Re: before delete dataset

    <%@ Page Title="Test" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="details.aspx.vb" Inherits="details" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConflictDetection="CompareAllValues" ConnectionString="<%$ ConnectionStrings
  • Re: textbox1 not declared

    it is outside any server controls. I used a new textbox as well, same issue So, you advice is to ignore the error?
    Posted to Web Forms (Forum) by homermg on 8/21/2009
  • Re: textbox1 not declared

    Thank you very much! But unfortuntly i have two of textbox1. One in my details view and one the line 743. So it should works if i rename the last textbox1 in for exaple textbox71? I try this but it also not runnig the same error. Any Idea? Also if i press F5+strg for run without Debugging : I see this in the outgo windows(VWD2008 Express) : C:\Freelancer\details.aspx.vb(32,0): Error BC30451: The name"TextBox1" is not declared. C:\Freelancer\details.aspx.vb(49,0): Error BC30451: The name
    Posted to Web Forms (Forum) by homermg on 8/20/2009
  • Re: textbox1 not declared

    Hi venkatu2005, now i renamed the texbox i mean. <asp:TextBox ID="FileDescr" runat="server"></asp:TextBox> that is my codebehind now: Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click Dim sqlConnection1 As New Data.SqlClient.SqlConnection(GetConnectionString()) Dim strname As String Dim cmd As New Data.SqlClient.SqlCommand Dim fileName As String = Guid.NewGuid().ToString() Dim extention As String = IO.Path.GetExtension
    Posted to Web Forms (Forum) by homermg on 8/20/2009
Page 1 of 22 (213 items) 1 2 3 4 5 Next > ... Last ยป