Click here to Skip to main content
15,881,709 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionOpen a pdf file in browser Pin
NarVish21-Nov-11 1:09
NarVish21-Nov-11 1:09 
AnswerRe: Open a pdf file in browser Pin
Morgs Morgan22-Nov-11 21:07
Morgs Morgan22-Nov-11 21:07 
GeneralRe: Open a pdf file in browser Pin
NarVish22-Nov-11 21:32
NarVish22-Nov-11 21:32 
GeneralRe: Open a pdf file in browser Pin
Morgs Morgan22-Nov-11 21:49
Morgs Morgan22-Nov-11 21:49 
GeneralRe: Open a pdf file in browser Pin
NarVish22-Nov-11 23:20
NarVish22-Nov-11 23:20 
GeneralRe: Open a pdf file in browser Pin
Bernhard Hiller23-Nov-11 3:00
Bernhard Hiller23-Nov-11 3:00 
Questionproblem in deployement on iis 7.5 Pin
uspatel20-Nov-11 23:54
professionaluspatel20-Nov-11 23:54 
AnswerRe: problem in deployement on iis 7.5 Pin
Matt U.21-Nov-11 4:44
Matt U.21-Nov-11 4:44 
GeneralRe: problem in deployement on iis 7.5 Pin
uspatel23-Nov-11 1:44
professionaluspatel23-Nov-11 1:44 
Questionto retrieve userid & name Pin
sk_ko20-Nov-11 17:00
sk_ko20-Nov-11 17:00 
AnswerRe: to retrieve userid & name Pin
Morgs Morgan22-Nov-11 21:21
Morgs Morgan22-Nov-11 21:21 
QuestionNewbie Question multiple computers Pin
David C# Hobbyist.20-Nov-11 11:07
professionalDavid C# Hobbyist.20-Nov-11 11:07 
AnswerRe: Newbie Question multiple computers Pin
thatraja24-Nov-11 19:17
professionalthatraja24-Nov-11 19:17 
GeneralRe: Newbie Question multiple computers Pin
David C# Hobbyist.26-Nov-11 3:44
professionalDavid C# Hobbyist.26-Nov-11 3:44 
QuestionA control/script for image manipulation Pin
VictorSotnikov20-Nov-11 7:50
VictorSotnikov20-Nov-11 7:50 
QuestionHow to crypt my URL Pin
TRAORE cheickna20-Nov-11 5:15
TRAORE cheickna20-Nov-11 5:15 
AnswerRe: How to crypt my URL Pin
Morgs Morgan22-Nov-11 21:37
Morgs Morgan22-Nov-11 21:37 
Questionto import all tables Pin
sk_ko19-Nov-11 19:27
sk_ko19-Nov-11 19:27 
AnswerRe: to import all tables Pin
jkirkerx19-Nov-11 20:22
professionaljkirkerx19-Nov-11 20:22 
QuestionWorking with cached DataTables ? Pin
devboycpp19-Nov-11 6:47
devboycpp19-Nov-11 6:47 
AnswerRe: Working with cached DataTables ? Pin
jkirkerx19-Nov-11 19:16
professionaljkirkerx19-Nov-11 19:16 
Questiondata source problem with web control Pin
rachel_m19-Nov-11 6:05
rachel_m19-Nov-11 6:05 
AnswerRe: data source problem with web control Pin
jkirkerx19-Nov-11 19:29
professionaljkirkerx19-Nov-11 19:29 
GeneralRe: data source problem with web control Pin
rachel_m20-Nov-11 8:43
rachel_m20-Nov-11 8:43 
GeneralRe: data source problem with web control Pin
jkirkerx20-Nov-11 9:10
professionaljkirkerx20-Nov-11 9:10 
I've never used linq, but I know it's popular in India, where I see hundreds of linq questions. I stopped binding controls years ago, because of certain side affects that occur during deployment. Keep in mind that I've been doing this for over 10 years now, so I use a direct connection to the sql connector.

Never the less, It is a quality solution. I looked up the documentation on the control binder, and that was the correct use of binding a select statement with more than 1 column to request,

Select new(column1, column2),
Where column1 = 'blah',
Tablename = "Att",
Update = True,
Insert = True,
Delete = True,

I remember reading, to use the Update = True, in which I assume that the control will automatically generate Update, insert and delete SQL commands for you, you just have to make a button, give it a name and id, and click on it to generate a function in code behind, then you can use code behind to attach to the linq control, and perform your operation.

Sample Update command
UPDATE Att (column2='blah') WHERE Column1=56;

I think you had an Identity Question as well, that is an automatic increment to the first column, which is usually an id of the record number, that is indexed in the table. Each time you add or insert a record, the Identity will calculate the next id number to use, and automatically insert that number into the column of the new record.

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.