13,153 Topics
![]() | |
I am making a erp using WPF-C# and i have a confustion on how can i connect my app to sql server after compiling. I am asking this because my app connects to DB when i compile it with Visual Studio and SQL server is already installed on my pc, … | |
Hello fellow daniwebians, I'm attempting to wrap up an asp.net/c# eCommerce website recently created (recently discussed in many of my posts). I'm now trying to transfer the finished product from my local development environment to a remote host. I can publish the files fine, I can reset the connection-strings as … | |
I've made a rectangle with another 3D point inside. The rectangle is textured with an image. Now, I need to move the point that is inside the rectangle to another 3D position. Does anyone knows how this is possible? The only way I found, that is no good for what … | |
Hi I encounter the above error message while executing import excel data into sql data table. It worked fine in Mssql 2005 x86 and MS Office 2007 x86. But currently we upgraded the system to MSSql 2012 x64 and MS Office 2010 x86. I downloaded the accessdatabaseEngine.exe for MSoffice 2010 … | |
Hi I have an issue when generate class file, error "Input string was not in a correct format" Pls advice me Thank you Maideen It is my class.vb file Public Function loaddata(inID As Integer, inname As String, inaddress As String, intel As String, infax As String, inemail As String, inregno … | |
Is ASP.NET a good language to know for web development, if you don't use and .NET laguages. I understand that you can use c# with it to develop web apps, but I can already do everything I need and more in a webapp with python and sometimes ruby. | |
i'm using the event below to change a default error message. so far i'm only using DuplicateUserName. my concern is the rest of the cases. i commented them all out so the errors would bubble up properly, then i uncommented them. i'm not sure what to do with them. leave … | |
I have insert gridview datas into database using checkbox checked. My prob is when datas present in database checkbox should be checked. DataTable dt = new DataTable(); dt.Columns.AddRange(new DataColumn[2] { new DataColumn("adminname"), new DataColumn("projectname") }); for (int i = 0; i <= GridView1.Rows.Count - 1; i++) { GridViewRow row = … | |
I have a checkbox column, which has a OnCheckedChanged event. To avoid postbacks I have placed the checkbox control in UpdatePanel but still it is postbacking When i execute run the page, i see the postback is still happening. I dont know whats wrong with my code. <asp:TemplateField> <ItemTemplate> <asp:Literal … | |
Hi all, I need to change label text dynamically for two operations on webpage in asp.net. First,when file uploading is completed label should show 'upload completed'. After that it will perform validation process and later will show the message 'validation complete'. I have two methods that will be called one … | |
I want to export the excel data and show it in gridview. And I want to update the existing table i sql using Gridview data Below is my code for exporting from Excel protected void btnUpload_Click(object sender, EventArgs e) { //Coneection String by default empty string ConStr = ""; //Extantion … | |
Dear friend i want to be a developer. please tell me where form i can get easy and friendly tutorials of ASP.NET with c# and MVC. Thanks in advance. | |
i keep get this error i dont what to do anymore Year, Month, and Day parameters describe an un-representable DateTime. | |
Hi, having code placed below, I cannot clue out, how to convert query in FilterData() to a dynamic query. Any ideas how to do it? Thanks in advance for any hint. Martin public class Item { public DateTime SampleDate; public List<String> Columns = new List<String>(); //this stores all columns } … | |
What salary Should I expect in New Delhi as Fresher ASP.NET web developer .net developer,in small company. I'm BCA and GNIIT(2 years software engineering diploma)? | |
Hello All Members, this is my first post here i dont know much rules for this community so if i do a mistake Kindly forgive for that.I want to ask in my project named file sharing portal in asp.net I am uploading and storing files in sql server and can … | |
The situation is I have to protect him now projects that reflect the sea is calling to fix security flaws in web Eg when running web path http://localhost:60864/DO_AN/Form_BA...px?MaBaiHat=11 (will appear 11 songs) and he asks that if anyone entered http://localhost:60864/DO_AN/Form_BA...aspx?MaBaiHat = ' or http://localhost:60864/DO_AN/Form_BA...?MaBaiHat=null web will surely fail immediately and … | |
Dear All Statement 1 doesn't get its new value it retrives the existing value only i want it to get new value i am entering on RowUpdating event TextBox mytext = ((TextBox)DgridComminv.Rows[DgridComminv.EditIndex].Cells[7].Controls[0]); string a = mytext.Text; | |
Hello I have compiled a simple 'new user' form and now wish to upload it using FileZilla and view it on my site. As other files occupied the root of the server, I was informed that one way to overcome that issue was for my hosting service to create a … | |
how do in go about in order to check availabili in a form.. | |
![]() | I have a connection in a DAL to SQL server. Using this connection I am trying to read the query. I have tried using ExecuteReader() and ExecutreNonQuery() with no luck. Here is my code: private void button1_Click(object sender, EventArgs e) { try{ var cn = new Connection_Handler(); string input = … ![]() |
Below is my registration page and it is allowing duplicate values in the DB. Could you please help me where am going wrong private void ExecuteInsert(string UserName, string Password) { SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["ApplicationServices"].ConnectionString); string sql = "INSERT INTO UserMan (UserName, Password) VALUES " + " (@UserName,@Password)"; try { … | |
I have problems in using CustomValidation control, I want to check if year entered in date of birth text field is less than graduation year selected from a drop down list by 20 years. I think using ClientValidationFunction is much better when i tried to use it: <script type="text/javascript"> function … ![]() | |
This is my first time using dynamic sql. My goal is to populate a datagrid with a stored procedure that uses a incoming parameter that equals a column name in the table. I have 2 problems. 1. I can get each sql statment to execute independently with the correct results. … ![]() | |
I m using GridView Controls to view the datas. For eg: I m getting column as username and displaying. Now i want to add Checkbox in gridview and want to store username and checkbox values in another table? ![]() | |
How can i read data from a text file or an excel file, I want the user to have both choices depending on what file he/she has. ![]() | |
This simple but extremely useful trick explains how to hande a radiobutton within an ASP.NET gridview, without having to fiddle around with the sometimes cumbersome beast that javascript is. To avoid postbacks, we'll be using ASP.NET AJAX's updatepanel. Basically, the logic is grabbing the sender (ie, the radiobutton checked), disabling … ![]() | |
Hey guys, having a bit of trouble with a customized eCommerce. The part I want to focus on is the adding of an item to the shopping cart (and the details that go along with each item). Everything works as is with the things I need commented... initial call to … | |
I am doing ex4 from the fundamentals of C#. But I cannot solve the problem. I am unable to slice the array correctly and instead just endup with System.int32[] Simply all I am supposed to do is find the maxmimal sequence of equal consecutive elements. I am trying to follow … |
The End.