5
Answers

How to give Padding for Datagrid

Issac Abraham

Issac Abraham

12y
1.9k
1
im using a DataGrid and i kept "Auto" for DataGridTextColumn
but 2nd column data is very near to 3rd column data..
it seems like both are combined....so i would like to give some padding 10px right to columns...
so that some difference will be there between each columns ...

can anyone help me ?
Answers (5)
0
tejal bhesaniya

tejal bhesaniya

NA 53 13.2k 12y
SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[YourTable]') if it exist then it will display the result,,,with table name ,,,tpe and everything
0
Naresh Avari

Naresh Avari

NA 811 1.6m 12y
Select your database and open new query window and

EXEC sp_tables @table_type = "'table'"


0
Jignesh Trivedi

Jignesh Trivedi

NA 61k 14.2m 12y
hi,

there are two tables sys.tables and sys.objects, in which data base maintain table information
please try.

select * from sys.tables where name = 'Table1'

select * from sys.objects where type = 'U' and type_desc = 'USER_TABLE'


hope this will help you.