50,724 questions
-4
votes
3
answers
982
views
translate my code to a batch file for me [closed]
I need to write a batch file which run automatically at particular time of day and i got many solutions from forums which are working fine but in my case i need to write SQL query which is quite ...
-5
votes
3
answers
23k
views
C# CSV file to array/list
I want to read 4-5 CSV files in some array in C#
I know that this question is been asked and I have gone through them...
But my use of CSVs is too much simpler for that...
I have csv fiels with ...
-5
votes
3
answers
2k
views
How to sort listbox with letters and numbers ascendent by numbers vb.net
I have a listbox with something like this:
test|10
name|44
blabla|16
and I want sort those items by the number they have at the end (10 44 16), such that they become ordered like this:
name|44
...
-5
votes
1
answer
1k
views
How to call method from all opened forms
I want call a method in the all opened forms
this code call MyUpdateFnc() on the last csutomer Opened Form:
if (Application.OpenForms["frmCustomer"] != null)
{
(Application.OpenForms["...
-5
votes
5
answers
2k
views
Read data from a file line by line [closed]
I am currently open a file and show it on a message box.
private void button2_Click_1(object sender, EventArgs e)
{
//OpenFileDialog1.ShowDialog();
OpenFileDialog file = new OpenFileDialog();
...
-5
votes
1
answer
1k
views
Reverse string by 2 pair in c#.net [closed]
Reversing in 2 pairs means for example: we have a string "helloworld" we need to output in a way that it returns "ehllworodl". We can see that each pair it reverse and concatenated for output.
-5
votes
1
answer
3k
views
How do I get latitude and longtitude for desktop application? [closed]
Can I get latitude and longtitude on windows 7 desktop application?
Usually it will work on mobile or tablet using GPS, 3G or WiFi.
But how I get the coordinate using c#?
-5
votes
1
answer
778
views
Looks Like .NET MAUI Is Still Clunky Dealing With iOS's Provisioning Profile "System"
To all:
I've been trying to port an app I wrote last summer in Xamarin Forms over to the latest version of .NET MAUI. I had few issues (but not none) with the Android version, but - as usual - iOS is ...
-6
votes
1
answer
18k
views
what should i do for working with closedxml correctly in asp.net [duplicate]
I'm using gridview on my webform and I want to export data from SQL server to excel using asp.net c#, and I'm using ClosedXML.Excel but the error is
The type or namespace name 'ClosedXML' could not ...
-6
votes
1
answer
344
views
C# Regex- find href with specific word in string [closed]
How can I find href attributes that include specific word?
I tried
"href=([?;.:=%-\/\\\'\"]+[a-zA-Z]*[blablabla][?;.:=%-\/\\\'\"]+[a-zA-Z]*$)"
However, it doesn't match anything.
-7
votes
3
answers
1k
views
c# check for datetime not working [closed]
I am creating my own DateTime class within C# and for some reason my checks are not working. When I run the program and enter a date it always stops and reaches the last line which is on the "Day" ...
-8
votes
1
answer
2k
views
Sort list of strings alphabetically in .net
How to sort list of words alphabetically in dot net without using any built in functions like Sort.
If I have a list of words : Hello,Awesome,Cool,Stuff
output: Awesome,Cool,Hello,Stuff
I don't want ...