Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:856661
More Search Options
RSS Available
Matching Posts
Best way to read this text file.
Hi. I am planning to make a small application in C# to convert the players from Football manager 2010 game into Fifa 10 game. I have this text file exported from FM: http://img200.imageshack.us/img200/7001/24677696.jpg I need to get the values of all collumns and ignore the separator lines. Also the first header is the collumn header and there could be empty lines after and before the table. What is the best way to read it? I pretend to read it line by line and manipulate the values line by line
Posted to
Getting Started
(Forum)
by
FCP_88
on 10/22/2009
Re: Best way to read this text file.
Thanks. I will test it and if i have problems i will post here. Edit: It works. I managed to read all the file correctly and to ignore the header and separator. Thanks.
Posted to
Getting Started
(Forum)
by
FCP_88
on 10/22/2009
call asp.net methods inside an html tag
It´s possible to something like this: <a href='<% Server.MapPath(~/); %>' /filename.ext </a>
Posted to
Getting Started
(Forum)
by
FCP_88
on 10/3/2009
set button id attribute using EVAL in Listview
Hi. In my book library application i have a listview with info about all the books in the db. In each item template i need to have a button so the user can ask for a loan of that book. I need to set the button id to the book_id so i know what book had been requested. I have tried with EVAL: <asp:Button runat="server" ID='<%# Eval("bookID")%>' Text="Solicitar Empréstimo" /> but there is this error: The ID property of
Posted to
Data Presentation Controls
(Forum)
by
FCP_88
on 10/3/2009
Re: Search by various fields in the database
Thanks everyone for the help.
Posted to
Getting Started
(Forum)
by
FCP_88
on 9/26/2009
Re: Search by various fields in the database
[quote] The easiest way is to use optional parameters: http://www.emxsoftware.com/Optional+Parameters+in+SQL+Server+Search+Queries (It was actually a programming question...) [/quote] It´s possible to do that with LINQ? I know i can call a Stored Procedure from Linq but would like to use directly in Linq. [quote] Hi FCP_88 , As far as I know. you can try to add control check box control for your logic search criteria. Then you can use the if clause for creating SQL query string. like the following
Posted to
Getting Started
(Forum)
by
FCP_88
on 9/24/2009
Re: Separate Business Logic and Linq2Sql
Thanks. I have implemented it that way and it works fine
Posted to
Architecture
(Forum)
by
FCP_88
on 9/22/2009
Search by various fields in the database
Hi. I am making a site for a fantasy online book library. I have a page for searching for books. In that page i have 3 textboxes (search by title, search by author and search by publisher). I want that if the user enters text only in author field it will only search by author but if the user enters text in author and title for example i want to searh the db by both fields. My question is: how can i see what fields where populated by the user? Of course i can make various if clauses (if(tbauthor
Posted to
Getting Started
(Forum)
by
FCP_88
on 9/22/2009
Separate Business Logic and Linq2Sql
Hi. I am making an aplication simulating a online book library just for training. I am using Linq2Sql to access to the db but i would like to separate my model from db access so i can use it independent of the DB access mode (Linq2Sql, Ado.net,EF etc) How can i do that? Even if create my business entities classes in causes confilcts with the Linq2SQL classes and also i wouldnt know how to pass my ojects to linq2sql and vice-versa. Suggestions?
Posted to
Architecture
(Forum)
by
FCP_88
on 9/17/2009
Tables inheritance
I have a database with a Person table that has fields like name,email etc and then i have specific tables like user,admin etc which "inherits" from person table. What is the best way for this with dynamic data. It is possible to join both tables in one to show in the frontend and then fires to different insert queries for both tables? I think this would be the best way.
Posted to
ASP.NET Dynamic Data
(Forum)
by
FCP_88
on 9/14/2009
Page 1 of 2 (19 items) 1
2
Next >
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online