hello there
i want to create a column in an existing table of my database using C# i mean in my window form 1 textbox and one button is there
i enter some text and clik on the button
then i creates a column named as i write in textbox
my database is sql server database .mdf file
help me out please
Loading

praveen mauryaPosted Jul 10, 2012, 6:26 AM
Jignesh TrivediPosted Jul 10, 2012, 3:48 AM
Please refer,
http://www.c-sharpcorner.com/uploadfile/mahesh/creatingdbprogrammaticallymcb11282005064852am/creatingdbprogrammaticallymcb.aspx
http://www.c-sharpcorner.com/Forums/Thread/42411/
hope this will help you.
Satyapriya NayakPosted Jul 10, 2012, 2:29 AM
Please refer the below links
http://stackoverflow.com/questions/1351651/how-to-use-c-sharp-to-add-a-column-for-a-table-of-sql-server
http://stackoverflow.com/questions/1569685/c-sharp-dynamically-add-columns-to-table-in-database
http://forums.asp.net/t/1788521.aspx/1
Thanks