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

.NET (Core and Framework)

 
GeneralRe: Managing paper-like forms in .NET . Pin
devboycpp7-Sep-09 7:52
devboycpp7-Sep-09 7:52 
GeneralRe: Managing paper-like forms in .NET . Pin
Not Active7-Sep-09 8:10
mentorNot Active7-Sep-09 8:10 
GeneralRe: Managing paper-like forms in .NET . Pin
devboycpp7-Sep-09 8:02
devboycpp7-Sep-09 8:02 
GeneralRe: Managing paper-like forms in .NET . Pin
Not Active7-Sep-09 8:09
mentorNot Active7-Sep-09 8:09 
GeneralRe: Managing paper-like forms in .NET . Pin
devboycpp7-Sep-09 8:23
devboycpp7-Sep-09 8:23 
GeneralRe: Managing paper-like forms in .NET . Pin
Not Active7-Sep-09 8:57
mentorNot Active7-Sep-09 8:57 
GeneralRe: Managing paper-like forms in .NET . [modified] Pin
devboycpp7-Sep-09 9:43
devboycpp7-Sep-09 9:43 
GeneralRe: Managing paper-like forms in .NET . Pin
Not Active7-Sep-09 10:44
mentorNot Active7-Sep-09 10: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 10:59
devboycpp7-Sep-09 10:59 
GeneralRe: Managing paper-like forms in .NET . Pin
devboycpp7-Sep-09 10:35
devboycpp7-Sep-09 10:35 
QuestionTableAdapter query parameter taken from config file Pin
LordZoster6-Sep-09 22:15
LordZoster6-Sep-09 22:15 
AnswerRe: TableAdapter query parameter taken from config file Pin
Henry Minute7-Sep-09 5:00
Henry Minute7-Sep-09 5:00 
GeneralRe: TableAdapter query parameter taken from config file Pin
LordZoster7-Sep-09 5:09
LordZoster7-Sep-09 5:09 
GeneralRe: TableAdapter query parameter taken from config file Pin
Henry Minute7-Sep-09 5:18
Henry Minute7-Sep-09 5:18 
QuestionError Crystal "report has no table" in asp.net Pin
devlop6-Sep-09 20:11
devlop6-Sep-09 20:11 
AnswerRe: Error Crystal "report has no table" in asp.net Pin
The Vikash!25-Sep-09 4:22
The Vikash!25-Sep-09 4:22 
Questiongames in .Net Pin
yashwant vaishnav6-Sep-09 3:24
yashwant vaishnav6-Sep-09 3:24 
AnswerRe: games in .Net Pin
harold aptroot6-Sep-09 3:31
harold aptroot6-Sep-09 3:31 
AnswerRe: games in .Net Pin
Abhijit Jana6-Sep-09 4:11
professionalAbhijit Jana6-Sep-09 4:11 
GeneralRe: games in .Net Pin
Luc Pattyn6-Sep-09 8:21
sitebuilderLuc Pattyn6-Sep-09 8:21 
GeneralRe: games in .Net Pin
Henry Minute6-Sep-09 9:20
Henry Minute6-Sep-09 9:20 
GeneralRe: games in .Net Pin
Luc Pattyn6-Sep-09 9:42
sitebuilderLuc Pattyn6-Sep-09 9:42 
GeneralRe: games in .Net Pin
Henry Minute6-Sep-09 10:06
Henry Minute6-Sep-09 10:06 
GeneralRe: games in .Net Pin
Luc Pattyn6-Sep-09 10:21
sitebuilderLuc Pattyn6-Sep-09 10:21 
GeneralRe: games in .Net Pin
Henry Minute6-Sep-09 10:56
Henry Minute6-Sep-09 10: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.