Click here to Skip to main content
16,012,025 members
Home / Discussions / Database
   

Database

 
GeneralRe: data migration Pin
Colin Angus Mackay27-Aug-06 21:54
Colin Angus Mackay27-Aug-06 21:54 
QuestionDATE query Pin
JGOnline27-Aug-06 1:16
JGOnline27-Aug-06 1:16 
AnswerRe: DATE query Pin
Keith Malwitz27-Aug-06 6:44
Keith Malwitz27-Aug-06 6:44 
GeneralRe: DATE query [modified] Pin
Colin Angus Mackay27-Aug-06 12:54
Colin Angus Mackay27-Aug-06 12:54 
AnswerRe: DATE query Pin
Colin Angus Mackay27-Aug-06 12:57
Colin Angus Mackay27-Aug-06 12:57 
AnswerRe: DATE query Pin
Eric Dahlvang28-Aug-06 3:10
Eric Dahlvang28-Aug-06 3:10 
GeneralRe: DATE query Pin
JGOnline28-Aug-06 5:58
JGOnline28-Aug-06 5:58 
Questionproblem with FindBy method Pin
b2r26-Aug-06 11:58
b2r26-Aug-06 11:58 
Hi all,first sorry if my english in bad

I'm working on a small project for university and I'm using C#.net with sql server 2005(I'm pretty new with both of them ) .creating database and adding data was ok, BUT I've got stuck in "finding and editing" section I'm using MSDN help and walkthroughs.
I used tabaleAdapter for adding rows and for locating and editing I tried to use FindBy method and as I mentioned its not working, heres the problem:

I used [this]tutorial (I'm having the first situation!) and tried to do like whats said in there! so heres my code:

0:
1:csmDataSet.T_MemberRow membersRow1 = csmDataSet1.T_Member.FindByID(1212);
2:membersRow1.F_Name = ("john");

the first error occured in the first line saying : " csmDataSet1 does not exist " I solved this problem with adding another line before the other two (line 0):

csmDataSet csmDataSet1 = new csmDataSet();

I'm not sure if it was a right descision to use this code.

second problem(the MAIN problem!) occured in line 2 after adding this line
it says:

Title:NullRefrenceException was Unhandled

->Object reference not set to an instance of an object.


I should mention that a record with ID=1212 exist in the table but in autos window the value for membersRow1 is Null, I tried some other methods like beginEdit(),IsNull and.. the all have the Error And Ive searched the net and some forums but I couldnt find a solution although I think it should be A basic problemm!!
the membersRow1 object is already created I have no idea whats the reason for this error!


I'm in a short of timee and it's driving me nutss , I'd really appreciate it if anyone could help me with this problem, Thankyou for Your Patience thanks in advance for ur replies.
QuestionCan you do distributed transactions across processes? Pin
trevstar26-Aug-06 5:01
trevstar26-Aug-06 5:01 
QuestionDataset VS Datagrid Pin
TheJudeDude26-Aug-06 4:24
TheJudeDude26-Aug-06 4:24 
AnswerRe: Dataset VS Datagrid Pin
Colin Angus Mackay26-Aug-06 6:08
Colin Angus Mackay26-Aug-06 6:08 
GeneralRe: Dataset VS Datagrid Pin
TheJudeDude26-Aug-06 6:11
TheJudeDude26-Aug-06 6:11 
GeneralRe: Dataset VS Datagrid Pin
Keith Malwitz26-Aug-06 6:58
Keith Malwitz26-Aug-06 6:58 
GeneralRe: Dataset VS Datagrid Pin
TheJudeDude28-Aug-06 5:46
TheJudeDude28-Aug-06 5:46 
QuestionTyped dataset with cascade delete using TableAdapter Pin
JensB26-Aug-06 3:01
JensB26-Aug-06 3:01 
AnswerRe: Typed dataset with cascade delete using TableAdapter Pin
Keith Malwitz26-Aug-06 6:33
Keith Malwitz26-Aug-06 6:33 
GeneralRe: Typed dataset with cascade delete using TableAdapter Pin
JensB26-Aug-06 7:23
JensB26-Aug-06 7:23 
GeneralRe: Typed dataset with cascade delete using TableAdapter Pin
Keith Malwitz26-Aug-06 14:41
Keith Malwitz26-Aug-06 14:41 
QuestionBack up Pin
Disis25-Aug-06 22:20
Disis25-Aug-06 22:20 
QuestionDeleting columns from DataTable Pin
Vipul Mehta25-Aug-06 20:52
Vipul Mehta25-Aug-06 20:52 
AnswerRe: Deleting columns from DataTable Pin
Keith Malwitz26-Aug-06 6:39
Keith Malwitz26-Aug-06 6:39 
Questionwhat query can I use here? Pin
kozu25-Aug-06 14:13
kozu25-Aug-06 14:13 
AnswerRe: what query can I use here? Pin
Sgn_Flex26-Aug-06 2:07
Sgn_Flex26-Aug-06 2:07 
AnswerRe: what query can I use here? Pin
mr_lasseter26-Aug-06 4:45
mr_lasseter26-Aug-06 4:45 
QuestionUsing mslab to set sql 2005 cache dependency - ed invalid Pin
LuluSailor25-Aug-06 14:11
LuluSailor25-Aug-06 14:11 

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.