Posts

Sort data in DataRepeater

i'm doing software in windows forms using datarepeater list data stored in database. question is: it's possible sort data in datarepeater?, give me example of how it? tried using not work... string query = (@"select * tbl_cxc order user_name"); sqlcommand command = new sqlcommand(query, conn); ps: excuse bad english did not find answer in spanish forums. hi, what trying do? mitja Visual Studio Languages  ,  .NET Framework  >  Visual C#

Can I add my custom code handling in Azure API Management

can add custom .net code in azure api management, e.g. have library authentication , other important stuff can able add request , if fine call respective api rather default api management authentication? you cannot add custom .net code in azure api management. can implement logic using policy expression: https://docs.microsoft.com/en-us/azure/api-management/api-management-policy-expressions . do click on "mark answer" on post helps you, can beneficial other community members. Microsoft Azure  >  Azure API Management

Selecting Records (Data Grid/View?) Based on Current Values of Loop Iteration

struggling how dynamically select records view or record set based on values of current loop iteration. specifically, how code portion commented out after 'foreach (datarow dr in de.rows)' statement below: namespace otcs_algorithm {     public partial class form1 : form     {         public form1()         {             int maxentity;             int maxclaims;             int inc = 0;                                    string connectionstring = @"provider=microsoft.ace.oledb.12.0;data" ...

Resource Management SharePoint 2016

hi, since removal of group work lists, can offer advice on best method of resource management within sharepoint 2016 calendar? in sharepoint 2010 (and 2013 if activated legacy views) create group calendar book meeting rooms , equipment accordingly.  this feature no longer available within sharepoint 2016 wish do. if offer advice of guidance on best method achieve this, appreciated. i using sharepoint server 2016 on premises. thank you  regards bev hi, here 1 solution reference. go below path , find webtemp xml file, find “group work site" , update hidden="false", create 'group work site'. c:\program files\common files\microsoft shared\web server extensions\16\template\1033\xml here thread reference( it’s sharepoint 2013 tested on sharepoint 2016). https://www.codeproject.com/articles/588685/reservationplusofplusresourcesplusinplussharepoint best regards, lee please remember mark replies answers if help. if hav...

svcutil

Image
hi all,         i'm starting studying wcf , svcutil can used generate classes connect given wcf service: including service contract, wcf client  , data contract (all in single file). there way make each class generated on single file? thinking having client accessing several services uses common contracts (sharing same class).  if try to   import generated code client these services have conflicts, won't i?  thanks lot!     ps: sorry if question not clear. please let me know , i'll try to formulate better...            unfortunately there no way let svcutil generate different files each class. and, if want svcutil generate existing types instead of new types, can try use /reference option: svcutil.exe <servicepath> /reference types.dll Archived Forums A-B  >  ...

Overridde Datagridview col Strings

Image
hi guys,  i read xml file display data in col[0] this: config0 config1 config2 config3 config4 config5 ..etc.. form file. i want display  in gui, this: config1 config2 config3 config4 config5 config6 but when write file, want write original text. how can override datagridview col cells string?? please me, thank you. hi linguini_french , if want show config1~config6 in datagridview, can simple modify override dgv column[0]’s value. and never change xml file , needn’t write file . for example, code below: dataset ds = new dataset(); ds.readxml(@"d:\test\a.xml"); (int = 1; <= ds.tables[0].rows.count; i++) { ds.tables[0].rows[i - 1][0] = "config" + i; } datagridview1.datasource = ds.tables[0]; please correct me if misunderstood. regards, lisa zhu [msft] msdn community support | feedback us ...

assign a button in a User control as Default button (Accept button)

hello all, i have user control 1 command button , text fields.  , have make command button default button/accept button execute codes whenever user press enter key on user control.  how can that...i not seeing accept button property on user control.. i on .net 2 thanks in adv.. hi each form has acceptbutton property , cancelbutton property.  whichever button assign acceptbutton property "pressed" when user hits enter key , whichever assign cancelbutton property "pressed" when user hits esc key.   note when assign button cancelbutton property, dialogresult property set cancel default.  this means if esc key pressed or cancel button clicked, form's dialogresult property set cancel, closed automatically and, if called using showdialog, function return cancel.   when assign button acceptbutton property, dialogresult property unchanged.  if want form close automatically when clicked, should set it's dialogr...