Search results for query: *

  1. G

    Trying to read from a text file

    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...
  2. G

    Resolved using Project.FolderName is not working.

    Its ok, I solved it. I guess the folder cannot be empty. When I added a .xaml file inside the folder then the error is gone. Thank you.
  3. G

    Resolved using Project.FolderName is not working.

    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...
  4. G

    Resolved RowFilter of DataView with multiple column values

    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...
  5. G

    Resolved RowFilter of DataView with multiple column values

    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...
  6. G

    Resolved RowFilter of DataView with multiple column values

    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
  7. G

    Resolved RowFilter of DataView with multiple column 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...
  8. G

    Question WPF Datagrid is erasing the SSMS Database and showing empty

    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...
  9. G

    Question Cannot filter data in dataset wpf application

    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...
  10. G

    Question Cannot filter data in dataset wpf application

    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...
  11. G

    Resolved Error even after changing datatype in both dataset and SQL Server Management Studio

    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...
  12. G

    Resolved Error even after changing datatype in both dataset and SQL Server Management Studio

    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...
  13. G

    Resolved Error even after changing datatype in both dataset and SQL Server Management Studio

    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...
  14. G

    Resolved Textbox problem - Cannot Understand Text="						"

    <TextBlock HorizontalAlignment="Left" Height="355" Margin="94,13,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="1811"><Run Text="Herstellerseriennummer:" /><Run Text="&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;" /><LineBreak /><Run...
  15. G

    Answered Combine multiple lines into a single line in a textbox

    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.
  16. G

    Answered Combine multiple lines into a single line in a 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.
  17. G

    Answered Combine multiple lines into a single line in a textbox

    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...
  18. G

    Answered Combine multiple lines into a single line in a textbox

    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...
  19. G

    Answered Combine multiple lines into a single line in a textbox

    Thank You. I will try to implement this and get back in case of any queries which I am sure I will have since I am just a beginner in C# and WPF.
Back
Top Bottom