C# Insert Update Delete View and Search

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • The tutorial shows how to do Insert Update Delete View and Search in c# windows forms for beginners.
    C# beginners tutorial on how to do insert, Update, Delete, View and Search Or Insert, Edit, Delete, View Operations in c# windows form using data grid view and SQL server.
    all these insert edit view and search operations are done using SQL Server stored procedure.
    📂 GitHub Repository
    ► goo.gl/kFx8A3
    💖 Buy me a Coffee
    ➤ bit.ly/3L36ut4 (PayPal)
    ➤ bit.ly/3VF0iPT (Razorpay)
    🌀 Related Videos
    goo.gl/FxwPXb : C# String Vs StringBuilder.
    goo.gl/KeeYku : Code execution time in C#.
    🔗 Find me in
    Udemy : bit.ly/3RtyQSB
    Facebook : / codaffection
    GitHub : github.com/cod...
    Discord : / discord
    Twitter : / codaffection
    #WinForm #WindowsForm #CodAffection

ความคิดเห็น • 215

  • @CodAffection
    @CodAffection  7 ปีที่แล้ว +1

    goo.gl/RFY5C2 : Subscribe to CodAffection
    goo.gl/NhNQeZ : Export Excel in C# Applications
    goo.gl/WsgPbp : C# User Registration With DB
    goo.gl/G6WRQR : C# Login Window

    • @eastonbenson4495
      @eastonbenson4495 3 ปีที่แล้ว

      I know im randomly asking but does any of you know a method to log back into an Instagram account??
      I stupidly forgot the password. I appreciate any assistance you can offer me

  • @starlightmm
    @starlightmm 2 ปีที่แล้ว +1

    on @36:24 if we double click the blank datagridview after we run the program, its error, any idea how we not using if(dgvContacts.CurretnRow,Index != -1)? because
    on your example you click search to show the datagridview, but if we click blank datagridview after run the program, it error on that code above, Thank you for the great video :), this is most complete

    • @CodAffection
      @CodAffection  2 ปีที่แล้ว +1

      Thanks for catching that.

    • @starlightmm
      @starlightmm 2 ปีที่แล้ว

      @@CodAffection your welcome, but yes i still hoping the answer :D if you dont mind, thank you for great video

  • @bunnieyeon7246
    @bunnieyeon7246 4 ปีที่แล้ว +1

    Where does ContactName from stored procedures named contactviewor search came from

    • @zergiocunha
      @zergiocunha 3 ปีที่แล้ว

      I m with this problem too

  • @cricfreaks1042
    @cricfreaks1042 5 ปีที่แล้ว +1

    Can anyone give me a solution to edit all data which is populated from the Data table(in database) to Datagridview and update the whole edited data into the same Data table .(Update query)

  • @SAIRICHITHAY_GACS
    @SAIRICHITHAY_GACS 2 ปีที่แล้ว

    Pls help me out,not able to insert values....ur video helped a lot ,but not able to insert values

  • @abdulqahar9852
    @abdulqahar9852 ปีที่แล้ว

    how to insert and update data in just one button(save) in C# // I need some help

  • @prabhjotkaurprabh2411
    @prabhjotkaurprabh2411 6 ปีที่แล้ว +1

    Its really helpful.Sir i have created the database application but the forms does not open in full window mode. I need to maximize each form again and again. Please suggest something how can i make all forms in full window mode.

  • @zergiocunha
    @zergiocunha 3 ปีที่แล้ว

    Where are the ContactName, in 'search button'? i cant find him

  • @SSIFRupali
    @SSIFRupali ปีที่แล้ว

    I get error in stored procedure plzzz 😢
    AS line num 8 ?

  • @matheesanparamagnanam9283
    @matheesanparamagnanam9283 5 ปีที่แล้ว +1

    Thanks, You Help ME Lots Thanks For Your Help

  • @Fergunator
    @Fergunator 6 ปีที่แล้ว +1

    great tutorial, I forgot to update the Stored Procedure and my stuff was not updating hehe

  • @ExoDus_110
    @ExoDus_110 4 ปีที่แล้ว +1

    Very Helpful Video ^-^

  • @1974rachavez
    @1974rachavez 7 ปีที่แล้ว +2

    Thank you, very clear and good explanation. Can't wait to try it.

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      glad to hear that, thanks for the comment

  • @egeucoklar1410
    @egeucoklar1410 6 ปีที่แล้ว

    How to make gridView get the search results simply by typing a letter in a textbox without pressing any SEARCH button?

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      Implement keypress event on textbox instead of search button click event.

  • @ganapathivaideeswaran9098
    @ganapathivaideeswaran9098 2 ปีที่แล้ว

    Where is the code to download please ?

  • @zerosandones7547
    @zerosandones7547 3 ปีที่แล้ว

    Hey, @18:44 why is your connection string's data source=.\SQLEXPRESS?
    mine is Data Source=(LocalDB)\MSSQLLocalDB;
    I already have sql server but why is my connection like that sir?

  • @AshfaaqCurimbaccus
    @AshfaaqCurimbaccus 4 ปีที่แล้ว

    how do you get the command : FILLDATAGRIDVIEW ???

  • @chielichiel
    @chielichiel 4 ปีที่แล้ว +1

    People like you are lifesavers! Very clear tutorial. You have a lot of patience explaining all the steps in this tutorial. Thanks!!

    • @CodAffection
      @CodAffection  4 ปีที่แล้ว

      Thanks for your wonderful feedback. let me know if your topic suggestion like this C#/ sql tutorial.

  • @SAIRICHITHAY_GACS
    @SAIRICHITHAY_GACS 2 ปีที่แล้ว

    Sir, not able to insert values

  • @skks911
    @skks911 3 ปีที่แล้ว

    Load of property'RootNamespace 'failed. The string for the root namespace must be a valid identifier.
    Sir how can i solve this error

  • @civantot5510
    @civantot5510 3 ปีที่แล้ว

    this is very helpful for my Assessment Brief. Thank you so much. From Philippines!

  • @amolhase5249
    @amolhase5249 3 ปีที่แล้ว

    Thank you sir it's very helpful video.

  • @jenniferpeterson5152
    @jenniferpeterson5152 4 ปีที่แล้ว +1

    Great tutorial! Thank you!!

  • @zerosandones7547
    @zerosandones7547 3 ปีที่แล้ว

    How do we deploy/publish this to the client machine?

  • @sisilanaledinga6822
    @sisilanaledinga6822 7 ปีที่แล้ว

    please help me on step by step working and introduction on C# form application

  • @syedjamalrizvi3464
    @syedjamalrizvi3464 8 ปีที่แล้ว +1

    Thanks for this. Sir, Please add Radio button and combo box also .. Thanks in advance.

    • @CodAffection
      @CodAffection  8 ปีที่แล้ว +1

      sure

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      try this new video : th-cam.com/video/1kT3KaZcNn8/w-d-xo.html

  • @ganapathivaideeswaran9098
    @ganapathivaideeswaran9098 2 ปีที่แล้ว

    Excellent Tutorial; must admit you are a great teacher. Keep up the good work.

  • @miranmj2
    @miranmj2 ปีที่แล้ว

    hello mate, can you upload a video about how to upload a bulk of data to sql server from ms access in c# and also download a bulk of data from sql server to ms access file in c#

    • @CodAffection
      @CodAffection  ปีที่แล้ว

      an old video, it might help : th-cam.com/video/sBpNkjdRpno/w-d-xo.html

    • @miranmj2
      @miranmj2 ปีที่แล้ว

      @@CodAffection thanks a lot mate

  • @jimbrillantes2387
    @jimbrillantes2387 5 ปีที่แล้ว

    Values are not being saved in my database during the AddOrEdit procedure part. I followed everything, except it is not saving on the database

  • @cardgames7365
    @cardgames7365 4 ปีที่แล้ว

    Thank you so much....
    Helped me a lot

  • @meromoro8673
    @meromoro8673 7 ปีที่แล้ว +1

    from egypt and follow u of c# ..
    thanks of videos learn

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      Mero Moro : thank you very much.

  • @aamishirfan3334
    @aamishirfan3334 6 ปีที่แล้ว

    Error cannot insert the value NULL into column 'ContactId'

  • @SajjadAhmad-pe3vw
    @SajjadAhmad-pe3vw 2 ปีที่แล้ว

    good experiance

  • @virusaki
    @virusaki 8 ปีที่แล้ว +1

    error: an attempt to attach an auto-named database for file...

  • @ukaszjabonski9389
    @ukaszjabonski9389 7 ปีที่แล้ว

    Hi, I have got error "Could not find stored procedure" I'm using VS 2017 and i can't type sqlCmd.CommandType = CommandType.StoredProcedure; VS says i need to do like this sqlCmd.CommandType = System.Data.CommandType.StoredProcedure;. i think this is a problem but i don't know solution

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      use required namespace.
      add following namespace
      using System.Data;

  • @przemekotczyk8946
    @przemekotczyk8946 7 ปีที่แล้ว

    Can you help me ? I have a problem when I run the program, after double click on the DataGridView I see the error:
    An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll
    this corresponds to:
    CONTACTID = Convert.ToInt32 (dgvContacts.CurrentRow.Cells [0] .Value.ToString ());
    How can I convert it?
    ContactID in my SQL as an integer

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      Przemek Otczyk can u put a break point in double click event then find out the exact line that cause the exception

  • @farjanasurjo4538
    @farjanasurjo4538 6 ปีที่แล้ว

    dgvContacts.DataSource = dt;
    Error : Error 1 The name 'dgvContacts' does not exist in the current context
    plz help me

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      please download the demo project and compare with yours.

  • @Damonwex
    @Damonwex 2 ปีที่แล้ว

    Thank you this was very useful.

  • @syedtahirrazanaqvi7983
    @syedtahirrazanaqvi7983 6 ปีที่แล้ว

    dgvContacts.DataSource = dtbl
    It is giving me an error call "dgv does not exist in the current context" what can i do for that??? Am I use any packages or something??? please help me to sort out my problem...

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      dgv ? what is the name of datagridview dgvContacts or dgv ? try to run in debug mode.

  • @nanisorenightcore7436
    @nanisorenightcore7436 5 ปีที่แล้ว

    Hello ? can i ask why i don't have FillDataGridView in 32:28 thank you

  • @NTDairy
    @NTDairy 2 ปีที่แล้ว

    love you

  • @BassNoiseAmplifier
    @BassNoiseAmplifier 6 ปีที่แล้ว

    Hi, i just have one problem, when i update one contact it updates all other contacts with the same information

  • @hydenseek9390
    @hydenseek9390 6 ปีที่แล้ว

    Hey man Im new to Programming, Databases and other things related to it
    thankyou for making this video it helped me a lot kudos

  • @vinaykumar_namadi
    @vinaykumar_namadi 7 ปีที่แล้ว

    Its working fine in my PC, but unable to run in another PC. I am getting instance specific error related to database, plz help.

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      try this stackoverflow.com/questions/11278114/enable-remote-connections-for-sql-server-express-2012

  • @tuananhvo3175
    @tuananhvo3175 6 ปีที่แล้ว

    Search?

  • @ann_val
    @ann_val 7 ปีที่แล้ว +1

    Awesome! Thanks a lot!

  • @jocomitsu
    @jocomitsu 7 ปีที่แล้ว

    when search is can't find the item it errors...

  • @BM12121
    @BM12121 7 ปีที่แล้ว

    if (dataGridView1.CurrentRow.Index i= -1), i am having trouble with this line, what am i doing wrong?

  • @nawodmadhuvantha9291
    @nawodmadhuvantha9291 4 ปีที่แล้ว

    thank you so much. awesome guidance

  • @alpercalisirold
    @alpercalisirold 7 ปีที่แล้ว

    When i press search i don't see the whole table.Anyone knows why ?

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      whole table ? empty datagridview ?

  • @oblivionX000
    @oblivionX000 5 ปีที่แล้ว +3

    Thank you my good man. This video has helped me a lot for my final projects. One of the best tutorial videos for C# hands down

  • @samueld.yapjr.3270
    @samueld.yapjr.3270 7 ปีที่แล้ว +1

    hi there @Dotnet Mob, i got stuck in the situation where in if i click the record and wont proceed on the edit..then if i click the reset button and enter supposedly a new record..it wont save as new..instead it will show the update message thus updates the last clicked record instead of making a new one..i hardly need help..tnx!

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว +1

      Sure, Please put a breakpoint in datagridview row click event and then run. let me check in my side.and it is a double click event not a click event.

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว +1

      let me know if you need more clarification.

    • @samueld.yapjr.3270
      @samueld.yapjr.3270 7 ปีที่แล้ว

      yes i do man..the if else loop wont work..it wont read if button text is "save" or "update"
      when i run the project..it perfectly saves every data..after each saving..but when i click the table to update a record..after that if i click reset..the new datas will no longer be save..it will show as update..

    • @samueld.yapjr.3270
      @samueld.yapjr.3270 7 ปีที่แล้ว

      yes it was set as doubleclick as well here in my end

  • @esebacamacwindows
    @esebacamacwindows 6 ปีที่แล้ว

    How can I transfer this application to another computer without having problems? I get problems with LocalDB and then the attachment database etc .. how can I solve? I just want to make the application work like your video on another computer without having to install special programs. Please help me it's been 4 days since I can not solve the problem. Thanks in advance.

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      I hope you have installed MS SQL Server on new computer, Then you may need to change Db connection string. Please watch this video for building connection string : th-cam.com/video/WJ-CdeTGxp8/w-d-xo.html

    • @esebacamacwindows
      @esebacamacwindows 6 ปีที่แล้ว

      On the new computer I do not have MS SQL Server. Can you send me the link where to download MS SQL SERVER to the new computer and which edition? I can not understand what the right link is.

  • @nidhichoraria5624
    @nidhichoraria5624 6 ปีที่แล้ว

    Thanks for this but my delete button is not supporting

  • @builditontutorial
    @builditontutorial 5 ปีที่แล้ว +1

    8:24

  • @saminachapagain957
    @saminachapagain957 7 ปีที่แล้ว

    thanks for the video...its very useful.plz add date and combobox too..

  • @MrStanban
    @MrStanban 6 ปีที่แล้ว

    great video, really happy i found this video as it saved me a lot of trouble

  • @artbelief777
    @artbelief777 5 ปีที่แล้ว

    dgvContacts where it is

  • @nowelexnhuh824
    @nowelexnhuh824 6 ปีที่แล้ว

    where is the sql file of this project?

  • @rylramos9261
    @rylramos9261 4 ปีที่แล้ว

    Basic approach, Improve

  • @joaopedromendes3952
    @joaopedromendes3952 6 ปีที่แล้ว

    Any chance to get a way to check if name already exists? Rigth now its possible to have duplicated entries.

  • @the007apocalypse
    @the007apocalypse 4 ปีที่แล้ว

    Very helpful. Thank you

  • @rvsusi4046
    @rvsusi4046 6 ปีที่แล้ว

    Hai sir, this is really awesome and more easy to do and I have implemented it in my project it's working too good. Thank you so much sir. And I need a help from you sir because I am doing a school management project so that I need to include attendance process but I referred lot of videos still I didn't get apt full like this video. Please sir just upload a video of how to process attendance concept in Windows form using c# or suggest me some videos sir. It's urgent for me sir. Plsssss

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      Thanks for the comment. Now I don't have a video for school management software.

  • @maherkoosa3190
    @maherkoosa3190 7 ปีที่แล้ว +1

    thank you very much :) :)

  • @SURESHSUTHAR78
    @SURESHSUTHAR78 6 ปีที่แล้ว

    Thank you very much...
    Its was very helpful..!!!

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      My pleasure, Thanks for the comment.

  • @shovikanand3214
    @shovikanand3214 5 ปีที่แล้ว

    Best teacher u r..u discussed so nicely even simple things...best way u taught...so calmly ..wow ..best u r..may i know ur name sir.?

    • @CodAffection
      @CodAffection  5 ปีที่แล้ว +1

      Thanks for your wonderful feedback!.

    • @shovikanand3214
      @shovikanand3214 5 ปีที่แล้ว

      We need.more n more such videos to command c# dotnet sir...i need ur help personally

  • @florindanci4581
    @florindanci4581 7 ปีที่แล้ว

    Why whatever I do, It gives me an exception saying "stored procedures not found"...When I save it, I have to choose where, when you did, you did not have to choose..

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      th-cam.com/video/-2UcDV4uUu8/w-d-xo.htmlm34s

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      Pass your stored procedure name as parameter to SqlCommand. I hope you have downloaded the source code.

  • @lekSandraShine
    @lekSandraShine 7 ปีที่แล้ว

    This program deletes only first(0) person?

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      yes ,only one person. person with given id.

    • @lekSandraShine
      @lekSandraShine 7 ปีที่แล้ว

      Dotnet Mob No, I am about first in index? Or i can choose with index 18 ?

  • @tiny2700
    @tiny2700 6 ปีที่แล้ว

    Hello. Everything works fine except that it only allows me to save one record in the table. After that I receive an error about duplicate primary key. Please note that I did download the project and I adapted it to my project. If you have any suggestions on solving this, please reply. Thanks

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      did you set the id column as identity column - in video it was there at 10:30

    • @tiny2700
      @tiny2700 6 ปีที่แล้ว

      yup. here is the syntax
      CREATE TABLE [dbo].[train_lines] (
      [Id_TL] INT IDENTITY (1, 1) NOT NULL,
      [tl_name] VARCHAR (50) NOT NULL,
      PRIMARY KEY CLUSTERED ([Id_TL] ASC),
      );

    • @tiny2700
      @tiny2700 6 ปีที่แล้ว

      Ah, found the problem. In the Add stored procedure I had:
      IF @mode = 'LJ_Add'
      BEGIN
      INSERT INTO train_lines
      (Id_TL, tl_name)
      VALUES
      (@Id_TL,@tl_name);
      END
      I deleted the Id_TL from insert and values and now it works fine. Thank you for replying anyway.
      That's how it happens usually, as soon as you ask for help, you find the problem :))

  • @renzosanantonio5952
    @renzosanantonio5952 7 ปีที่แล้ว

    This is very helpful. Thanks a lot 😊😃😃

  • @melmarch8732
    @melmarch8732 5 ปีที่แล้ว

    Thanks so much :) Really helped me.

  • @ratkoskrbic9791
    @ratkoskrbic9791 6 ปีที่แล้ว

    Thanks for great video.
    I wanted to create column header with space: [Mobile Number] and I could not save the store procedure. If these two words are together, everything works fine. Can anyone help me?

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      did you create a column with name 'Mobile Number' ? and now you have a problem with creating stored procedure right ?

    • @ratkoskrbic9791
      @ratkoskrbic9791 6 ปีที่แล้ว

      Yes, I did. Because there is space between these two words, during creation of column name, "Mobile Number" is automatically inserted between [ ]. And than I tried to use same content [Mobile Number] in stored procedure and there is error.

  • @karmaisreal9484
    @karmaisreal9484 6 ปีที่แล้ว

    How do i save the database

  • @DonDensho
    @DonDensho 6 ปีที่แล้ว

    It was a lot of Help Thanks!

  • @SallyJarkasM
    @SallyJarkasM 7 ปีที่แล้ว +1

    thank u so much
    it is helpful

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      I'm glad you liked it, thanks for watching

  • @asmakacimi3815
    @asmakacimi3815 4 ปีที่แล้ว

    Thanks a lot for the help and information, good presentation

    • @CodAffection
      @CodAffection  4 ปีที่แล้ว

      glad to see your comment. keep learning and sharing.

  • @alexpetruco1348
    @alexpetruco1348 3 ปีที่แล้ว

    Great Man Thank you so much

  • @karmaisreal9484
    @karmaisreal9484 6 ปีที่แล้ว

    or the table thingy

  • @macaroniz1425
    @macaroniz1425 4 ปีที่แล้ว

    Thank you for the tutorial!

  • @azizkarami5067
    @azizkarami5067 6 ปีที่แล้ว

    Could not find stored procedure please i need a help in this error

  • @RashidAli-oc6yl
    @RashidAli-oc6yl 6 ปีที่แล้ว

    KIND SOURCE code b de dain

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      I think, it's there in video description.

  • @nguyentaanh8672
    @nguyentaanh8672 4 ปีที่แล้ว

    Love From Vietnam

  • @khanfalaknaaz846
    @khanfalaknaaz846 5 ปีที่แล้ว

    Lovey super

  • @mundodemaluehelo
    @mundodemaluehelo 8 ปีที่แล้ว +1

    thanksss so much!

  • @alaasawaftah7704
    @alaasawaftah7704 8 ปีที่แล้ว

    How can i import file sql into program?

    • @CodAffection
      @CodAffection  8 ปีที่แล้ว

      you mean sql script file?

    • @CodAffection
      @CodAffection  8 ปีที่แล้ว

      Please check your inbox

  • @furtunaaaaa
    @furtunaaaaa 7 ปีที่แล้ว

    2trigered mic!!!!!!11

  • @justyn8899
    @justyn8899 5 ปีที่แล้ว

    THANK YOU SO MUCH YOU ARE MY HERO

  • @orlandoreyes884
    @orlandoreyes884 6 ปีที่แล้ว

    Excellent!! Very usefull

  • @yachiyow7210
    @yachiyow7210 7 ปีที่แล้ว

    thank you :)

  • @learningchannel3362
    @learningchannel3362 7 ปีที่แล้ว

    lol

  • @rahathossain4346
    @rahathossain4346 7 ปีที่แล้ว

    how to work in search ber option ????

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      search text box is used to filter records from inserted records. it is already implemented in this project.

    • @rahathossain4346
      @rahathossain4346 7 ปีที่แล้ว

      ohh..thanks for your informative reply

  • @ScottScreen
    @ScottScreen 6 ปีที่แล้ว

    This has been super helpful. Thanks so much!

  • @wardahnadeem2368
    @wardahnadeem2368 7 ปีที่แล้ว

    i'm having a problem with delete and update button .
    like if I update a data it does not update in grid view or table and same with delete button
    and filldatagridview function is not available in my c# library it does not exist in the current content

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      did you download demo project source code ?

    • @wardahnadeem2368
      @wardahnadeem2368 7 ปีที่แล้ว

      Dotnet Mob No I didn't

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      please download demo project and try.

    • @wardahnadeem2368
      @wardahnadeem2368 7 ปีที่แล้ว

      Dotnet Mob thank you
      it helped alot :)
      Can please guide where I can find sale system ? with this procedure?
      I have a project to submit tomorrow and I can't find it :(

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      I didn't get you. What project ? Let me know project requirements.

  • @Ahyemengal
    @Ahyemengal 7 ปีที่แล้ว

    please send me source code of this?

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      you can download the source code from the link given in video description.if you need any help let me know

    • @Ahyemengal
      @Ahyemengal 7 ปีที่แล้ว

      where is link.?

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      www.dropbox.com/s/6kft17y18hp5ng0/Save%20Update%20Delete%20View.zip?dl=0

  • @jeromekentbayubay
    @jeromekentbayubay 8 ปีที่แล้ว

    Can you help me? I just did what your tutorials but I keep receiving this error "Cannot insert explicit value for Identity column in table 'EMPLOYEES' when IDENTITY_INSERT is set to OFF" can you help me about this pls?

    • @CodAffection
      @CodAffection  8 ปีที่แล้ว +1

      sure,
      fix : in the insert sql script - avoid employee id column(identity column)
      reason : you can't insert values into identity column directly
      I hope you downloaded my project from the link given in video description

    • @jeromekentbayubay
      @jeromekentbayubay 8 ปีที่แล้ว

      Thanks for the reply I'll try it later and I will tell you the result later.. Nice channel by the way nice to subscribe..

    • @jeromekentbayubay
      @jeromekentbayubay 8 ปีที่แล้ว

      sir I'm sorry I am really a beginner with C# I just download the link from your videos description and just follow the ID column that you made with primary key and now I'am confuse... sorry for disturbing you... but can you help me understand about this.. I mean I understand your C# tutorials but I dont know what happened with my sql syntax...

    • @CodAffection
      @CodAffection  8 ปีที่แล้ว

      can i see you stored procedure for employee insertion ?
      if possible please share the table design also

    • @jeromekentbayubay
      @jeromekentbayubay 8 ปีที่แล้ว

      yes sir where could I share it to you?

  • @jjtg27
    @jjtg27 6 ปีที่แล้ว

    just perfect, thanks a lot.

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว

      Glad you found the video helpful.

  • @stefankukec9613
    @stefankukec9613 5 ปีที่แล้ว

    Rrrrigt

  • @amanullahwesal2594
    @amanullahwesal2594 7 ปีที่แล้ว

    how to create setup from project

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      you can expect that in upcoming tutorials

    • @CodAffection
      @CodAffection  7 ปีที่แล้ว

      Video As Per Your Request.
      th-cam.com/video/tiHBwAp_Kz4/w-d-xo.html

  • @abdulsalam5797
    @abdulsalam5797 6 ปีที่แล้ว

    Best Crud operations i have everseen.

    • @CodAffection
      @CodAffection  6 ปีที่แล้ว +1

      Thanks for your kind words.

    • @abdulsalam5797
      @abdulsalam5797 6 ปีที่แล้ว

      @@CodAffection Sir if you don't mind.
      I need your help as my FYP is very close.

  • @moklumikluy2227
    @moklumikluy2227 5 ปีที่แล้ว

    GGWP