Welcome Guest! To enable all features please
Login or Register.
Hi guys. Please, tell me how to send a query to a header or a separate page from a new table? Type SELECT count(*) FROM NEW_TABLE WHERE Statistic = "1"
What am I doing wrong? Posted in YAF.Data.MsSql model ADO.NET EDM -> Code First from the database. Specified connection yafnet(YAF). Created a file with the function Functions.cs in which he indicated:
public static class Functions
public static string AccountsCount
using (CustomBase entity = new CustomBase())
int accountsCount = entity.ACCOUNTS_INFO.Count();
Then for the test indicated in the forum.ascx following:
<td><%# Functions.AccountsCount %></td>
After starting the application, I get:
Guys. Very much I ask, prompt where was mistaken. I am just learning...
- You cannot post new topics in this forum.
- You cannot reply to topics in this forum.
- You cannot delete your posts in this forum.
- You cannot edit your posts in this forum.
- You cannot create polls in this forum.
- You cannot vote in polls in this forum.