Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

[C#] SQL Table Generator [Snippet]

Here is a code that will generate a simple SQL table for you.
Spoiler (Click to View)

Use:
Make an array of the columns you want
Code
string[] columns = new string[] {"Username", "Password", "HWID", "Blah"};
GenerateQuery("TableName", columns, ref WhateverYouWantAsOutput);
Thanks, Might help me in one of my projects.
Useful snippet. Cheers. 🙂


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by еlixirSep 9, 2022 06:31 AM 0 132 Sep 9, 2022 06:31 AM
Last Post: еlixir
[Python] by datguy.devNov 28, 2019 10:37 PM 4 298 Nov 28, 2019 10:37 PM
Last Post: Eternal Darkness
[C#] by gigajewDec 1, 2018 05:55 PM 3 250 Dec 1, 2018 05:55 PM
Last Post: gigajew