Is there a way to modify/add to the list of file extensions that ResXFileCodeGenerator recognizes as text files?
I'm on a project where the (DB2) queries are all accessed through resource files. I have a visual studio add-on that gives me editor support (color coding, etc) for working with DB2 queries when editing text files with the db2 extension.
The problem is that the ResXFileCodeGenerator doesn't recognize these files as being text files, so when I add them to the resource, they get returned as byte arrays.
I'm well aware that there are other, better ways to manage these queries, but I have to stay with the design that's already in place.
At this point all I want to do is make ResXFileCodeGenerator recognize files with a .db2 extension as text, so the ResourceManager will return them as strings.
Grim MCDBA, MCSD, MCP+SB
SELECT * FROM users WHERE clue IS NOT NULL
(0 row(s) affected)
I have a big size xml dom.
Each node has lots of sub node and each subnode has lots of child sub nodes.I want to read,validate and save this xml data to database.
How can i count a transaction while save xml data to database.
So I made a datagridview, table adaptor, dataset, etc and it's all working fine. I can view data perfectly but I can't save it. I tried doing this: Me.TerritoryTableAdapter.Adapter.Update(Me.TerritoryDataSet.Territory)
But it just says I need a DeleteCommand or UpdateCommand, etc. I'm using the ODBC driver for MySQL if it makes a difference. Please help
You must provide, or have autogenerated, the update, insert and delete commands so the DataAdapter can determine which one to call. You may know that you are only updating a record but to the DataAdpater there could inserts and deletes that need to be done also.
Create them youself. If you have complex statements the autogenerated ones aren't usually as efficient as ones you would create manually. Besides that, you should be using stored procs rather than manual sql statements.
Could anyone please help me with hiding the task bar when application runs. I did that with some code. But when I run another process from a button click, the task bar reappears. I want to disable the windows button too..
I am a beginner
Last Visit: 31-Dec-99 19:00 Last Update: 23-Feb-24 8:29