I have attached the c# project Excel Export. The first part of the project is reading from a text file using a stream reader and storing it in a sting file and displaying it using console.writeline. I tried doing this by watching a youtube video. But when I run the
program nothing is happening...
I have this visual studio c# wpf program that I created a year back using online tutorials and stuff and I need to add more stuff to the project. But lot of stuff I dont remember so I am trying to just copy paste and edit it. But here comes the first problem. So in the solution explorer under...
I just did the same process again but then I didnt remove ID and TypeOfExtraCurricular from the Select Query. That is my selectquery is
SELECT ID, TypeOfExtraCurricular Mark1, Mark2, TotalMarks FROM dbo.Marks Where(ID = @ID, TypeOfExtraCurricular = @TypeOfExtraCurricular).
And then I run the...
I created a query by going to the table adapter and creating a new query
SELECT Mark1, Mark2, TotalMarks FROM dbo.Marks Where(ID = @ID, TypeOfExtraCurricular = @TypeOfExtraCurricular).
Then I go to the program and try to use this new query to fill data using the code...
This is a software in visual studio for a client to use. The client doesnt know how to work on the server side. So the client needs to click on button and it should show the row with the values
Hi I created a sql server database and is using a dataset in visual studio to connect to the sql server database and I am using wpf application with a datagrid. Now in one section i need to use dataview.rowfilter.
But i need to use multiple columns to filter row in dataview. For eg I use the...
Hello,
I am doing a wpf sample database project. I created a database called school details with different tables. One table is StudentDetails where I just entered the name of random five students and another table is five sets of marks for phyics, chemistry, biology and maths. Now the first...
I dont know what the problem is. The problem is not actually with the code but something happened with that copy. How I do is everytime whenever I make a change, I make a copy of the previous version and then do the change to that. This time I realised some other things were also not working in...
I have a dataset with column is known as Card_type_1. There 3 types of cards are there. One is SAR41, SAR42 and SAR108. This is a recent change. A week before it was 41,42 and 108, and now I changed it to SAR41, SAR42 and SAR108. Now there is a filter button which checks for each set of cards...
Yap I went to the old copy of the program which had the old CardType which was changed from double to string and there I reconfigured the table adapter again, and it worked. So changing in the table in VB and SSMS is not just enough. I need to configure the change in table adapter as well. That...
Thank you I did exactly that. I didnt delete the whole datatable but just the column CardType and I created a new CardType which is of string type and then configured the Dataset to include the new CardType column and it worked. So creating a new column worked but changing the old column didnt...
I have a database and then a dataset in C# Visual Studio. In the database there is a table with a column called CardType. This was created by someone before me. And the value in this column is always 40. So he created it of type double.
I was told now that now the value has to be changed to...
Ok thanks, I just started learning about custom controls and thats when I got the idea and posted the above. Ok I still have a lot to learn before I am good in creating a custom textbox.
Ok let me get this right. I must have understood custom controls completely. Is this how it it works. I create a different user control with a textbox and place that new textbox with the added functionalities in place of the existing control. Is this how it works.
I do know inheritance and I understood that from your pseudo code that the custom textbox is inheriting actual textbox control. But I dont know stuff like how does it work. Because in c++ and java when u inherit from a class, u still need to call the new class with a object of its own. But here...
Hi,
I am trying to implement this. But my knowledge in C# is limited to the basic programming that is present in c++, java etc. So these topics are new to me. So i have to learn them to implement them. Can you suggest me what all I have to know or what all I have to learn to implement this. I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.