Click here to Skip to main content
15,889,200 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: SQL reporting services Pin
eyeseetee8-May-08 21:12
eyeseetee8-May-08 21:12 
QuestionHow to get checked radio button value in Radiobuttonlist Pin
chakran8-May-08 3:40
chakran8-May-08 3:40 
AnswerRe: How to get checked radio button value in Radiobuttonlist Pin
led mike8-May-08 4:18
led mike8-May-08 4:18 
GeneralRe: How to get checked radio button value in Radiobuttonlist Pin
chakran8-May-08 4:22
chakran8-May-08 4:22 
QuestionSearch a text in website... Pin
SamRST8-May-08 2:55
SamRST8-May-08 2:55 
AnswerRe: Search a text in website... Pin
eyeseetee8-May-08 3:05
eyeseetee8-May-08 3:05 
GeneralRe: Search a text in website... Pin
EvilInside11-May-08 20:03
EvilInside11-May-08 20:03 
QuestionGridview foreign key not required Pin
janis.baldwin8-May-08 2:51
janis.baldwin8-May-08 2:51 
I have a normalized relational database that will power an HR application. The problem arises when I attempt to edit a gridview row where the foreign key value is null and the foreign key is bound to a dropdownlist from a lookup table. It is null because it is not required; for example, the position description id is null because it hasn't been created/uploaded yet or a stateid is null because the person is from another country. Don't want to argue the issue of null foreign keys; sometimes it is logical to not be required. Problem is when the Edit button is clicked it causes this error: Object reference not set to an "instance of an object". I can "jury-rig" the database by putting a blank record in each "lookup" table then putting that key value in the foreign key fields of the appropriate table but that's a bad solution for several reasons. So does anyone have a good solution on how to handle this in ASP.NET C# (which I am learning)? In good ole classic ASP it was a cinch. A logical approach to my "newby .net" self is to write code that essentially says "if (database record) stateid is null then don't bind the drop-down control; else bind it". Thoughts please! Thanks.
AnswerRe: Gridview foreign key not required Pin
eyeseetee8-May-08 3:04
eyeseetee8-May-08 3:04 
GeneralRe: Gridview foreign key not required Pin
janis.baldwin8-May-08 3:15
janis.baldwin8-May-08 3:15 
GeneralRe: Gridview foreign key not required Pin
eyeseetee8-May-08 3:17
eyeseetee8-May-08 3:17 
Questionrss feed confusion Pin
eyeseetee8-May-08 2:36
eyeseetee8-May-08 2:36 
AnswerRe: rss feed confusion Pin
R. Giskard Reventlov8-May-08 3:30
R. Giskard Reventlov8-May-08 3:30 
QuestionASP.Net, XML Pin
Dot Net rookie8-May-08 2:23
Dot Net rookie8-May-08 2:23 
AnswerRe: ASP.Net, XML Pin
Christian Graus8-May-08 2:25
protectorChristian Graus8-May-08 2:25 
GeneralRe: ASP.Net, XML Pin
Dot Net rookie8-May-08 13:18
Dot Net rookie8-May-08 13:18 
GeneralRe: ASP.Net, XML Pin
Christian Graus8-May-08 14:03
protectorChristian Graus8-May-08 14:03 
QuestionAsp.net session state server - how to provide alternate tcpip? [modified] Pin
Kiran 26710488-May-08 2:17
Kiran 26710488-May-08 2:17 
GeneralHi Pin
Alamanda Prakash8-May-08 2:07
Alamanda Prakash8-May-08 2:07 
GeneralRe: Hi Pin
Burim Rama8-May-08 2:17
Burim Rama8-May-08 2:17 
GeneralRe: Hi Pin
Christian Graus8-May-08 2:20
protectorChristian Graus8-May-08 2:20 
GeneralRe: Hi Pin
eyeseetee8-May-08 2:21
eyeseetee8-May-08 2:21 
GeneralRe: Hi Pin
Abhijit Jana8-May-08 4:07
professionalAbhijit Jana8-May-08 4:07 
QuestionCalling Webservice throught Javascript Pin
lovedotnet8-May-08 1:59
lovedotnet8-May-08 1:59 
AnswerRe: Calling Webservice throught Javascript Pin
Christian Graus8-May-08 11:28
protectorChristian Graus8-May-08 11:28 

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.