hi ........ i'm a new ASP.Net programmer and i want to know how to pass parameters between pages, such as login information.
Mr Cooper
Posts
-
pass parameters between pages -
XP Look of Applicationhi ... this can only be acheived on non-XP systems if all controls on ur application are built by hand (don't use .Net controls). u can find bunch of them here. Mr.Cooper
-
CurrentCellChanged event !!!!!!!!!!!!!!first u have to change the selected row u can do this by accessing the SelectedRowIndex. Mr.Cooper
-
GridYou can use any solution of the follows: 1.make all textBoxes in form2 Public (not private), and then from from1 you can access all textBoxes in form2-the OK button now is just used to close the form. 2.You can create an array(public in form2) of length=the number of textBoxes u have in form2 and the OK button fills this array then closes the form, then from form1 you can access this array.
-
How create a form with 4 panels in the same areau can use the Control.BringToFront() and Control.SendToBack() ,within the designer, functions to get access to any control. Mr.Cooper
-
Don't display form iconyou can change the type of the frame of ur forms to fixedDialog. i hope this helps
-
i got stuckup with my first C# programhi ... first of all u should add the path of the .Net framework to ur system variables (environment variables -> PATH). to create an exe file u should ask for this in the command u r using to compile the code sample ... to know the exact syntax of all options u can use with CSC , write "csc /?" (of coursr without the double qoutes). i hope this helps.
-
saving and retrieving image dataAs a work around u can save the path to the images which will reduce the size of the db and also reduces the effort to handle images in sql. i hope this helps.
-
DataGrid sortinga dataGrid.SelectedRowIndex gives information about the selected row from the grid which corresponds to the same row in the table that the grid is bound to. this is only true if data on the dataGrid is sorted as this of the sourceTable, ...how can i find the correct RowIndex if the user sorts the grid in a different way then select any row (in this case the SelectedRowIndex will not match the one in the sourceTable form the dataSet). if there is a way to figure this out, or work around ... please tell me. thanx
-
Fax Modem !!!!!!!!hi everybody ........ i'm trying to do connect between 2 computers through the PSTN and send files bet. them, here is the required procedure: 1.comp1 calls(by user) comp2(which is waiting for call all the time). 2.when comp2 recieves the call, it sends(auto) a file to comp1 3.when the file is recieved the call should be ended(auto). so can any one help,because i dont know how to start. Is there any api's for hyperterminal that i can use, or can i configure hyperterminal to do such sequence,or ????? please if anyone know anything that would help, please help me as soon as possible. thanx.
-
Batch fileshi ... i'm trying to execute some DOS commands from a windows application, i'm doing this by writing these commands to a batch file then execute this file. what i need is a way to capture the feedback messages from the command prompt, for example when i write (VOL C: ) on the prompt the drive (c: ) information are passed to the user ... is there is any way to catch this message. thanx
-
Ms Access Ques.does any one know a good tutorial for writing modules for MS Access thanx Mr.Cooper
-
MS Access Problem ????hi ... can anyone help me plz ... i'm trying to generate reports on MS Accesss and i'm trying to add a textBox to the report header and when binding this textBox to a column from those the report is displaying, i have an error message indicaing that "GROUP BY Clause is no allowed in subqueries", when i tried to bind it to another query (using the expression builder) i found that the data displayed on this textBox is corrupted (Always displayes the string "#Name?")which i don't know what it means plzzzzz if anyone can help or need more information contact meas soon as possible, thanx. Mr.Cooper
-
C# toVB.NET Conversionhi everybody ... is there any TRUSTED tool to convert c# code to vb.net code if there is ,please someone tell me thanx Mr.Cooper
-
ComboBox tooltipshi everybody ... is there any way to assign tooltips for combobox items when the it is expanded (dropped down) thanx Mr.Cooper Mr.Cooper
-
Time & DataGridGrid only views Date part of a datetime objects(Fields) ...is there any mean to view the time part only or even both date and time. thanx Mr.Cooper
-
Duration Field !!!!!!!!!How to represent duration (in hours:minutes:sec) in SQL knowing that there is no data type to hold time objects ... only datetime thanx in advance Mr.Cooper
-
DataGrid ProblemCan anyone help ... i'm developing an ADO.NET prog., here is a brief description : --dataSet X contains all tables. --dataSet Y : temp dataSet for filtering some table views (every search session Y is created and shipped with the chosen table(only one table) from X). --after the user build the search criteria (by entering some values for some columns or choosing predefined values for lookup columns)he clicks Accept. -- the Accept button deletes the dirty copy of the table (if exists),which may exists from a previous search session, then Copies another copy(clean one) of the table (original table copied at the start of search session) existing in (Y) and apply the filteration criteria by deleting those rows (from the second table) which does not match the search criteria. ****Important:When the user clicks Accept AGAIN the filtered table (in Y) is deleted and then copy a new one from the already existing one.*********** --after all filteration is done, a dataGrid (M) is bound to (Y) and the filtered table(second table). ********** PROBLEM ********** --when the user CHANGES the search criteria (by changing any value or adding new condition), he then presses Accept but (M)refuses to view the updated table. --note that the first time of search goes ok, but no further results are dispalyed correctly(the first search result lasts forever on M) if the search criteria changes even though the filtered table in (Y) has changed. **** Code **** AcceptButton() { layer1.ReloadTempTable(); for(int i=0;i
-
XP visual stylescan anyone please tell me how to make toolbars and menues looks like those of Windows XP, i managed to to repaint the form (Graphics g=this.CreateGraphics(); Brush paintingBrush=new LinearGradientBrush(this.ClientRectangle,Color.FromArgb(243,244,247), Color.FromArgb(239,236,213),0.0f); g.FillRectangle(paintingBrush,this.ClientRectangle); paintingBrush.Dispose(); g.Dispose();) but no paint events for menues or toolbars to override or backColor to set transparent please help. thnx Mr.Cooper C# beginner