Posts

Android Studio is giving me a weird error when I attempt to create a drawable resource file -

Image
क्या किसी को पता है कि ऐसा क्यों हो रहा है? मैंने डायरेक्टरी पर chown का उपयोग करने की कोशिश की, और वह अभी भी काम नहीं कर रहा है। त्रुटि पढ़ी: "केवल पढ़ने के लिए निर्देशिका में संशोधन नहीं किया जा सकता है" / opt / android-sdk / platform / android-21 / android जार! / एंड्रॉइड / ग्राफिक्स ''। कोई भी पृष्ठभूमि फ़ाइल नहीं है res में और यह अजीब लगता है कि ic_launcher.png एक निर्देशिका के रूप में दिख रहा है।

c# - Get the value of array in multidimensional-array in array -

How can I get the value of an array in a multidimensional array ... in another array? I want to get the value of the test in ascending order in the following code. I have a for and foreach loop, but when it comes to referencing an element of a multi-dimensional array then there are problems. [,] [] test string , New string [] {"test4", "test6", "test6"}}, {new string} ["test7", "test7", "test9"}, new string [] {"test10", "test11 "," Test12 "}}}, new string [] {{new string} [" test13 "," test14 "," test15 "}, new string [] {" test16 "," test17 "," test18 "} }, {New string} ["test19", "test20", "test21"}, new string [] {"test22", "test23", "test24"}}}}; (Int a = 0; a & lt; test.Count (); a ++) {foreach (var test [a]) {for (int ama = 0; ama & lt; am; count ();...

winapi - How to read multi line multi string registry entry in Visual C++? -

Image
I'm using Visual Studio 2008 I'm working in VC ++ MFC application I know how to read multi-line string values ​​registry.Here type REG_MULTI_SZ indicates a sequence of null-terminated strings, ends with an empty string (\ 0). By now I'm only able to read the first line. Let me know how I can read more than one string at a time. thanks I tried to do something like this HKEY hKey; CString RegPath = _T ("Software \\ ... \\ ... \\"); // path if (ERROR_SUCCESS == :: RegOpenKeyEx (HKEY_LOCAL_MACHINE, RegPath, 0, KEY_READ | KEY_ENUMERATE_SUB_KEYS | KEY_QUERY_VALUE | KEY_WOW64_64KEY, & amp; HKEY)) {DWORD nBytes, dwType = REG_MULTI_SZ; CString version; If (ERROR_SUCCESS == :: RegQueryValueEx (HKEY, _T ( "Options"), void, & amp; dwType, 0, & amp; nBytes)) {ASSERT (REG_MULTI_SZ == dwType); LPTIRR buffer = version Getbuffer (NBEIT / Size (TCHAR)); Verify (ERROR_SUCCESS == :: RegQueryValueEx (HKEY, _T ("options"), zero, 0, (LPBYTE...

jquery - fnGetData() undefined is not a function error -

मेरे पास निम्न कोड है: var jobtable = $ ('# editjobtable') ।विवरण सारणी(); $ ('Tr')। क्लिक करें (फ़ंक्शन () {var JobKey = jobtable.fnGetData (this); $ ('# mykey')। Val (JobKey [1]);}); मैं निम्नलिखित पुस्तकालयों का उपयोग कर रहा हूं: & lt; script src = "// code.jquery.com/jquery-1.11.0.min .js "& gt; & lt; / स्क्रिप्ट & gt; & Lt; script src = '// cdn.datatables.net/1.10.3/js/jquery.dataTables.min.js'></script> & Lt; script src = "// cdn.datatables.net/tabletools/2.2.1/js/dataTables.tableTools.min.js"></script> & Lt; script src = "https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" & gt; & lt; / स्क्रिप्ट & gt; & Lt; script src = "// cdn.datatables.net/plug-ins/725b2a2115b/integration/bootstrap/3/dataTables.bootstrap.js"></script> & Lt; script src = "/ javascript / mainscript.js" प्रकार = "टेक्स्ट /...

telerik - Kendo UI treemap json binding -

I am not trying to create a very simple Tremap (a hierarchy) using Datio UI, it's a datasource Providing some JSN data in It should be very straightforward and simple because it is a general use-case. & lt; Body & gt I tried this: I tried to do it: ; & Lt; Div id = "treemap" & gt; & Lt; / Div & gt; & Lt; Script & gt; Var data = [{name: "foo123", value: 10}, {name: "foo234", value: 20}]; $ ("# Treemap"). Candomenim map ({Datasource data, whale field: "value", textfield: "name"}); & Lt; / Script & gt; & Lt; / Body & gt; What am I missing? As stated in "Trepap is a sequence of hierarchies": Tremapping is a sequence of hierarchical data that uses a nested rectangle related to the size and color of each rectangle structure, so that you can easily identify trends and patterns Try adding a "root" level that wraps up your two elements: ...

c# - How to generate a treeview with group format? ( Letter that indicate the starting word ) -

Image
I am developing an ASP.NET website and there is a previewview to display countries that are stored in MYSQL DB Are there. I am using this code to bind the data in the tree view. dt_Record is a datat. Private Zero get_Countries () {try {dt_Record.Clear (); Dt_Record = objCommonMethods_Bll.Get_Countries (); If (dt_Record.Rows.Count! = 0) {foreach (DataRow dr in dt_record.rows) {TreeNode node = new triode (); Node Text = dr ["name"]. ToString (); Node Value = dr ["country_id"]. Toasting (); TvCountries.Nodes.Add (node); }}} Hold (exception) {throw; }} then it displays such countries But I want to display such countries. Can not click with group letter to easily identify initial letter. Do I get the format Can i do I did it using LINQ query but in my case I have a user Datasractor is but you can use the database in your scenario. This is my code: 1) I have created a class to use it as a table. public class country {public string name {ge...

hadoop - Error in loading hive -

I am new to pigeon and when I started the hive from the command prompt in windows ... I got the follwing error (Customer has no necessary privileges) Can anyone tell me why? Try sudo and try restarting the program