WPF DataGrid shows dot instead comma

After digging on the internet and searching for answers without result, I would like to ask you for help. I have a SQL database table with 2 columns (float datatype e.g 1,2 1,3 1,4 etc.) which are bound to a DataGrid . XAML code: <Collect...
more »

2017-03-17 14:03 (1) Answers

VB.NET: xml childnode count is not right

I have programmed in VB since VB-DOS, but I'm just getting started with processing XML Files. I've learned a lot, but I am having a problem with one aspect that I can't seem to overcome. I'm running loops through child nodes at different levels, but...
more »

2017-03-14 22:03 (3) Answers

VB.Net LINQ equivalent of SQL

I have inherited a database that I can't modify and need join/grouping results from the 2 tables (without any foreign key). Table A (Adjuster) Adjuster_Rec INT, Adjuster_Name VARCHAR(100), Adjuster_FK_Market_Rec INT, Adjuster_Active BIT Table F...
more »

2017-03-12 06:03 (0) Answers

database identity column not working

I am creating a database application in vb.net. I have set an identity column(is identity = true) in visual studio. However when I run my application no identity column is recognized. Where am I going wrong? My connections string is : "Data Sourc...
more »

2017-03-06 00:03 (2) Answers

X-Frame-Options Deny not working at all

i tried many ways to deny X-Frame-Options for disable to load iframe from my website but no success. via http header: <meta http-equiv="X-Frame-Options" content="deny"> javascript: <script type="text/javascript"> if ( window.self !=...
more »

2017-03-05 10:03 (1) Answers

Change uploaded file name asp.net mvc

I have such i big problem, i need to change the user uploaded file name, to some hash name, that build from the row fields of this table: The upload proccess is clicking on the image glyphicon and then "Edit" button: after this modal opens: My ...
more »

2017-03-04 14:03 (2) Answers

Not like operator not work in DataView RowFilter

Hi I searched the web and found the example at DataView RowFillter like operator. I need to get away some data in vb.net. But it seems the filter didn't work. Would someone show me how to do it. The column name is TypeStr and I don't want to show any...
more »

2017-03-04 00:03 (1) Answers

Comparing object with Nothing in vb.net

I have a code Dim drQues As DataRow = dtQuestion.AsEnumerable() .First(Function(uqno) uqno.Field(Of Int32)("uniqueqno") = drqno("uniqueqno")) I want to check if drQues is Nothing I tried If Not drQues <> Nothing THEN but it...
more »

2017-03-03 11:03 (1) Answers

Write web pages contents to text file

I am used to VBA but I never tried VB .NET and I need to get the text from 2 web pages to a text file. This is the code I am using, but I am having problems! What changes do I have to do to make it work? Public mIE As Object Public arrText(1) As Str...
more »

2017-03-01 18:03 (1) Answers

How to display Date?

I want to display date from table in like this: Feb 2017 -24, 25 Feb 2018 -26 I have values in table: 02/24/2017 02/05/2017 03/31/2017 04/15/2017 02/11/2017 02/25/2017 04/29/2017 i want out put: Feb-2017 : 04,05,24,25 March-2017 : 31 ...
more »

2017-02-16 05:02 (1) Answers

Check for an empty csv file in HTTP location

I am trying to follow Determine if file is empty (SSIS) to see if the file is empty at the HTTP location. I cant download it to begin with as the process is stuck at source and wont let my package finish. All I want to do is to query to source file, ...
more »

2017-02-13 17:02 (2) Answers

data is not updating in database asp.net

Did not find any error but data is not updating in database and displaying error on first load is There is no row at position 0 and data displaying in gridview below. But when load from menu data is displaying in textbox's. Update Button Cod...
more »

2017-01-29 06:01 (3) Answers

Error when clicking to data grid empty cell

I want to pass the value of data grid cell into labels when I click the dg cell. Dim rowview as datarowview rv = datagrid1.selecteditem Label1.content = rowview.row(0).tostring() It successfully pass the value to my label but every time I clic...
more »

2017-01-28 11:01 (0) Answers

Speech Recognition in SQL Database VB.net

I have an SQL Database application and I want to incorporate a voice search feature. I already know how to search the database but I don't know how I can make a grammar for my database. Here's my code so far. Dim WithEvents reco As New Recognition.S...
more »

2017-01-28 00:01 (0) Answers

RSA Decryption Issue .Net

I got Bad Key Error when trying to decrypt with Private key. Encrypted content encrypted with my public key. Please help me to resolve the issue. Error Occurred: Bad Key. The below are my code: Public Function RSADecryptCer(ByVal encryptedString A...
more »

2017-01-21 10:01 (0) Answers