Click here to Skip to main content
15,919,879 members
Home / Discussions / C#
   

C#

 
General.socket problem Pin
snouto14-Jul-05 19:02
snouto14-Jul-05 19:02 
Generalcreating and adding namespaces to your project library Pin
Agyeman14-Jul-05 18:34
Agyeman14-Jul-05 18:34 
GeneralRe: creating and adding namespaces to your project library Pin
Dave Kreskowiak15-Jul-05 3:58
mveDave Kreskowiak15-Jul-05 3:58 
GeneralNavigation... Pin
lovelylooney14-Jul-05 16:42
lovelylooney14-Jul-05 16:42 
GeneralRe: Navigation... Pin
Christian Graus14-Jul-05 17:19
protectorChristian Graus14-Jul-05 17:19 
GeneralRe: Navigation... Pin
lovelylooney14-Jul-05 17:43
lovelylooney14-Jul-05 17:43 
GeneralRe: Navigation... Pin
Christian Graus14-Jul-05 17:55
protectorChristian Graus14-Jul-05 17:55 
GeneralRe: Navigation... Pin
lovelylooney14-Jul-05 18:13
lovelylooney14-Jul-05 18:13 
I am creating a View(BrowseShip) and filling it in a dataset.

string sSQL = "Create VIEW BrowseShip AS SELECT A.CUST_CustomerICA, A.CUST_CustomerName..."

ds1 = new DataSet();

da1 = new SqlDataAdapter(sSQL, con);
da1.Fill(ds1, "BrowseShip");

And in MovePrevious click of button I am trying to do the below which actually throws the error...

this.BindingContext[this.ds1,"BrowseShip"].Position =
this.BindingContext[this.ds1, "BrowseShip"].Position - 1;
this.da1.Update(this.ds1);

I am not setting current position any where. I dont know anything abt navigation in .NET. In VB6 it was very simple...


Thanks in advance

Looney
GeneralRe: Navigation... Pin
oleman10814-Jul-05 18:38
oleman10814-Jul-05 18:38 
GeneralRe: Navigation... Pin
lovelylooney14-Jul-05 20:18
lovelylooney14-Jul-05 20:18 
GeneralRe: Navigation... Pin
oleman10815-Jul-05 0:18
oleman10815-Jul-05 0:18 
GeneralRe: Navigation... Pin
Christian Graus17-Jul-05 12:55
protectorChristian Graus17-Jul-05 12:55 
GeneralRe: Navigation... Pin
lovelylooney23-Jul-05 20:16
lovelylooney23-Jul-05 20:16 
GeneralRe: Navigation... Pin
Christian Graus24-Jul-05 12:57
protectorChristian Graus24-Jul-05 12:57 
GeneralPassing generics to non generic classes Pin
David Wengier14-Jul-05 15:25
David Wengier14-Jul-05 15:25 
GeneralRe: Passing generics to non generic classes Pin
Werdna15-Jul-05 6:55
Werdna15-Jul-05 6:55 
GeneralLoading Sound Help Pin
Member 167611414-Jul-05 13:16
Member 167611414-Jul-05 13:16 
GeneralRe: Loading Sound Help Pin
Christian Graus14-Jul-05 13:37
protectorChristian Graus14-Jul-05 13:37 
GeneralRe: Loading Sound Help Pin
14-Jul-05 15:15
suss14-Jul-05 15:15 
GeneralRe: Loading Sound Help Pin
Christian Graus14-Jul-05 15:19
protectorChristian Graus14-Jul-05 15:19 
GeneralRe: Loading Sound Help Pin
14-Jul-05 15:55
suss14-Jul-05 15:55 
GeneralRe: Loading Sound Help Pin
Christian Graus14-Jul-05 16:04
protectorChristian Graus14-Jul-05 16:04 
Generalauto-resizing componets Pin
Sasuko14-Jul-05 13:09
Sasuko14-Jul-05 13:09 
GeneralRe: auto-resizing componets Pin
Dan Neely15-Jul-05 2:22
Dan Neely15-Jul-05 2:22 
GeneralWindows Forms Pin
quiquex14-Jul-05 11:23
quiquex14-Jul-05 11:23 

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.