Click here to Skip to main content
15,889,096 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Managing paper-like forms in .NET . Pin
devboycpp7-Sep-09 6:52
devboycpp7-Sep-09 6:52 
GeneralRe: Managing paper-like forms in .NET . Pin
Not Active7-Sep-09 7:10
mentorNot Active7-Sep-09 7:10 
GeneralRe: Managing paper-like forms in .NET . Pin
devboycpp7-Sep-09 7:02
devboycpp7-Sep-09 7:02 
GeneralRe: Managing paper-like forms in .NET . Pin
Not Active7-Sep-09 7:09
mentorNot Active7-Sep-09 7:09 
GeneralRe: Managing paper-like forms in .NET . Pin
devboycpp7-Sep-09 7:23
devboycpp7-Sep-09 7:23 
GeneralRe: Managing paper-like forms in .NET . Pin
Not Active7-Sep-09 7:57
mentorNot Active7-Sep-09 7:57 
GeneralRe: Managing paper-like forms in .NET . [modified] Pin
devboycpp7-Sep-09 8:43
devboycpp7-Sep-09 8:43 
GeneralRe: Managing paper-like forms in .NET . Pin
Not Active7-Sep-09 9:44
mentorNot Active7-Sep-09 9:44 
This is where Linq to SQL adds elegance to the solution.

Given FormValues is the LinqToSQL representation of your table in which you store the huge array of 130 values.

string value = FormValues.SingleOrDefault(e => e.Name == fieldName);<br />
form[fieldName] = (value == null) ? "Some default" : value;


devboycpp wrote:
Is it right majesty


Don't be an ass


only two letters away from being an asset

GeneralRe: Managing paper-like forms in .NET . Pin
devboycpp7-Sep-09 9:59
devboycpp7-Sep-09 9:59 
GeneralRe: Managing paper-like forms in .NET . Pin
devboycpp7-Sep-09 9:35
devboycpp7-Sep-09 9:35 
QuestionTableAdapter query parameter taken from config file Pin
LordZoster6-Sep-09 21:15
LordZoster6-Sep-09 21:15 
AnswerRe: TableAdapter query parameter taken from config file Pin
Henry Minute7-Sep-09 4:00
Henry Minute7-Sep-09 4:00 
GeneralRe: TableAdapter query parameter taken from config file Pin
LordZoster7-Sep-09 4:09
LordZoster7-Sep-09 4:09 
GeneralRe: TableAdapter query parameter taken from config file Pin
Henry Minute7-Sep-09 4:18
Henry Minute7-Sep-09 4:18 
QuestionError Crystal "report has no table" in asp.net PinPopular
devlop6-Sep-09 19:11
devlop6-Sep-09 19:11 
AnswerRe: Error Crystal "report has no table" in asp.net Pin
The Vikash!25-Sep-09 3:22
The Vikash!25-Sep-09 3:22 
Questiongames in .Net Pin
yashwant vaishnav6-Sep-09 2:24
yashwant vaishnav6-Sep-09 2:24 
AnswerRe: games in .Net Pin
harold aptroot6-Sep-09 2:31
harold aptroot6-Sep-09 2:31 
AnswerRe: games in .Net Pin
Abhijit Jana6-Sep-09 3:11
professionalAbhijit Jana6-Sep-09 3:11 
GeneralRe: games in .Net Pin
Luc Pattyn6-Sep-09 7:21
sitebuilderLuc Pattyn6-Sep-09 7:21 
GeneralRe: games in .Net Pin
Henry Minute6-Sep-09 8:20
Henry Minute6-Sep-09 8:20 
GeneralRe: games in .Net Pin
Luc Pattyn6-Sep-09 8:42
sitebuilderLuc Pattyn6-Sep-09 8:42 
GeneralRe: games in .Net Pin
Henry Minute6-Sep-09 9:06
Henry Minute6-Sep-09 9:06 
GeneralRe: games in .Net Pin
Luc Pattyn6-Sep-09 9:21
sitebuilderLuc Pattyn6-Sep-09 9:21 
GeneralRe: games in .Net Pin
Henry Minute6-Sep-09 9:56
Henry Minute6-Sep-09 9:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.