blah blah blah is here! blah blah » Close

0
votes
1 answers

How to hide the ID column in the data grid, But I can able to get it if user click and sort

Hello! I have write a following code to display the fields of my choice in dataGrid. What, I want to do is to hide the ID column of COUNTRY table in the dataGrid. So it should not appear to user. But, what else I want to do is to get the ID ...

0
votes
0 answers

Rows are not insert in datagrid.. Please Help...

Hi. I want to insert data grid using datatable and define the grid columns in a program. Please help me what`s wrong with this code??? [code] SqlConnection connection; string query; SqlCommand cmd; SqlDataAda ...

0
votes
1 answers

Object reference not set to an instance of an object

Hi! Kindly tell me what`s wrong with this code. I am inserting data in data base using two input fields EndValueTextBox and StartValueTextBox . I am receiving following error. "Object reference not set to an instance of an object ...

0
votes
1 answers

Generate C# Class Code for Table in Visual Studio

Hi Friends! I have multiple tables in my Server Explore database file. I want to generate auto code of Classes for tables, so all classes with their attributes, constructor and getter setter methods automatically generate. Kindly tel ...

0
votes
1 answers

incorrect syntax near 'FROM'

Hi friends kindly tell what wrong with this code. I am getting "incorrect syntax near 'FROM'" Error or Exception message. [code] // SQL Sever Express Data Base Connection System.Data.SqlClient.SqlConnection con ...

Feedback