Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for tirso

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 …

Member Avatar for Pradip sarma
1
2K
Member Avatar for Naik Dhiren

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 …

Member Avatar for mostnour
0
2K
Member Avatar for Naik Dhiren

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. …

Member Avatar for Naik Dhiren
0
94
Member Avatar for Egypt Pharaoh

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 …

Member Avatar for ddanbe
0
161
Member Avatar for Eager_Beever

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 …

Member Avatar for Eager_Beever
0
87
Member Avatar for Naik Dhiren

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.

0
66
Member Avatar for Naik Dhiren

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

Member Avatar for Ramy Mahrous
0
161
Member Avatar for Naik Dhiren

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

Member Avatar for Ramy Mahrous
0
87
Member Avatar for Naik Dhiren

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 …

Member Avatar for Ramy Mahrous
0
62