Search results for query: *

  • Users: ahmedsalah
  • Content: Threads
  • Order by date
  1. A

    Question How does mvc application get the cookies from the client ?

    I have question and i don't have answer for it my question is How does mvc application get the cookies from the client ? which of the following is correct 1-cookies are sent in each request to the server 2-the server send the request to the client and ask the client to send cookies...
  2. A

    Question How to save Personal Picture on Database Table aspnetUser on mvc .net core 5 ?

    I working on asp.net core 5 mvc web application , I face issue I can't store Picture User on database table [dbo].[AspNetUsers]. so can you tell me how to store personal picture of user on table [dbo].[AspNetUsers]. I already add new column PictureUser on table [dbo].[AspNetUsers] to store...
  3. A

    Question What telement mean here and when it use it?

    I work on .net core 6 vs 2022 i see function have telement but i don't know what this mean can you show me please ? and when use it are there are any thing best from using telement or more general What I have tried: public List<TElement> SQLQuery<TElement>(string sql, string...
  4. A

    when make login using simple membership it not logged in success although I use same user name and password?

    I work on Web API c# web app . I face issue I can't login success although I have same username and password . when make break point on websecurity.login then trace it jump to ModelState.AddModelError so are there are any settings remaining or some configuration not done . public JsonResult...
  5. A

    Question Error object reference not set to an instance of an object

    I work on csharp i get error object reference not set to an instance of an object code give me error var Data = result.items.Select(e => new { PartID = e.create._id, IsUpdated = e.create.error != null && e.create.error.reason !=null && !e.create.error.reason.Contains("document already exists")...
  6. A

    directory path already exist with full permissions although it return false ?

    I have shared path '\\192.168.7.9\Import\8' I face issue when try to check this directory path exist or not . when run script python on sql server 2019 it must return true because directory path exist but my issue is python script return false although directory exist . script python...
  7. A

    columns name header on excel changed after data exported to excel ?

    I work on sql server 2017 I run script depend on python language v 3.10 . I need to export data to excel fileStudentExport.xlsx already exist, and keep header without change after export. header of excel file StudentExport.xlsx before export data to it as below StudentId,StudentName after...
  8. A

    after add feature name and feature value query execution result take too much time ?

    I work on SQL Server 2014 and my issue occurred after displaying Feature Name and Feature Value separated by $. When executing the query below after adding Feature Name and Feature Value with stuff it became very slow. How to enhance it? Before adding the two stuff statements it took 28...
  9. A

    Resolved when null flag updated and conflict flag updated on SQL query statement?

    I work on SQL server 2012 .really I don't understand what statement below do updatedand when when NullFlag updated and when conflict flag updated can you explain to me according to sample below <code> result of query data details rows without grouping : Masked_ID DocumentID PartID NULLCount...
  10. A

    Question How to add column column unitmeasure dynamically based on Flag Allow is 1?

    How to add column column unit dynamically when Flag Allow is 1 on table #nonparametric table ? I work on SQL server 2012 I can't add column unit dynamically when Flag Allow=1 as example below I have two rows have Flag Allow=1 family 90AM will be family 90 and family unit AM on two column...
  11. A

    Question What is wrong on function ExecuteNonQuery to work as Best Practise ?

    I work on c# app I need to make function make insert data or update or delete dynamically so that I do function below for insert or update or delete but I don't know what must added or remove from function below to make function work as best practice . public static async Task<int>...
  12. A

    Answered How to compress multi Excel files to zip Archive ?

    I working on c# 5 app create more than excel files xlsx but I face Issue I cannot compress these files to one file as zip archive . meaning if result of code below of three files as abc.xlsx and autod.xlsx and mog.xlsx as examples then create all theses file to one file as zip archive with...
  13. A

    Question How to create excel sheet with multiple sheet name based on modules ?

    I work on c# desktop app I cannot export data to excel sheet with multiple tab meaning multi sheet based on data exist on data table module field I use open XML library Data table data as below : Divide Output Excel File To Multi Tab based On Module PartId Company Files Tab Module 1222...
  14. A

    Question How to enhance query performance when loop within temp table ?

    I work on SQL server 2012 I have temp table get data from excel and based on data exist on excel i insert on table inside loop temp table always have big amount of data may be at least 5000 or 10000 or 15000 or more I need every iteration increased by 5000 rows insert from temp table so that...
  15. A

    Answered How to give red color for rows on html table that have different values on same row?

    How to give red color for rows on html table that have different values on same row ? I work on dynamic table not static get from back end asp.net sample below for explain idea . I need when at least one cell from row different from each others then give red font to full row if you see below...
  16. A

    Question detect recieving mail is reply or new message

    I doing contact system web application using c sharp asp.net using library mail kit the problem is when some one reply to my email from outlook 2010 to any email I sent it then on my web application reply id on debug show null when receiving . so How any email server like google,Microsoft...
  17. A

    Question when implement sqlclr function i get error on sql server 2012?

    Problem I work on SQL server 2012 windows 7 when implement clr function i get error Msg 6522, Level 16, State 1, Line 1 A .NET Framework error occurred during execution of user-defined routine or aggregate "spExecuteParallel": System.NullReferenceException: Object reference not set to an...
  18. A

    Question refresh page after success login go to login page why and how to solve ?

    problem When Make login and refresh or reload page after login it come back to login page ? I work on asp.net MVC project web API work with angular 7 project client side . my problem is when write user name and password correct it make login and go to dashboard page that I done to work after...
  19. A

    How to solve problem of msvsmon.exe .net debug ?

    I work on asp.net core 2.2 I make project with asp.net core 2.2 connected to SQL server 2014 . I already install remote debugger tool on server I also install visual studio on server 2017 when make remote debug on server I get error unable to connect to Microsoft visual studio remote...
  20. A

    Question Cannot modify function GetSelectStatement to generate select statement from string json?

    I work on csharp and i need to generate select statement based on inner join select statement but i cannot modify it I need to get fields and keys and table to generate inner join select statement as below : select FooterTable.ItemCode,FooterTable.Quantity,FooterTable.UniPrice from MasterTable...
Back
Top Bottom