Visual Basic .NET » Visual Basic .NET General Discussion
How do I make the selected Row of a datagrid display textbox
Using C#, VS2003 I need to turn all the columns in the selected row of a datagrid into textboxcolumns, as to give the user an obvious choice of inputing data via the keyboard. Anyone have any ideas?
Worksheet.Add
Does anybody know how to pass in the before and after parameters into the Excel.Interop Worksheets.Add function?
Up casting (base to derived) in C#
Hey All, I have a C# question for you regarding up casting (base to derived). I was wondering about the most elegant way (readable, less code) to cast from a base type to its derived type. Please consider the following two classes: class Base { private int m_valA; private int m_valB; public Base() { } public Base(int a, int b){ m_valA = a;
hi , help me plz
hi , i am tamimi i explain the project answer machin this project is answer machine in univercity when the student call the univercity get option when press 1 show mark , the student press 1 then enter the massege voice need student number and password if correct get the result of mark ..
Query in ASP.Net - Solution Required
Dear Team, I hv a task to display the last visited pages ie. there is one menu in my page called QuickReference.. if i click this it should display the last visited pages like if i visit 5 pages before clicking this Quick reference then i hv to disply those 5 pages in the descending order.. give me some ideas to implement this. Thanks in advance. Regards, Duraisamy -------------
Asp.net -IMPERSONATION
thanks ur very much peter sorry for menction the name in the previous mail. now on wards i use the group id only. Regards pavan(sayin)
DataGridView problem
solved... cross threa control update needs BeginInvoke/EndInvoke procedure. Thank you for your atttention Anton
VS 2003 + VS 2005
Hi All, Applications developed in VS 2003 and VS 2005 can not be run from same pool ! Can any one tell how many pools can we create ? Does pool require any specific settings for applications developed in VS 2003 or VS 2005 ? Raj
plz help me
hi tamimi, i cant get what u are asking. can u explain in detail what u mean exactly by "answer machine" balaji.
Need VB.NET FAQs - Pls...
Possibly only when I post from my Linux box at home? Peter -----Original Message----- From: DotNetDevelopment Re: Need VB.NET FAQs - Pls... Peter... why do I see "winmail.dat" attachment with every post of yours ? I guess it's something your newsreader sends along. ;-)
Simple hashing
Hello all, I'm using MD5 hashing in my application to give unique values to huge list of items my application receives, originally every item's name was difficult to use as an id for this item although its unique but because it had certain characters and variable lengths I ended up using MD5 hashing of the name. My question: is there a simpler way of doing hashing than MD5 which is 32bit but st
problem with reading values from datagrid in edit mode (c#,
i was databinding all the time , puting one single (if !isPostBack) fixed it lol sorry
problem with reading values from datagrid in edit mode (c#,
thanx guys for ur concern but the problem was only that i did not put a check on the pages databind :D , so it was databinding all the time..hence i could not read the edited values :D thanx neway
i want DOT NET MOK TEST PAPERS
i want DOT NET MOK TEST PAPERS - ROBIN --------------------------------- Find out what India is talking about on Yahoo! Answers India.
website search
LMAO ! "Foofle" ! Well, you'll be surprised that Google already thought of people like you mispelling it's name. So try going to "", and see where it takes you. Anyway see <> for the solution to your problem.
problem with reading values from datagrid in edit mode (c#,
are you pushing your new values back to your datasource, then rebinding the datagrid with the new data?
Copy process
no that doesnt work for me thanks for reply
insert row by row from tect box's to datagrid
Yes :) thanks
problem with reading values from datagrid in edit mode (c#,
hello when i read values from the editable row in my datagrid , it gives me back the original values that were displaying in the datagrid and NOT the value that I have changed in the textboxes (that show when the datagrids row is in editmode). it must be a tiny problem but icant seem to find wat exactly it is ..can neone give pull me out of this ???? thanx
Data grid view printing vb.net
Parag Yerawar wrote: Solved this problem now i can print datagridview data to print preview How did you solve the problem?
Reg: Dropdown in DataGrid
1. Is this a Windows forms application or Web application ? 2. Which version of VS is this ? The answers to these questions will decide the solution.
Obfuscation
Hi guys, Anyone knows of any free material on obfuscation, just to get started. Thanks Eric
Hash Table
Thank you peter
Regarding DatagridView
Hi All I am working Datagridview in windows application. I want KeyPress Event In a column Cell so that while editing I can validate the Value. How to add textbox control to a Datagridview in a existing Column, the column which display using Datasouse(Not to add a new Column). For example If i am assinging a dataset to the DatagridView. One of the column Salary in which i want add a text box to t
A Question About Multi-Thread
This might not be the best way to go about it, but you could loop through and test the Thread.IsAlive property. Something along the lines of bool ThreadAlive = true; while(ThreadAlive) { ThreadAlive = false; for(int i = 0; i < 256; i++) { ThreadAlive = ThreadAlive || threadArr.IsAlive(); } Thread.Sleep(0); //Placed in to free up the processor } //will rea
Reg: Dropdown in DataGrid
Hello , i am facing a big problem from last two days.....can anybody help me out. i am using infragistics datagrid.i have a requriement like.....i want to show datagrid one column as a dropdown(values are OK/NOT OK) and in that same column some cells are textboxes...... so i have to show Dropdown and textboxes in the same column in different cells according to some validations.....
Reg:dropdown in DataGrid
Hello , i am facing a big problem from last two days.....can anybody help me out. i am using infragistics datagrid.i have a requriement like.....i want to show datagrid one column as a dropdown(values are OK/NOT OK) and in that same column some cells are textboxes...... so i have to show Dropdown and textboxes in the same column in different cells according to some validations.....
can u help me
thanks a lot
GridView Not Working - NO DATA
Firstly, is the returned DataSet pointing to anything? Secondly, if it is pointing to anything, does that anything contain any data? And BTW, you don't need to close the connection. If you're using a DataAdapter, the connection is closed automatically when the adaptor is filled. Peter -----Original Message----- From: DotNetDevelopment on behalf of dba123 Sent: Mon 7/17/2006 4:44 PM To: DotN
singletone in .NET
Well, then : This is a good article on it <> Also <> Alternatively run a search for "singleton class vb.net" in Google. You'll get tons of results.
connection problem with procedure
Plz explain ur problem Amit, -----Original Message----- From: TechdotNetIndia connection problem with procedure hi all i m facing problrm woit open connection in proedure.
How we handel error in stored procedure
Thanks ST Sreetharan. -----Original Message----- From: TechdotNetIndia Re: How we handel error in stored procedure Hi Lalit You can do this very easily, SQL Server is having a global variable called @@error, by checking the value of this variable, you can check this variable you can find whether any error occured or not. Here I am providing a template of this. CREATE PROCEDURE <
Need help
Its not too terribly different. When you "build" your project, it creates the necessary dlls and .exe in the bin directory of your application. There is no longer a specific button for "making an executable". Just put together your forms, and select build.
datagridviewlinkcell
Thanks for suggetion...
Retrieving attachments from pop3
i'm developing pop3 mail browser application in asp.net i'm able to retreive everything like from, subject, date, size..etc but i'm finding difficulty in retreiving attachment. so please anybody can help me regarding this. it is urgent. so pls send ASAP thanks in advance tucks
Dataview & data grids - setting the value of a drop down. -
Sorted! after binding - i will loop through the datatable and set the value then For Each objLineItem In grdReturn.Items objDropdown = objLineItem.FindControl("cboreason") objDropdown.SelectedValue = ReturnDT.Rows(I).Item("Reason") I = I + 1 Next
Dataview & data grids - setting the value of a drop down. -
hi, if i use the code i will hopefully explain it better. Dim ReturnDV = New DataView(ReturnDT) ReturnDV.Sort = ("BinLocation ASC") grdReturn.DataSource = ReturnDV grdReturn.DataBind() All the textboxes and labels in the grid get poulated with the values but nothing gets selected in the dropdown list i have in he grid. Do i need to do it some other way? Thanks
Dataview & data grids - setting the value of a drop down. -
Hi, I have a data table which contains data that i want to display in a data grid. In the datagrid one of the columns is a dropdownlist. From this datatable i create a dataview which i am setting as the datsource of grd. The rows are poulating fine for me except that the 'selectedvalue' i have for the dropdownlist is being picked up. Do you know if it is possible to do this? Many Thanks
Hello Doubt in ASP.NET
I have two textboxes both are normal textboxes. In first textbox(html servercontrol) I displayed text as user name and in second textbox(webserver control) I have displayed text as password. When I click on username text box then the TextBoxMode of second textbox should be changed to password mode i.e it should now display ******. Can any one suggest me how to do that. Regards, Sunil
Decimals in C#
I think it's simply because C# defines the >= operator on Decimal, while Visual Basic defines the op_GreaterThanOrEqual operator. The same code converted to VB will work. In any case, this is legacy VB, so you should use the Compare method as Peter suggested.
hide title bar
Even if this can be done, the purpose of doing it would, at best, be dubious. Please elaborate on *why* you are trying to hide the title bar.
Upgarded from vb6 to visual studio 2005
I took the code off the network drive, placed on my c:\ drive declared the frmsplash and frmlogin as new frmsplash and frmlogin and here I do not get the "System.TypeInitializationException was unhandled" error nor the sub main killing the applicaiton. Just get errors because of the ado statements. So, I copied the Module1 code into a new project created two blank forms (frmSplash and
About MCAD Certification
---------- Forwarded message ---------- From: shyam sundar <shyam638> Date: Jul 13, 2006 6:34 PM Subject: Re: About MCAD Certification To: TechdotNetIndia can any one help me. iam planning to write mcad exams paper no 70-315 please sugested me which book is good for preperation and where i get meterials On 7/12/06, Hariharan <hariharan.net> wrote: Hi Can anyone let me know t
70-320 Exam
Hi Group, Really I am confused as to which book shouold i refer for the 70-320 exam. Truly speaking , MS Self placed TK is not sufficent for this. Can any1 please tell me which are the good resources and books to clear this tough exam. Thanks and Cheers Deo
Basic Problem
Dunno about VB 2005, but the IDE options can be accessed through the Tools -> Options menuitem. In there, look for something like "Editor" or "Text Editor"
Set Resource Limit
What's this got to do with DotNet ?
C# .NET 2.0
If you want to maintain the information after postback on a single page I would recommend using ViewState. It works the same as Joe uses Session above. If you want to maintain the value across multiple pages, Session is what you need to use.
Blink the text in a window application
Bharathi wrote: Hi, How can I get a blinking text for a lable. Iam working in a window appln using framework 2.0 and VS 2005. Thanks in advance, Bharti Kumar. U can use Timer control for that private void timer1_Tick(object sender, EventArgs e) { if (label1.ForeColor == System.Drawing.Color.Black) label1.ForeColor = System.Drawing.Color.Anti
Strange behavior of my application
Hi friends I am facing a problem. i have a grid where some links are available like addnew, edit delete. On click of these links i open different pages in iframe that placed in edit item templetes of this grid. when i click on these links, at the first time it will show me the pages in iframe. but then after it will stop to show me there pages. Interesting is now, when i run this project in d
Type Initializer
I am consuming a web service and get the following error. The type initializer for &quot;AppName.WebServices.Security.UserTokenIssuer&quot; threw an exception. the error occurs at the following line of code: auth.Login(credentials); Any responses to this ASAP are greatly helpful. Thanks, Vijay

[Page 1] [Page 2]
Home