Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
Generalretreiving metadata information of s database Pin
padvit9-Feb-05 18:10
padvit9-Feb-05 18:10 
Generalwebservice needed for sending sms from web 2 mob Pin
iramg9-Feb-05 17:48
iramg9-Feb-05 17:48 
GeneralRe: webservice needed for sending sms from web 2 mob Pin
S. Senthil Kumar9-Feb-05 19:25
S. Senthil Kumar9-Feb-05 19:25 
GeneralRe: webservice needed for sending sms from web 2 mob Pin
Dave Kreskowiak10-Feb-05 5:14
mveDave Kreskowiak10-Feb-05 5:14 
GeneralProblem calling Matlab from ASP.net Pin
malcolmmc9-Feb-05 16:53
malcolmmc9-Feb-05 16:53 
QuestionHow to get Messages When Clicking CheckBox in DataGrid? Pin
pubududilena9-Feb-05 16:25
pubududilena9-Feb-05 16:25 
AnswerRe: How to get Messages When Clicking CheckBox in DataGrid? Pin
Gleb Belov9-Feb-05 22:13
Gleb Belov9-Feb-05 22:13 
Generalupdating an edited Datalist to an Access DB Pin
fortyonejb9-Feb-05 16:17
fortyonejb9-Feb-05 16:17 
i seem to be having problems and can't find anywhere which explains this situation well. basically i have a datalist where currently the user can change the first name of the "member" so when they click on edit the textbox comes up to handle that. now i'm stuck on the update portion. heres what i have, i think i'm way off... help!

<br />
                        public void Update_User(object sender, DataListCommandEventArgs e)<br />
		        {<br />
                        <br />
string txtCustFirstNameEdit = ((TextBox)e.Item.FindControl("txtUserFirstNameEdit")).Text;<br />
			string UserKey = userList.DataKeys[e.Item.ItemIndex].ToString();<br />
			<br />
			//check to see if i have the correct key, it is posting correctly<br />
                        message.Text = UserKey;<br />
			<br />
			<br />
                        //Conenction string hidden, but correct<br />
			OleDbConnection userListConnection = new OleDbConnection(@"Provider....);<br />
<br />
			StringBuilder custUpdateBuild = new StringBuilder();<br />
			custUpdateBuild.Append("UPDATE custInfo SET custFirstName = ('");<br />
			custUpdateBuild.Append(txtCustFirstNameEdit);<br />
			custUpdateBuild.Append("') WHERE ID= ('");<br />
			custUpdateBuild.Append(UserKey);<br />
			custUpdateBuild.Append("')");<br />
			string oleUpdateString = custUpdateBuild.ToString();<br />
			OleDbCommand userUpdateCommand = new OleDbCommand();<br />
			userUpdateCommand.CommandText = oleUpdateString;<br />
			userUpdateCommand.Connection = userListConnection;<br />
			userListConnection.Open();<br />
			userUpdateCommand.ExecuteNonQuery();<br />
			userListConnection.Close();<br />
<br />
			userList.EditItemIndex = -1;<br />
			userList.DataBind();<br />
}<br />


also should i be using the dataset at all? any help would be appreciated.
Big Grin | :-D
Questioncan we use two diffrent namespaces Pin
nagarajuepuri9-Feb-05 15:53
nagarajuepuri9-Feb-05 15:53 
AnswerRe: can we use two diffrent namespaces Pin
Dave Kreskowiak9-Feb-05 17:11
mveDave Kreskowiak9-Feb-05 17:11 
General[Resolved] Pin
nagarajuepuri10-Feb-05 6:16
nagarajuepuri10-Feb-05 6:16 
GeneralRe: [Resolved] Pin
Dave Kreskowiak10-Feb-05 6:47
mveDave Kreskowiak10-Feb-05 6:47 
GeneralRe: [Resolved] Pin
Richard Parsons11-Feb-05 5:54
Richard Parsons11-Feb-05 5:54 
GeneralRe: [Resolved] Pin
TRekrap15-Feb-05 3:35
TRekrap15-Feb-05 3:35 
AnswerRe: can we use two diffrent namespaces Pin
Dariush Tasdighi11-Feb-05 6:38
Dariush Tasdighi11-Feb-05 6:38 
Generalretrieving images from access database Pin
Anonymous9-Feb-05 13:55
Anonymous9-Feb-05 13:55 
GeneralRe: retrieving images from access database Pin
Heath Stewart9-Feb-05 14:39
protectorHeath Stewart9-Feb-05 14:39 
GeneralGenerate a random number in a range... Pin
new_phoenix9-Feb-05 12:00
new_phoenix9-Feb-05 12:00 
GeneralRe: Generate a random number in a range... Pin
Christian Graus9-Feb-05 12:28
protectorChristian Graus9-Feb-05 12:28 
GeneralRe: Generate a random number in a range... Pin
new_phoenix9-Feb-05 13:59
new_phoenix9-Feb-05 13:59 
GeneralRe: Generate a random number in a range... Pin
Christian Graus9-Feb-05 14:13
protectorChristian Graus9-Feb-05 14:13 
GeneralRe: Generate a random number in a range... Pin
S. Senthil Kumar9-Feb-05 19:23
S. Senthil Kumar9-Feb-05 19:23 
GeneralRe: Generate a random number in a range... Pin
Stefan Troschuetz9-Feb-05 21:43
Stefan Troschuetz9-Feb-05 21:43 
GeneralRe: Generate a random number in a range... Pin
Stefan Troschuetz9-Feb-05 21:39
Stefan Troschuetz9-Feb-05 21:39 
GeneralActive directory 2003 and Exhange 2003 Pin
MarkusJ_NZ9-Feb-05 10:41
MarkusJ_NZ9-Feb-05 10:41 

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.