how to show data at DATAGRID using data enviroment? [HELP need to show to my boss soon...]
-
-
I have link my SQL in my data enviroment on running some procedure. But how can i should those SQL result at my data grid?? i have set data resource to my data enviroment but when i run it, it was blank..?? only the Column title but data was blank..?
-
I have link my SQL in my data enviroment on running some procedure. But how can i should those SQL result at my data grid?? i have set data resource to my data enviroment but when i run it, it was blank..?? only the Column title but data was blank..?
have you checked you table contents ? data is blank or not ? and in dataenvironment->go to connection->test connection IT IS NOT AS IMPORTANT AS WHETHER YOU SUCCEED OR FAIL BUT WHAT IMPORTANT IS THAT YOU TRY YOUR BEST. SO ALWAYS TRY AT YOUR LEVEL BEST
-
post the code where your binding the data to the datagrid. Sounds like you've assigned the data source but never bind it. Or the data source is sending you no data.
no code all in properties. DATAGRID properties i set: DATAsource: dataenvoriment1 datamember: command1 when i try to retrieve, yes the column title data show out. when i try to run it suppose the datagrid will show some data but it's blank. About my SQL is correct cause b4 that i use ADODC1 to link to datagrid and show the data show correctly. but when i try to use dataenviroment it not showing data out.
-
have you checked you table contents ? data is blank or not ? and in dataenvironment->go to connection->test connection IT IS NOT AS IMPORTANT AS WHETHER YOU SUCCEED OR FAIL BUT WHAT IMPORTANT IS THAT YOU TRY YOUR BEST. SO ALWAYS TRY AT YOUR LEVEL BEST
-
what kind of command you are using for retrieving data ?
IT IS NOT AS IMPORTANT AS WHETHER YOU SUCCEED OR FAIL BUT WHAT IMPORTANT IS THAT YOU TRY YOUR BEST. SO ALWAYS TRY AT YOUR LEVEL BEST
-
no code all in properties. DATAGRID properties i set: DATAsource: dataenvoriment1 datamember: command1 when i try to retrieve, yes the column title data show out. when i try to run it suppose the datagrid will show some data but it's blank. About my SQL is correct cause b4 that i use ADODC1 to link to datagrid and show the data show correctly. but when i try to use dataenviroment it not showing data out.
-
when the datagrid is needing to be displayed you'll need to execute the data command and bind the data to the datagrid. IE...
DataGrid1.DataSource = dataenvoriment1 DataGrid1.DataMember = command1 DataGrid1.DataBind()