No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi to all I used standard item in binding navigator such as add and save button. How can I modified the code for add records button like if the user press this button then insert to my database and for the save button to save in my database. I already … |
|
Hi, i am new to c#. i write a code as below.You see that i obtained columnname and dataType but How can i get size of field in Table ? Pls help me. foreach(DataColumn dc in ds.Tables[UpdateTableName].Columns ) { lFound = false; cNewName = dc.ColumnName; cNewType = dc.DataType.ToString(); Thanks a … |
|
I have a one textbox on the form and combo1 in datagridview when form is load combo1 is empty if value of text1.text is 'A' then combo1 should have below items. combo1.Items.Clear(); combo1.Items.Add("Director"); combo1.Items.Add("MD"); combo1.Items.Add("President"); combo1.Items.Add("Chairman"); combo1.Items.Add("FullTimeDir"); and if value of text1.text is 'B' then combo1 should have below values. … |
|
Re:
I have a problem in these code as the error message show that the m1 and 2 is unassigned local variables [CODE]using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { Console.WriteLine("Enter th number "); int x= int.Parse(Console.ReadLine()); RomNo(x); Console.ReadLine(); } static void … |
|
Re:
I am using C# 2005 and SQL Server Express 2005. My table "PreRegistration" has a field named "FormNo" of data type smallint. In my dataentry form, i need to display the next available FormNo in the text box. The program should find the last alloted FormNo, add 1 to it … |
|
hi, i am using datagridview on a form [binding with datasource] when i Add/Modify data in grid and if i don't move to next row in the grid then Add/Modify is not possible Why this happens ? pls guide me. Thanks in advance. |
|
How can i Hide/shows columns in datagridview runtime ? I have a window application form with a comboBox and a grid. As according to selection in comboBox Items, I want to hide or show datagridview columns as according to combobox item selection |
|
i used bindingnavigator as usercontrol. Adds two button for Add,Delete. when i put this control on form, i cannot write into click event of bindingnavigator's buttons but i can write code into controls buttons pls help me for the same |
|
i am using a binding navigator as usercontrol having add,delete buttons my problem is that i can not write into click event of add button on the form but i can wirte into click event of usercontrol so pls help me how can i write code in click event of … |