No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
First of all u get the all required rows and columns from the Database to a DataSet using DataAdapter. Then here by using the DataBind Property of the Gridview u can bind to the Gridview, that will automatically add columns and rows. And in future if u want to add …
Use, instead "Window.Print()" Method. Hope it helps u. Sorry, it will work only for the Web Application. And if ur application is an web app then use it in onclick event of any button. It will work.
For this kind of problems, i hav a solution. Instead of Creating the Object for Form2 in Form1, u create that Object Globally in Program.cs and Use every where Program.<object>.<Controll Name>, which will work fine. Hope it will Help U.
Better, after getting the values from the database, U copy the Dataset into another dataset. Now delete the Column values of ID from this Dataset and give to the DataSource. When Passing to the Textboxes based on the Selected Row Text in the Gridview, search the relavent values in the …
U have to use one more option that is Connection, if it is Windows Authentication U have to Use, [CODE]MyServer = new Server(SName[i]); MyServer.ConnectionContext.LoginSecure = true; MyServer.ConnectionContext.Connect();[/CODE] or if the Mode is Sql Server Authentication, then u have to give, [CODE]ServerConnection Conn = new ServerConnection(SName[i]); Conn.LoginSecure = false; Conn.Login = …
[QUOTE=kheddy;1488129]I'm new to C#.I have created a MySQL database. My problem now is to get the data from the database tables into text boxes and or combo boxes in window forms(visual studio 2010),allow for editing and send the edited values back to the database. if I select the account_no(primary_key field)...the …
use [CODE]purposecb.Items.Clear()[/CODE] property for every time u r setting the datasource property of the combobox. Hope it will Help U. Regards Kalyan
[QUOTE=Arjun_Sarankulu;1486818]I have generated a utility to take a csv file and dump the data from csv to database. The utility is working fine. Now i want to add the categatory in the combo box which will come dynamically Due to categorised value the data will go in the respective table …
I have written to take Backup of any database automatically, at any time given by the user in config file. It's working fine, now i wish to take the Backup of a certain database which was already taken Backup previously for the next time. Any help.[CODE] private void FrmRestoreBackup_Load(object sender, …
The End.
akshintlakalyan